Browse the docs

Agent setup guide

Cal.com Booking to HubSpot

Every new Cal.com booking creates or updates the attendee in HubSpot, with the booking and what they need as a note.

Available About 6 min to set up

What it does

Every new Cal.com booking creates or updates the attendee in HubSpot, with the booking and what they need as a note.

  • Starts when someone books one of your Cal.com event types.
  • AI reads the name, company, title and phone from the booking answers and writes a short note.
  • Code checks the attendee's email before anything is saved.
  • The contact is created or updated in HubSpot with the booking as a note.

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.
  • HubSpot, connected in Settings → Integrations.

What it doesn't do

  • It doesn't create deals or tasks.
  • It doesn't message the attendee.
  • Not instant: new bookings 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 HubSpot.
  • The app it watches, connected in Settings → Integrations (the agent starts from an app event).
  • About 6 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 HubSpot

Connect the HubSpot account your contacts are in.

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.“New Cal.com booking”

5. Your booking questions

Open “Read the booking” and replace the placeholder.

SettingWhat to enterIn step
Your booking questionsReplace the placeholder with your booking questions and what the note should say. It starts as “[YOUR BOOKING QUESTIONS (E.G. COMPANY, ROLE, WHAT THEY NEED) AND WHAT THE NOTE ON THE CONTACT SHOULD SAY]” until you replace it.“Read the booking”

6. Pick HubSpot

Open the two HubSpot steps and pick your account.

SettingWhat to enterIn step
HubSpot accountThe HubSpot account your contacts are in. Pick your connected HubSpot account.“Create or update the contact”
HubSpot account (note)The same HubSpot account. Pick your connected HubSpot account.“Add the booking as a note”

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”: bookings made from then on are saved.

How it works

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

  • New Cal.com booking — Starts on “New booking” in Cal.com (an app event). Starts when someone books one of your Cal.com event types (checked every few minutes).
  • Read the booking — AI step (runs on your AI provider key). AI splits the name and reads company, phone and what they want from the booking answers, and writes a short note.
  • Valid email? — Step. In code: the attendee has one valid email address.
  • Save the contact? — Decision: picks the branch to follow. No valid email: nothing is saved.
  • Not saved: no valid email — Kept in the run history. Branch: No email. The booking had no valid attendee email.
  • Create or update the contact — HubSpot: Create or update a contact. Branch: Valid. Creates the HubSpot contact (or updates it when the email exists) with the name, company, title and phone.
  • Add the booking as a note — HubSpot: Add a note. Adds the booking, its time and the AI's note to the contact's timeline.
  • Saved in HubSpot — Kept in the run history. The run history keeps the contact and the note.

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.

Go live

  • Open the trigger and click “Activate app trigger”: bookings made from then on are saved.
  • 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 create duplicates?

No. HubSpot matches the contact by email and updates it when it exists.

Does it message the attendee?

No. It only writes to HubSpot.

What about reschedules?

A reschedule doesn't start it again: the “New booking” trigger leaves reschedules out.

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 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 .