Blog · · 5 min read

Taking Restaurant Reservations by Phone with AI

Design a phone agent for restaurant reservations, covering what to ask, three ways to check availability, the call flow and handoff rules, with a config and tool handler.

Key points

  • A restaurant reservation call comes down to four details (date and time, party size, name and phone number), read back together at the end before anything is booked.
  • You can check availability by taking details and calling back, by looking at free time on a calendar, or by asking your reservation system's API, and the API is the right choice when availability depends on table counts.
  • Large parties, buyouts and allergy questions should go to staff rather than being answered by the agent.

Restaurant reservation calls are a good first job for a phone agent because the script barely changes: the agent collects date and time, party size, name and a phone number, then reads everything back. The real design decision is whether the agent checks availability during the conversation. If availability depends on how many tables are left, the agent should ask your reservation system's API mid-call.

What to collect

Four details make a reservation. Some restaurants add a seating preference.

Detail How the agent asks Watch out for
Date and time "What day and time would you like?" Relative phrases like "this Friday" or "next week at seven" need converting to an exact date and reading back
Party size "How many people will be joining?" Decide whether you count children separately
Name "What name should I put the reservation under?" Ask for spelling only if the host stand needs it
Phone number "What's the best number to reach you on the day?" Offering the caller ID number ("Is this number okay?") saves time
(Optional) Seating "Any seating preference?" Record it as a request, not a promise

Ask for date, time and party size first, because they decide availability. Collecting a name and number only to say "Sorry, we're full at seven" wastes the caller's time. For capturing numbers reliably, see structured data extraction from phone calls.

Three ways to check availability

Approach What you build Fits
Take details, call back Nothing beyond receiving results Low call volume, or staff want to decide
Look at free time on a calendar A tool that calls the calendar API Slot-based bookings: one party per slot, private rooms, counter buyouts
Ask the reservation system's API An in-call tool (an API endpoint) Availability depends on table counts and combinations

A calendar only knows whether a time is busy. It can't express "two four-tops left at 7pm." If your availability depends on covers and tables, build a tool that sends date, time and party size to your reservation system and returns what's open. The calendar approach is covered in booking into Google Calendar from a voice agent.

The call flow

  1. Greet the caller and make clear they're talking to an AI taking reservations.
  2. Ask for date, time and party size.
  3. Check availability (call the tool). If the slot is full, offer two or three nearby times.
  4. Ask for name and phone number.
  5. Read back date, time, party size, name and number together, and confirm.
  6. Create the reservation, only after the caller agrees.
  7. Close with how to reach the restaurant on the day and how to cancel.

Two or three alternatives, not more: callers can't hold a long list of times in their head over the phone. For how to phrase the read-back, see read-back confirmation.

When to hand off to staff

Some requests shouldn't be answered by the agent at all. Route these to a person or a callback:

  • Large parties, buyouts and set menus
  • Allergy and dietary questions
  • Running late or changing the party size on the day
  • "Can I talk to someone?"

An agent saying "that's fine" about a nut allergy is a mistake with real consequences. Give it FAQ answers only for things that are safe to state, like hours, parking and whether there's outdoor seating.

Doing this with voicast

In voicast you put the fields, FAQ and handoff conditions in the agent config, and check availability with an in-call tool (tools). Whether that tool asks your reservation system's API or reads free time from Google Calendar is up to the server that receives it. Here's an example config:

json
{
  "greeting": "Thanks for calling Harbor Kitchen. This is the AI reservation line. How can I help?",
  "persona": "Friendly restaurant host. Ask one thing at a time. Get date, time and party size first, check availability, then ask for name and phone number. Never answer allergy questions.",
  "fields": [
    { "key": "date_time", "label": "Date and time", "required": true },
    { "key": "party_size", "label": "Party size", "required": true },
    { "key": "name", "label": "Name", "required": true },
    { "key": "phone", "label": "Phone number", "required": true, "type": "phone" }
  ],
  "handoff_when": ["Party of 10 or more, buyouts or set menus", "Allergy or dietary questions", "Caller asks for a person"],
  "closing": "You're all set. We look forward to seeing you.",
  "faq": [{ "q": "Opening hours", "a": "We're open 11am to 10pm, last orders at 9:30pm. Closed Tuesdays." }],
  "domain": "restaurant reservations",
  "tools": [
    {
      "name": "check_tables",
      "description": "After getting date, time and party size, check whether a table is available",
      "url": "https://saas.example.com/voicast/tools/check-tables",
      "parameters": {
        "properties": {
          "datetime": { "type": "string", "description": "ISO 8601 date and time in the restaurant's timezone" },
          "party_size": { "type": "integer", "description": "Number of guests" }
        },
        "required": ["datetime", "party_size"]
      }
    }
  ]
}

A field with "type": "phone" is checked as a Japanese number (10 or 11 digits starting with 0), and the agent asks again if it doesn't fit. For callers outside Japan, use a plain text field instead.

When the agent calls the tool, voicast sends a signed POST to url in the Standard Webhooks format and waits up to 8 seconds. Your handler verifies the signature, asks the reservation system, and returns JSON:

ts
import express from 'express';
import { Webhook } from 'standardwebhooks';

const wh = new Webhook(process.env.VOICAST_TOOLS_SECRET!); // whsec_… (one per environment)
const app = express();

app.post('/voicast/tools/check-tables', express.raw({ type: 'application/json' }), async (req, res) => {
  let body: any;
  try {
    body = wh.verify(req.body.toString('utf8'), req.headers as Record<string, string>);
  } catch {
    return res.status(401).end();
  }
  const { datetime, party_size } = body.arguments;
  const restaurant = body.call.tenant.external_id; // which restaurant this call is for
  const slots = await reservations.findTables(restaurant, datetime, party_size); // your reservation system
  res.json({ available: slots.length > 0, nearest: slots.slice(0, 3) });
});

Keep the response small. It goes straight to the model, so whether there's a table and a few nearby options is all it needs. If you also want to cover calls when the restaurant is closed, see after-hours call answering.

FAQ

Can I start without a live availability check?

Yes. Collect date, time, party size, name and number, and close with "We'll check availability and call you back." No in-call tool is needed; you get the results through the API and webhooks and staff call back.

Can the agent handle cancellations too?

Yes. It finds the reservation by name and phone number, reads it back, and cancels only after the caller confirms. You need find and cancel tools on your reservation system's or calendar's API, with confirm: true on the cancel tool.

What about guests calling to say they're running late?

Late arrivals usually need a judgment call from the floor, so capture it as the reason for the call and notify staff right away. Sending the post-call summary to Slack or Teams makes sure the host stand sees it.

Related posts