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.

  1. 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.

  2. Enter the message to be displayed when the flow stops.

  3. Click Save.

You can also use a Stop step with an If-Then step to add a condition to a flow. For example:

  1. Create a flow that is triggered when a new member is added to an audience in Mailchimp.

  2. Add an If-Then step that:

    1. Detects whether the email address is from @example.com.

    2. If true, posts the message "New audience member from example.com" on a Slack channel.

    3. If false, uses a Stop step to stop the flow.

  3. 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.