Wake an agent when a cal.com booking lands
Have an agent prepare for every booked call. Create a cal.com trigger in Qoren, paste its URL and secret into a cal.com webhook, and pick booking events.
On this page
A cal.com trigger wakes an agent when someone books, reschedules or cancels a meeting with you. The agent can look the attendee up, put a brief together before the call, update your CRM, or draft a follow up.
For how triggers work in general (rules, Act or Propose only, the delivery log), see let an event wake your agent.
Before you start#
- An agent that has finished setting up.
- A cal.com account where you can manage webhooks.
Create the trigger in Qoren#
- Open the agent, click Settings, then Connections, scroll to Triggers and click Add a trigger.
- Name it in What is this for?, for example "Booked calls".
- Under Where does it come from?, keep cal.com. It is the first choice.
- Under Which events?, pick the ones your rules need. For call prep, BOOKING_CREATED and BOOKING_RESCHEDULED are usually enough; add BOOKING_CANCELLED if the agent should tidy up after a cancellation.
- Write the rules, for example: "Look the attendee up. If they are an existing customer, put their open tickets in my brief before the call. If not, draft a short intro email for me to approve."
- Leave Already have a signing secret? empty so Qoren makes one, then click Create trigger.
The card that appears shows the Webhook URL (1) and the Signing secret (2), and for cal.com the four steps to follow on the other side (3). Both values are shown only once, so keep the card open until you have pasted them.
123The events offered for cal.com are BOOKING_CREATED, BOOKING_REQUESTED, BOOKING_CANCELLED, BOOKING_RESCHEDULED, BOOKING_REJECTED, BOOKING_PAYMENT_INITIATED, BOOKING_PAID, BOOKING_NO_SHOW_UPDATED, MEETING_STARTED, MEETING_ENDED, RECORDING_READY, RECORDING_TRANSCRIPTION_GENERATED, FORM_SUBMITTED and OOO_CREATED. You can type any other cal.com trigger name and press Enter.
Add the webhook in cal.com#
cal.com's own guide is webhooks in the cal.com docs.
- In cal.com, open Settings, then Developer, then Webhooks, and add a new webhook.
- Put the Webhook URL in Subscriber URL.
- Put the Signing secret in Secret.
- Tick the same event triggers you chose in Qoren.
- Leave the custom payload template empty, and save.
Check that it works#
- Book a test meeting on one of your own event types. Within a moment the trigger's Deliveries shows a
BOOKING_CREATEDdelivery, and when the agent finishes, its summary. - Send a test event in the trigger sends a made-up booking for "Sample Person" straight to the agent, so you can check your rules without booking anything. The sample says it is a test.
- Nothing in Deliveries after a real booking? Check the Subscriber URL and Secret in cal.com match the card, the event is ticked in cal.com, and the trigger is not paused. If you no longer have the values, click New URL and secret and paste the new pair into cal.com.
What the agent receives#
The agent gets your rules and the full booking cal.com sent: the event type, start and end time, the attendees with their names, emails and time zones, and any notes they left. The payload is labelled as data from outside, because the attendee typed parts of it into your booking form; the agent is told never to follow instructions found in it. It replies with a short summary that appears in the delivery log.
cal.com does not send a delivery id, so Qoren recognises a retry by its exact body and does not run the agent twice for one booking.
Frequently asked questions#
Should I pick every cal.com event?
No. With no events picked, every trigger cal.com fires wakes the agent, and each one is a paid turn. Pick the two or three your rules use.
Can the agent book or cancel meetings for me?
Reading a booking is all the trigger gives it. To act in cal.com, the agent needs a cal.com API key of its own through the Vault. Start with Propose only, and approve what it proposes on the Approvals page.
What if an attendee writes instructions in the booking notes?
The agent reads them as information from a stranger, never as instructions. Still, keep that in mind when your rules let it send things.