By default, canceled or rescheduled Calendly events are not deleted from your Salesforce calendar. Instead, the event title and description are updated to say "Canceled."
If you’d rather remove the event entirely, follow the steps below to update your CancelEvent flow and delete the event record automatically.
Set it up
Step 1 – Open your CancelEvent flow
-
In Salesforce Setup, search for and select Flows.
-
Open your CancelEventTemplate flow.
-
If you’ve already modified it, open your current active CancelEvent flow.
-
Note: If you're using Salesforce v1.11, modify the CancelEvent flow (not the template).
You can find your package version on the Salesforce Integration page in Calendly.
-
Step 2 – Replace the UpdateEvent element with Delete
-
Find the UpdateEvent element at the end of your flow and delete it.
-
From the Toolbox on the left:
-
Under Data, drag the Delete Records element into the flow.
-
Place it where the UpdateEvent element was.
-
-
Drag connectors from the two Decision elements to the new Delete Records element.
Step 3 – Set up the Delete Records element
Double-click the new element, then enter the following:
Field | Selection |
How to Find Records to Delete | Specify Conditions |
Object | Event |
Field | Id |
Operator | Equals |
Value | EventRecordId |
Select Done to save.
Step 4 – Save and activate your new flow
-
At the top, select Save As.
-
Enter a Flow Label, like:
CancelEvent – DeleteEvent -
(Optional) Add a description, such as:
“This version deletes the event record when canceled.” -
Select Save.
-
Select Activate to turn on your new flow.
-
Deactivate the original CancelEventTemplate flow.
Step 5 – Test the flow
-
Schedule a test event in Calendly.
-
View the event on your Salesforce Calendar.
-
Cancel the event from Calendly.
-
Return to Salesforce and check your calendar.
-
The event should be deleted.
-