Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
SendCloud Portal
Sitecore Send
  • Generate text using the AI writer
        • Using content in an automation
        • Create an automation to post a webhook
        • Create an automation to set a custom field value
        • Create an automation with a wait time interval
        • Create an automation to add tags to your email list contact
        • Create an automation with an If / Else condition
        • Trigger an automation manually
        • Pause or restart an automation
  1. Work with automations
  1. Using automation
  2. Work with automations
  3. Create an automation with an If / Else condition

Create an automation with an If / Else condition

An If / Else condition can help you narrow down the target audience of your automation. By adding your criteria, you can automatically segment your contacts and send campaigns to your intended audience.

To create an automation with an If / Else condition:

  1. Click Add flow step   below any part of your workflow where you want to add a Filter (If condition/Else) step.

  2. In the Select action dialog, click Conditional/Control steps.

  3. Click next to the Filter (If condition/Else) step.

  4. In the Filter (If condition/Else) dialog, click the Apply this set of filters to drop-down menu and select the email list that you want use.

  5. Click Add condition and define the filter condition using the three drop-down menus:

    Filter (If condition/Else) dialog
    • First drop-down menu - click to select the criterion that you want to use to narrow down your target audience, for example, Member Name, Member Email, Date Added, Opened any campaign, Link clicked, and so on. You can also enter keywords to narrow down the list.

    • Second drop-down menu - click to select what operator to apply to your selected criterion. For example, is, is not, is before, is after, contains, does not contain, and so on.

    • Third drop-down menu - specify the value that should be fulfilled based on your criterion and operator. The available options available depend on what you selected from the first and second drop-down menus. It can be a text field, a drop-down list, date options, or time intervals.

      Note

      You can add more than one value in a text field to say that, for example, the Member Name is Tom OR Mary.

  6. To add more conditions to your filter, click Add more conditions.

  7. Click Save.

If you have suggestions for improving this article, let us know!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use