You can use merge fields in Salesforce to insert a Calendly link into email templates and other tools like Marketo or Outreach. You can also use them in scheduling buttons.
In this article, you'll learn how to:
- Customize Salesforce to reference a lead owner's Calendly link
- Add that link to email templates
- Create a formula field if needed
Add a Calendly link to Visualforce email templates
If you're using a Visualforce email template, you can reference the lead owner's Calendly link directly using the Calendly_Calendlylink_c user field.
To set up a Visualforce template, follow Salesforce’s instructions.
Add a Calendly link to standard email templates
Standard email templates don’t support direct access to the owner's Calendly link. To work around this, you can create a formula field that pulls the link from the owner’s user record.
Create a formula field for the Calendly link
- From the Salesforce Setup page, go to Object Manager.
- In the Quick Find bar, search for Lead.
- Select Lead.
- In the left-hand menu, choose Fields and Relationships.
- Select New (next to the search bar).
Step 1 – Choose formula field
- Select Formula as the field type. Select Next.
Step 2 – Name the field
- Enter Owner's Calendly Link as the Field Label.
- Choose Text for the return type. Select Next.
Step 3 – Insert the Calendly field
- Select the Advanced Formula tab.
- Select Insert Field.
- Select Lead > then Lead Owner (User) >.
- Select Calendly Link then select Insert.
- Select Check Syntax to make sure it works.
- Select Next.
Step 4 – Save your changes
- Review settings and select Next.
- Select Save.
Use the Calendly link in email templates
To use the Calendly link in an email template:
- In the template editor, go to the Available Merge Fields section.
- From Select Field Type, choose Lead Fields.
- From Select Field, choose Owner's Calendly Link.
- Copy the Merge Field Value and paste it into the email body.
- Click Save.
Add a scheduling button to Salesforce
Want to add a scheduling button to Salesforce? Follow the steps in this article to create a custom button in either Lightning or Classic.