Calendly
Calendly is a meeting scheduling service. Its webhook subscriptions report a meeting booked by an invitee, a meeting rescheduled and a meeting cancelled. Pointed at the Flows address, they start your flows: a reminder the day before the meeting, a message after a cancellation.
This page is written from the public documentation of Calendly and has not been checked on a live account yet.
What you need
- Any Calendly plan, Free included, by the Calendly help centre; on Free the Calendly API has its own limits.
- A terminal for two commands. Calendly has no screen for webhook subscriptions: they are created only through its API, with a personal access token.
- A phone only if the event type asks for it: text reminders to the invitee switched on, or a booking question called exactly «Телефон». Otherwise the only contact is the email.
Step 1. Create a connection
- Open
Flows → Connections, press Connect a system and choose Calendly. - Press Copy address. It looks like
https://events.alphasms.net/hooks/<TOKEN>— keep it secret.
Step 2. Set up Calendly
-
Open Profile menu → Developer → Personal access tokens and press Create personal access token. Name it
AlphaFlow, tick the scopes for reading the user and writing webhooks (their exact names are not confirmed by the documentation), press Create, enter the code from the email and copy the token: it is shown once. -
Find your user and organization. Put the token in place of
YOUR_TOKEN:curl -s https://api.calendly.com/users/me -H "Authorization: Bearer YOUR_TOKEN"From the answer take
resource.uri(https://api.calendly.com/users/…) andresource.current_organization(https://api.calendly.com/organizations/…). -
Create the subscription. Put the token in place of
YOUR_TOKEN, the address from the cabinet in place ofFLOW_ADDRESS, and the two links from the previous answer in place ofORG_URIandUSER_URI:curl -X POST https://api.calendly.com/webhook_subscriptions -H "Authorization: Bearer YOUR_TOKEN" -H "Content-Type: application/json" -d '{"url":"FLOW_ADDRESS","events":["invitee.created","invitee.canceled"],"organization":"ORG_URI","user":"USER_URI","scope":"user"}'The owner or an admin of the organization can put
"scope":"organization"instead and leave"user"out — then the meetings of the whole team come. -
Optionally add
"signing_key":"…"to the body of the second command and paste the same key into the AlphaFlow connection: AlphaFlow then checks the signature of every request. -
For the phone, switch on text reminders to the invitee in the event type, or add a booking question with the text exactly «Телефон». A question with another text is read only after its path is corrected in the connection.
Step 3. Send a test
Book a meeting with yourself, then cancel it: Calendly does not send past events. Both events appear in
Flows → Connections → Event journal within seconds. The
connection shows Recognised: Calendly.
Events
| Calendly event | AlphaFlow event | Properties |
|---|---|---|
invitee.created — a meeting is booked | appointment_scheduled | appointment_id, visit_at, service, master, location |
invitee.created with old_invitee — the new booking of a rescheduled meeting | appointment_scheduled with rescheduled = true | appointment_id, visit_at, service, master, location |
invitee.canceled — a meeting is cancelled | appointment_cancelled | appointment_id, visit_at, service, master, location |
invitee.canceled with rescheduled = true — the old booking of a rescheduled meeting | skipped | — |
Every event also carries cancel_url, reschedule_url, rescheduled and timezone (the invitee's time zone).
appointment_id is the link of the invitee in Calendly, service — the name of the meeting, master — its host.
The contact is found by the invitee's email (payload.email) and the phone: the number for text reminders
(payload.text_reminder_number) or, if it is empty, the answer to the booking question «Телефон»
(payload.questions_and_answers). The name comes from payload.name.
visit_at is the start of the meeting, so a flow can wait until 24 hours before it — the ready-made "Appointment
reminder" does exactly that. The event names are the ones the templates expect — see
Recommended events.
A move. Calendly sends a rescheduled meeting as two events: invitee.canceled for the old booking and
invitee.created for the new one. AlphaFlow skips the first — a flow on appointment_cancelled does not tell the client
about a cancellation — and takes the second as appointment_scheduled with rescheduled = true and the new
visit_at; its appointment_id is the link of the new invitee. The ready-made "Appointment reminder" restarts by
itself on a moved meeting and reminds about the new time: there is nothing to copy or set up. How old_invitee
looks on a live move is not confirmed by the documentation.
Good to know
- When a request fails with
3xx,4xxor5xx, Calendly repeats it with a growing pause for 24 hours (or until 24 hours after the meeting), then switches the subscription off — it has to be created again with the second command. - The
Calendly-Webhook-Signatureheader comes only withsigning_key; without it the secret in the address is enough. - Without a phone the event carries only the email: the reliable contact in Calendly is the email.
- No terminal at hand: a Zapier or Make scenario with the Calendly trigger Invitee Created and an HTTP request can send the event in the AlphaFlow format — see If you can write the request yourself.
- The address always answers
200. Above the daily event limit the event is refused in AlphaFlow withquota_exceededand shown in the journal; the subscription in Calendly stays on.