Sample Trigger: Stop All Sequences from Salesforce

Created by Aye Myat, Modified on Fri, 13 Mar at 9:14 PM by Aravind Sundararajan

Purpose: 

The purpose of this article is to provide information to Outreach Users regarding triggers. 

With the power of Outreach triggers, you can automatically stop all sequences directly from a Lead or Contact page in Salesforce through the Outreach <> Salesforce integration. This trigger is most helpful for reps whose workflow lives in Salesforce, enabling Outreach functionality outside of the Outreach environment. Once the checkbox is checked in Salesforce, the prospect will be updated in Outreach through the Salesforce plugin, which will cause the trigger to fire, if the trigger conditions are met.

Intended Audience: 

  • Outreach Users

To create a trigger that will automatically stop all sequences for a prospect:

  • Create a custom true/false field in Salesforce called "Stop Sequences"
  • Label a custom field in Outreach for the "Stop Sequences" field
  • Create a field mapping from Outreach to Salesforce for the "Stop Sequences" fields

Trigger Event

This prompts the trigger to begin checking the trigger conditions whenever the event takes place.

The event for this trigger should be "Prospect Updated" so the trigger attempts to take action once the prospect is updated in Outreach.

Prospect Conditions

These are the field conditions that need to be met before the trigger action takes place.

The conditions below show that the "Stop Sequences" (Custom 2) field must equal "true" and the Number of Active Sequences must be greater than or equal to 1.

Trigger Action

The trigger action takes place once the event and conditions are met. In this case, the first action will stop all sequences, which will mark the prospect as finished in all sequences they are in. The second action sets the "Stop Sequences" (Custom 2) field back to "false" which will then push back to Salesforce, so the checkbox in Salesforce may be checked again in the future.

Additional Resources:

How to Create Triggers


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article