In this article, we will explain how to exclude blacklisted contacts from receiving marketing emails sent through an Automation workflow.
Campaigns and Automation have two separate blacklists, which means when a contact unsubcribes from your marketing email campaigns, they can still receive your emails sent from an Automation workflow (and vice-versa).
If you want to send a marketing email to your contacts based on their behavior on your website (page visits, button clicked, etc.), you will have to send these emails through an Automation workflow. To make sure you don't send these marketing emails to contacts who unsubscribed from receiving your campaigns, you must apply a filter to your workflow to exclude blacklisted contacts from entering it.
Before you start
- To learn more about creating an Automation workflow, read Creating a custom Automation workflow and Using an Automation workflow template.
- To learn more about creating a search filter and applying it to a workflow, take a look at our dedicated articles.
Create a search filter for blacklisted contacts
Create a search filter that includes all contacts blacklisted from your email campaigns.
- Go to Contacts.
- Click Advanced Search & Segmentation.
- In Search Conditions, select:
- Click Save filter.
- Name the filter and click Add.
You will now be able to select this search filter from your workflow.
Apply the filter to your workflow
After creating the search filter for blacklisted contacts, you will need to apply it to an Automation workflow.
To apply the filter to your workflow:
- Go to Automation.
- Create a new workflow.
- Add an entry point to your workflow by clicking Add an entry point.
- Set up your entry point and click OK.
- Add a new step to your workflow by clicking the + sign below the entry point.
- Select If/Else conditions > Contact details > Contact filter conditions.
- Select the filter you just created and click OK.
Two new branches will appear in your workflow: Yes and No.
Set up the rest of your workflow in the No branch
The Yes and No branches of our search filter follow the following logic:
- Yes means the contact matches the search filter: they are blacklisted. You should not send them any marketing emails.
- No means the contact does not match the search filter: they are not blacklisted. You can send them marketing emails.
To only include non-blacklisted contacts, you must set up the rest of your workflow in the No branch:
- Below the No branch, click the + sign
- Select the action you want to add to your workflow.
- Set up your action and click OK.
You can then add as many additional steps as necessary, always in the No branch.