Skip to the page

Recipes

Cal.com recipes

Send Cal.com’s booking webhooks to a Text Hook and text each person who books.

Three recipes for Cal.com. Each names its trigger and the DogBot step, lists the fields to map and says how to test it with your own number before anyone else gets a text.

How Cal.com connects

  • Text Hook: A Text Hook is a DogBot address the app posts its own webhook to. You map its fields to a recipient and a template, and each post becomes a text.
  • Zapier: DogBot’s Zapier app has a Send Text action and instant triggers for incoming texts and every change of state.

Confirm each booking

PartWhat it is
TriggerCal.com’s Booking Created webhook
ActionA DogBot Text Hook turns each post into a text
Connects throughText Hook

Steps

  1. Ask for a phone number on the event type’s booking form.
  2. Make a Text Hook in DogBot and add its address as a webhook in Cal.com for Booking Created alone.
  3. Book a test meeting, then pick the attendee’s name, phone and the event’s title from the payload DogBot kept.
  4. Write the template, and each booking becomes a text from your number.

Map the fields

Text Hook settingSet it to
RecipientThe field in Cal.com’s post that holds the person’s phone number, written as a path such as {{body.phone}}.
TextHi {{body.first_name}}, you’re booked for {{body.event_title}}. The details are in your email. Reply here if anything changes.
Metadatasource set to cal-com. DogBot adds the hook’s id by itself.

Test it

Post a sample to the hook’s address with your own number in the phone field, as below. A text arrives on your phone, and the hook’s page lists the post.

A test post shaped like Cal.com’s
curl -X POST "https://getdogbot.com/h/YOUR_HOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"phone":"+15555550123","first_name":"Maria","event_title":"sample event title"}'

Text the new time when a booking moves

PartWhat it is
TriggerCal.com’s Booking Rescheduled trigger in Zapier
ActionDogBot’s Send Text action
Connects throughZapier

Steps

  1. Start a Zap with Cal.com’s trigger for a rescheduled booking.
  2. Use Formatter by Zapier to write the new start time the way people read it.
  3. Add DogBot’s Send Text action and map the attendee’s phone to To.

Map the fields

DogBot fieldMap it to
ToThe person’s mobile number from Cal.com. US numbers can leave off the +1.
TextHi {{first_name}}, your meeting is now {{start_time}}. Reply here if that doesn’t work.
{{first_name}} in the textCal.com’s first name field.
{{start_time}} in the textCal.com’s start time field.
Metadatasource set to cal-com, and record_id set to the record’s id, so the status and reply webhooks for this text can find the record again.
ServiceAuto, the default: iMessage when the person uses it, otherwise SMS through your iPhone.

Test it

Put your own number in To and press Test step. A text arrives on your phone from your own number, and Zapier shows the message DogBot returned with state: "queued". Then map Cal.com’s field back into To and turn the Zap on.

Text yourself each booking

PartWhat it is
TriggerCal.com’s Booking Created webhook
ActionA DogBot Text Hook turns each post into a text
Connects throughText Hook

Steps

  1. Make a Text Hook in DogBot with your own number as the recipient.
  2. Add its address as a webhook in Cal.com for Booking Created.
  3. Book a test meeting, then map the attendee’s name and the event’s title into the template.

Map the fields

Text Hook settingSet it to
RecipientThe field in Cal.com’s post that holds the person’s phone number, written as a path such as {{body.phone}}.
TextNew booking: {{body.attendee_name}} for {{body.event_title}}.
Metadatasource set to cal-com. DogBot adds the hook’s id by itself.

Test it

Post a sample to the hook’s address with your own number in the phone field, as below. A text arrives on your phone, and the hook’s page lists the post.

A test post shaped like Cal.com’s
curl -X POST "https://getdogbot.com/h/YOUR_HOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"phone":"+15555550123","attendee_name":"sample attendee name","event_title":"sample event title"}'

Before you turn it on

  • Text only people who asked to hear from you. Anyone who replies STOP goes on your stop list, and DogBot cancels texts to them. Stop words
  • A text that can’t go yet waits with a hold rather than failing: texting hours, your Mac away, a daily limit. Holds
  • Cal.com with DogBot on the integrations page says what else the two do together.