When using SendinBlue Automation, your Workflows include at least one Trigger and one resulting Action step. You may also add Conditions to modify the behavior of your workflow.
In this guide, you’ll learn how to add Exit and Restart conditions to your workflow and how to apply them in a common use case: recovering abandoned carts.
Exit and Restart conditions cause a contact to immediately exit or restart your workflow once specific criteria (conditions) are met. These results occur regardless of which step the contact is in when the condition is met.
Adding an exit or restart condition
Both Exit and Restart conditions may be applied to any type of workflow including custom workflows and those following a predefined template.
As you create a new workflow, you will arrive at the workflow overview page. Scroll to the end of the workflow and click on Add new conditions.
A pop-up will open where you can define Exit and Restart conditions. Click on Add a condition under your preferred type.
Choose from conditions for Email Activity, Contact Details, A Contact Submits a Form or Website Activity. Similar options are available for both Exit and Restart conditions.
You may repeat these steps to add multiple Exit or Restart conditions for a workflow.
Exit and Restart conditions may be modified or deleted at any time.
Practicing with exit and restart conditions
Let’s consider the common example of an abandoned cart follow-up workflow. Using Exit and Restart conditions is a simple and easy method to monitor when shopping carts are created, abandoned and purchased on your e-commerce website (learn about another method here).
Planning the workflow
In our workflow, we want to:
- Start monitoring a shopping cart once it is created.
- Notice when a shopping cart is updated with new products.
- Send an email reminder to the shopper one day after the cart was created or updated if they have not yet purchased the item(s) or removed them from their cart.
Let's say that you have already followed the instructions to create several "track events" which signal to SendinBlue Automation when a shopper performs a key activity on your website. In this example, we have created these events:
- cart_detail: occurs when a new shopping cart is created or new products are added to an existing cart
- cart_deleted: occurs when a product is deleted from an existing shopping cart
- order_purchased: occurs when a cart is purchased
Building the workflow
Using these events and our Automation steps (Triggers, Actions, and Conditions), we can create a workflow like this:
1. Entry point trigger: Website activity > Another event happens: cart_detail
This is how we start monitoring a shopping cart once it is created.
2. Condition: Add a delay > Wait one day
3. Action: Send an email: "Cart reminder email"
This is how we send an email reminder to the shopper one day after the cart was created or updated.
4. Exit conditions: Website activity > Another event happens: cart_deleted or order_purchased
This is how we ensure shoppers who receive our email reminder have not yet purchased the item(s) or removed them from their cart.
5. Restart condition: Website activity > Another event happens: cart_detail
This is how we notice when a shopping cart is updated with new products.
Other use cases
These conditions can be used to make any marketing or communications workflow more efficient, such as:
- Billing workflow to collect overdue balances - apply an Exit condition when contacts pay their bill
- Promote a sale coupon code - apply an Exit condition when contacts use the sale code
- Re-engage inactive customers - apply an Exit condition when contacts make a purchase
How will you use Exit and Restart conditions? Build a new workflow and get creative!
What happens when no Exit or Restart conditions are applied to a workflow?
If no Exit conditions are applied to a workflow, a contact will exit after completing the last possible step.
If no Restart conditions are applied to a workflow, a contact will only restart the workflow if:
- the workflow settings allow contacts to enter the workflow more than once, AND
- the contact matches the criteria for the workflow’s entry point an additional time.