Skip to main content

Create and Implement a Book on Calendar Tool for AI Agents in Whippy

Create a booking tool and configure an AI agent to schedule meetings on a Cal.com calendar.

Maria Cairns avatar
Written by Maria Cairns
Updated this week

Why it matters

The book on calendar tool enables agents to schedule meetings directly during a conversation or call. This removes manual follow-up, reduces scheduling errors, and ensures bookings are created in real time. To work correctly, the tool must be created and explicitly enabled and referenced in the agent’s instructions.

Key Concepts

Book on Calendar Tool: A tool that creates a booking on a Cal.com calendar.

Cal.com API Key: A credential that allows Whippy to create bookings on your Cal.com account.

Event Type ID: A unique identifier for the Cal.com event type being booked.

Time Zone: The time zone used when creating the booking.

Step-by-Step: Set Up a Book on Calendar Tool

  1. Open Agents from the left-hand navigation.

  2. Click Tools.

  3. Select Create tool.

  4. Choose Book on calendar (Cal.com) as the tool type.

  5. Enter a Tool name.

  6. Optionally add a description.

  7. Click Save to open the tool configuration page.

Configure the Tool

  1. Review or update the Label.

  2. Add or edit the Description if needed.

  3. Confirm the Cal.com API key is populated. (Pre-filled if already configured for the organization.)

  4. Enter the Event type ID from your Cal.com event URL.

  5. Set the Time zone using the format Region/City. (For example, America/Los_Angeles.)

  6. Click Save to finish creating the tool.

Step-by-Step: Get an Agent to Use the Tool

There are two required parts: adding the tool to the agent and instructing the agent how and when to use it.

  1. Create and configure the book on calendar tool in the Tools section.

  2. Open Agents and select the agent you want to update.

  3. Click Edit agent.

  4. Scroll to the Agent instructions section.

  5. Add the book on calendar tool in the Select tools field so the agent has access to it.

  6. In the instructions text, explicitly name the book on calendar tool.

  7. Describe when the agent should create a booking.

  8. Define any rules or constraints, such as confirming availability before booking.

  9. Save the agent configuration.

Without both steps, the agent will not create calendar bookings.

Tips and Best Practices

  • Use the check calendar availability tool before booking to confirm open time slots.

  • Clearly define when the agent is allowed to book on behalf of a contact.

  • Set the correct time zone to avoid scheduling errors.

  • Avoid automatic bookings without explicit user confirmation.

Troubleshooting

Issue

Possible Cause

Fix

Booking fails

Invalid event type ID

Verify the ID from the Cal.com URL

Tool cannot create bookings

Missing or invalid API key

Reconnect the Cal.com integration

Booking time is incorrect

Time zone mismatch

Update the time zone setting

Agent does not book meeting

Tool not added or not referenced

Add the tool and name it in instructions

Did this answer your question?