How to create a custom button within Salesforce Classic to schedule Calendly meetings 

  1. From the Setup page and within the Quick Find / Search box, type Buttons and see the filtered results.

  2. Under any object you choose, select Buttons, Links, and Actions and see the page refresh.

  3. At Buttons, Links, and Actions, select New Button or Link.

    Schedule_Button_Settings_SF_Classic_16NOV2020.png

  4. At Label, enter Schedule Calendly Meeting, then enter a Description.

  5. At Display Type, select Detail Page Button.

  6. At Behavior, choose Execute Javascript.

  7. At Content Source, choose OnClick Javascript.

  8. Within the editor box, copy and paste the following code:

    window.open("ADD_YOUR_LINK?sfid={!Opportunity.Id}&first_name={!Contact.FirstName}&last_name={!Contact.LastName}&email={!Contact.Email}", "_blank", "toolbar=no, scrollbars=yes, resizable=yes, top=0, left=0, width=901, height=700");
  9. Within the code, replace ADD_YOUR_LINK with your Calendly link, then select Save.
    Note: Include https:// when adding your link.
    Schedule_Button_Editor_Box_SF_Classic_16NOV2020.png
Was this article helpful?
0 out of 2 found this helpful