How to sync Calendly routing responses to Salesforce

Updated Aug 24, 20263 min read
Available to:
Owners and AdminsRoles control which account and team settings a person can manage. Your role may vary by organization, team, or group.
Plans:
Teams, Teams Plus, and EnterpriseFeature access may vary based on your plan, when your account was created, and any add-ons.
View plans

Calendly syncs routing form responses to Salesforce, automating contact/lead updates and centralizing reporting, while enabling lead retargeting.

This feature isn't compatible with organizations using Marketo, HubSpot, or Pardot forms. To sync form responses, use their integrations with Salesforce instead.

How routing responses sync to Salesforce

When a Calendly routing form is submitted, the Salesforce integration creates a CalendlyRoutingFormSubmission record and a CalendlyRoutingFormQuestionsAnswers record for each question asked on the form. The creation of the CalendlyRoutingFormSubmission record triggers the flow CreateRoutingFormLeadTemplate. 

Multiple records are created in Salesforce for each routing form submission in a single API request using Salesforce's composite API, helping avoid hitting API limits.

Default flow

This flow is fully customizable, but works in the following way by default.

Advanced options for routed events in Salesforce

Use FormSubmissionsUUID to identify routed events

The FormSubmissionsUUID field is on the CalendlyAction object. While this custom object and flow only trigger for Calendly-hosted forms (not those integrated with Pardot, Marketo, or HubSpot), we still pass a value to this field if the event was scheduled after completing a form that followed a Calendly routing rule.

This lets you customize the CreateEventTemplate flow to treat events from a form differently than those booked directly via a Calendly link by checking if this field is null.

To use a Salesforce ID in a routing form submission for looking up existing records, append "?salesforce_uuid=<ID>" to the end of your routing form link. This will store the Salesforce ID in the SalesforceId field on the CalendlyRoutingFormSubmission record.

For example: https​:​//calendl​y.com/your​_form?salesforce_uuid=123abc

Was this article helpful?

Let us know so we can improve our content.

Related articles