The Stop If action is used to halt an entire automation based on specific conditions. It always works in conjunction with a previous action, checking whether predefined conditions are met. This means that every time the selected previous action runs—whether it involves the record that triggered the automation or a different one—the Stop If action evaluates the set conditions. If the conditions are met, the entire automation stops.
Difference Between "Stop If" and "End" Actions
-
End Action:
- The End action strictly operates in relation to the triggering record—the record that initiates the automation process.
For example, in this case, the triggering record is the one created using the specified fields defined in its configuration.
- Automatically included as the final step in every automation.
- Can be configured without conditions, simply waiting for all preceding actions to complete before closing the automation.
- If conditions are set, it checks every prior action to determine if the conditions are met, but only concerning the original triggering record.
-
Stop If Action:
- Checks conditions for a single previous action rather than all prior actions.
- Can be triggered by a record different from the one that initiated the automation (the triggering record).
How to Set Up the Stop If Action
- Name (Required): Give the action a clear and identifiable name for easy reference.
- Step: Select the step that the "Stop If" action will validate. This can be a Create Record, Update Record, Find Record, or Create Task action. These actions must be created and configured before setting up the "Stop If" action.
- Filters: Define the expected outcome of the selected Step to determine whether the automation should stop. For example, if you choose Find Record as the previous action on the Step field, the filter options will be based on the App and Records retrieved by that action. You can set conditions such as "ID Exists", meaning that if the Find Record action finds a specified record, the automation will stop.
If you want to know more about other actions for the automation builder, check this article.