Hubspot calendar embed - Webhook to confirm booking?
SOLVE
We are considering migrating from Calendly to Hubspot meeting embedding in our apps onboarding flow. However, in order to do so, we need Hubspot API to support two things:
Automatically passing in data to calendar form fields
Some sort of event/webhook that sends confirmation of booking to us so that we can automatically send users to the next step of our onboarding flow
Hubspot calendar embed - Webhook to confirm booking?
SOLVE
The Hubspot API does support #2. The trick is to listen for contact.created and contact.updated events and check the request body for the "sourceId". It's set to "sales-meetings-booking" for booked meetings. I was able to use that to build a little tool to send custom confirmation emails (via Sendgrid).
Hubspot calendar embed - Webhook to confirm booking?
SOLVE
The Hubspot API does support #2. The trick is to listen for contact.created and contact.updated events and check the request body for the "sourceId". It's set to "sales-meetings-booking" for booked meetings. I was able to use that to build a little tool to send custom confirmation emails (via Sendgrid).