# Book a slot with a calendar

URL: /en/docs/cookbook/use-cases/book-a-slot

A skill recipe that finds free slots in your calendar through an MCP tool, books the one the customer picks and schedules a reminder.



This recipe books appointments straight into your calendar. Your MCP tool needs actions to find free slots and create events.

**When to use**: the customer wants to book a service. Needs an [MCP tool](https://ecbot.dev/docs/agents/tools) for your calendar, here "Google Calendar".

## Steps [#steps]

1. **Ask**: the service and the day and time they prefer.
2. **Tool**: Google Calendar, action find\_free\_slots.
3. **Tell**: two or three free slots close to what they asked.
4. **If** the customer picks a slot:
   1. **Ask**: their name and phone number.
   2. **Tool**: Google Calendar, action create\_event.
   3. **Tell**: the booking summary.
   4. **Tool**: Schedule a follow-up, how: "remind them the day before".
5. **Else**:
   1. **Tool**: Hand off to staff.

## Ask your assistant [#ask-your-assistant]

> Create a skill "Book a slot". Use it when a customer wants to book. Ask the service and preferred time, check free slots with the find\_free\_slots action of my Google Calendar tool, offer two or three, and when they pick one ask name and phone, book it with create\_event, confirm, and schedule a follow-up to remind them. If nothing fits, hand off to staff.


## FAQ

### Which calendar tools work?

Any MCP tool with actions to list free time and create an event. Pick the actions in the Tool step.

### Who gets the reminder?

Schedule a follow-up makes the agent message the customer again later, here the day before the booking.

### What if no slot fits?

The Else branch hands the conversation to your staff so a person can arrange it.
