Browse the docs

Agent setup guide

Cal.com Cancellation Rebook

When an attendee cancels a Cal.com booking, a short “want to find another time?” email with your booking link goes out once you approve.

Available About 5 min to set up

What it does

When an attendee cancels a Cal.com booking, a short “want to find another time?” email with your booking link goes out once you approve.

  • Starts when a Cal.com booking is cancelled; ones you cancelled and reschedules are skipped.
  • AI writes a short email inviting the attendee to pick a new time with your booking link.
  • Every email waits for your approval in Reviews.
  • Code checks it goes to the attendee's own email and has no placeholders, then Gmail sends it.

What it needs

  • A paid plan (agents run live on paid plans).
  • An AI provider key (Settings → AI Providers).
  • Cal.com (cloud) with an API key from Settings → Developer → API keys.
  • Gmail, connected in Settings → Integrations.

What it doesn't do

  • It never books, moves or cancels a booking.
  • It doesn't propose specific times.
  • Not instant: cancellations are checked every few minutes.

Availability and plans

Available

Its workflow is built and tested, and every app it needs is live. You can get it and set it up now.

Included free on the Enterprise plan; on other paid plans it's a one-time purchase per workspace (the price is on the Agents page). The Agents page in the app always shows its current status.

Before you start

  • A paid plan: agents run live, and the Free plan only runs Dry Runs.
  • An AI provider key (OpenAI, Anthropic, Google and more) in Settings → AI Providers. AI usage is billed by your provider.
  • These apps, connected in Settings → Integrations: Cal.com and Gmail.
  • The app it watches, connected in Settings → Integrations (the agent starts from an app event).
  • About 5 minutes.

Set it up step by step

Get the agent first (buy it, or it's already yours when your plan includes it), then in Agents → My agents press “Set up this agent”. That creates the agent's workflow in your workspace (it counts towards your plan's workflow limit) and opens the canvas with a setup checklist above it. Each item links to the exact place to go and ticks itself off when it's done.

1. Connect your AI provider

The AI steps run on your own key (OpenAI, Anthropic, Google and more). Add one in Settings → AI Providers.

2. Connect Cal.com

Connect Cal.com with an API key (Settings → Integrations → Cal.com).

3. Connect Gmail

Connect the Gmail account the email is sent from.

4. Pick Cal.com

Open the trigger and pick your Cal.com connection.

SettingWhat to enterIn step
Cal.com accountYour Cal.com connection (API key). Pick your connected Cal.com account.“Cal.com booking cancelled”

5. Your tone and link

Open “Write the rebooking email” and replace the placeholder.

SettingWhat to enterIn step
Your tone and booking linkReplace the placeholder with your name or business, tone, sign-off and booking link. It starts as “[YOUR NAME OR BUSINESS, YOUR TONE, YOUR SIGN-OFF AND YOUR BOOKING LINK (E.G. YOUR CAL.COM PAGE) FOR PICKING A NEW TIME]” until you replace it.“Write the rebooking email”

6. Pick Gmail

Open “Send it from Gmail” and pick the account.

SettingWhat to enterIn step
Gmail accountThe Gmail account the email is sent from. Pick your connected Gmail account.“Send it from Gmail”

7. Test it with Dry Run

Press Dry Run: the agent runs on sample data with no messages sent and nothing written to your apps.

8. Switch the trigger on

Open the trigger and click “Activate app trigger”: cancellations from then on start the agent.

How it works

The agent is a normal workflow with 12 steps (1 AI step, with a person approving in Reviews). You can open, edit and monitor it like any other workflow.

  • Cal.com booking cancelled — Starts on “Booking cancelled” in Cal.com (an app event). Starts when a booking is cancelled (not when it was rescheduled), checked every few minutes.
  • Cancelled by the attendee? — Step. In code: Cal.com says the attendee cancelled (the cancelling email is the attendee's own).
  • Attendee cancelled? — Decision: picks the branch to follow. Only bookings the attendee cancelled get a rebooking email; ones you cancelled are left alone.
  • Not cancelled by the attendee: nothing sent — Kept in the run history. Branch: You. You (or a teammate) cancelled it, or Cal.com didn't say who did.
  • Write the rebooking email — AI step (runs on your AI provider key). Branch: Attendee. AI writes a short, friendly email inviting the attendee to pick a new time with your booking link.
  • Approve the email — A person approves or rejects it in Reviews (the run waits). The email waits in Reviews: edit it, approve to send it from your Gmail, or reject to send nothing.
  • Not approved — Kept in the run history. Branch: Rejected. Rejected: nothing was sent.
  • Check before sending — Step. Branch: Approved. In code: the recipient is the attendee's own email, a subject and body, and no leftover placeholders.
  • Passed the checks? — Decision: picks the branch to follow. Passed: the email is sent. Otherwise nothing is sent.
  • Held: nothing sent — Kept in the run history. Branch: Held. The email failed a check. The reason is in the run history.
  • Send it from Gmail — Gmail: Send an email. Branch: Send. Sends the approved email from your Gmail.
  • Sent — Kept in the run history. The run history keeps the booking and the email.

Test it with Dry Run

Press Dry Run in the canvas. The agent runs on the sample data stored on its trigger (the “Sample data for Dry Run” box), so you can check every step's output before anything is live. The sample has the same shape as a real event from the app.

Sample data fields

uid, id, title, status, start, end, duration, event_type_id, event_type_slug, location, attendee_name, attendee_email, attendee_time_zone, attendee_phone, host_email, answers.name, answers.email, answers.company, answers.notes, cancellation_reason, cancelled_by, rescheduled_from_uid, created_at, booking.

  • Nothing is sent or written: app actions, emails and Slack posts are simulated, and AI steps don't call your AI provider.
  • Approval steps use the Dry Run decision you pick in the step's settings (approved, rejected or timeout), so you can try each branch.

Go live

  • Open the trigger and click “Activate app trigger”: cancellations from then on start the agent.
  • Activating the app trigger needs the trigger's connected account. The first check only remembers what's already there, so older items don't start runs; the same item never starts two runs.
  • The setup checklist adds a “paid plan” item before activation: live runs need a paid plan (the Free plan only runs Dry Runs).
  • When every checklist item is done and the trigger is on, the checklist says “Live — this agent is running”. Follow its runs in the workflow's History tab and in Analytics → Agents.

Questions

Does it rebook them itself?

No. It only sends your booking link; the attendee picks a time. It never books, moves or cancels anything.

What if I cancelled the meeting?

Bookings cancelled by the host are left alone, and so are reschedules.

Is the email sent automatically?

No. Every email waits for your approval in Reviews.

Troubleshooting

  • “No AI provider connected” or a rejected key: connect or fix the key in Settings → AI Providers, then press Test there.
  • A checklist item stays unticked: the setting is still empty or still contains its placeholder text. Open the step from the checklist and fill it in.
  • An app step fails with “Needs reconnect”: the account's access was revoked or expired. Reconnect it in Settings → Integrations.
  • No runs start: activate the app trigger with a connected account. Only items created after activation start runs.
  • A run shows as paused: it's waiting for someone in Reviews to approve or reject it.
  • A step failed: open the run in History and check that step in the Trace tab for the error and what it received.

Generated from the agent's own workflow, so it always matches what the agent does. Last updated .