Stop steps
A Stop step halts the flow. Often, a Stop step is used if an error is likely to occur. You can add a Stop step to a flow when you are troubleshooting the flow.
-
In a flow step, choose Stop from the options menu.
If you choose the Stop with Error Message option, the message status is "error" with the HTTP code 400.
-
Enter the message to be displayed when the flow stops.
-
Click Save.
You can also use a Stop step with an If-Then step to add a condition to a flow. For example:
-
Create a flow that is triggered when a new member is added to an audience in Mailchimp.
-
Add an If-Then step that:
-
Detects whether the email address is from @example.com.
-
If true, posts the message "New audience member from example.com" on a Slack channel.
-
If false, uses a Stop step to stop the flow.
-
-
If the email address isn't from @example.com, posts the message "New audience member" on the Slack channel.
Without the Stop step, two messages would be posted for new audience members from @example.com.