> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rime.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Book a table at a restaurant

> Have Muse phone a restaurant with Prism and book a table within the times you allow.

Tell Muse where, when, and for how many. In this recipe, Prism calls the restaurant and books a table within the times you allow, and Muse tells you what was confirmed.

## What you'll need

* Rime Calls connected in Muse. If it isn't, [set it up](https://docs.rime.ai/docs/prism/muse.md) first.
* The restaurant's phone number.
* The times you'd accept, not just the one you want.
* A callback number. Most restaurants ask for one before they confirm.

## Ask Muse

Copy this into Muse and fill in the brackets:

```text wrap theme={null}
Call [restaurant] at [phone number] and book a table for [party size] on [day] at [time], under the name [your name]. [Time] or [backup time] is fine. My callback number is [your number].
```

More ways to ask:

> Call Luigi's Trattoria at (415) 555-0101 and book a table for 2 this Friday at 7pm for Sam Lee. 7 or 7:30 is fine. Callback (415) 555-0199.

> Call Sakura House at (415) 555-0102 and book a table for 5 on Saturday between 6 and 7:30, for Sam Lee. One guest uses a wheelchair, so ask for an accessible table. Callback (415) 555-0199.

> Call Luigi's Trattoria at (415) 555-0101 and ask if they have anything for 2 tonight after 8. If they do, book it. If they offer the bar or a waitlist, check with me first.

Muse shows you the call details and waits for your OK before it dials.

## How the call goes

1. Prism says it's an AI assistant calling for you, and that the call is transcribed.
2. It asks for a table at your preferred time.
3. If that time is taken, it accepts another time only if you listed it. Otherwise it says it'll check with you and passes the offer on.
4. It gives your name and callback number when the restaurant asks.
5. It says goodbye and hangs up, and Muse shows you the report.

## What you get back

| Result | What it means | What to do next |
| - | - | - |
| Done | The restaurant clearly confirmed a table at a time you allowed | The report has the time and the name |
| Partly done | Pencilled in, for example, but they'll confirm by text | The report says what's pending |
| Not done | No allowed time was free, or they needed a deposit or a card | The report lists the times they offered. Ask Muse to call back and take one. |
| Voicemail left or no answer | Nobody took the call | Restaurants answer best mid-afternoon, between lunch and dinner |

A booking counts as done only when the restaurant clearly confirms it.

## Tips

* **Give a range, not one time.** Prism can say yes only to times you allowed, so "7pm" alone means it declines 7:15.
* **Large parties often need a card.** Prism never gives payment details, so a booking that needs a deposit comes back to you as a next step.
* **Want a waitlist spot?** Say so in your request. Otherwise Prism declines it.
* **Dietary needs or an occasion?** Add them to your request. Prism mentions only what you've given it.

> [accordion] For developers: what Muse sends
>
> | Field | Example | Why it matters |
> | - | - | - |
> | `to` | `(415) 555-0101` | A US or Canadian business line |
> | `goal` | `Book a table for 2 this Friday at 7pm` | The one thing the call should achieve |
> | `on_behalf_of` | `Sam Lee` | Prism says it's calling for you, and books under this name |
> | `may_agree_to` | `7:00 or 7:30 pm Friday, party of 2, no deposit` | Any other time, a waitlist, or a deposit, Prism declines and brings back to you |
> | `context` | `Callback number: (415) 555-0199` | Prism never makes details up, so without a callback number the booking may not be confirmed |
> | `recipient_name` | `Luigi's Trattoria` | Who Prism expects to answer |

## Next steps

* [Move or cancel a reservation](https://docs.rime.ai/docs/prism/muse/move-or-cancel-reservation.md) when plans change.
* [Book a haircut](https://docs.rime.ai/docs/prism/muse/book-a-haircut.md) the same way.
* [Troubleshooting](https://docs.rime.ai/docs/prism/muse.md#troubleshooting), if Muse can't place the call.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.