Skip to main content

Using the If/Else Condition in Stack Workflows

Overview

The If/Else Condition action in your Stack automation workflow is a powerful tool that allows you to direct contacts through different paths based on specific conditions. This feature is essential for crafting personalized and dynamic workflows that respond to your contact's behaviors.

Action Name

If/Else Condition

Action Description

The If/Else Condition action evaluates a specified condition and guides the contact down different branches depending on whether the condition is met. This allows you to customize subsequent actions based on the contact’s engagement or characteristics.

Action Details

Value NameDescriptionMandatory
Action NameThe name you assign to this action for easy identification in your workflow.Yes
ConditionThe specific condition that is evaluated (e.g., if an email was opened, if a form was submitted).Yes
BranchesThe paths that the contact will take based on the condition's outcome (e.g., Yes, No).Yes

Example: Follow-Up Based on Email Engagement

Scenario

Imagine your business sends a promotional email to customers, and you want to follow up differently based on whether they opened the email or not.

Solution Using the If/Else Condition

  1. Trigger: The workflow begins when a promotional email is sent.

  2. Action 1: Use the If/Else Condition to check if the email was opened.

    • Condition: Email Event is Opened.

    • Yes Branch: If the email was opened, send a thank-you email with a special offer.

    • No Branch: If the email was not opened, resend the promotional email with a different subject line.

Steps to Implement

  1. Add the If/Else Condition action to your workflow after sending the promotional email.
  2. Set the Condition to "Email Event is Opened".
  3. Configure the Yes Branch to follow up with a thank-you email and a special offer.
  4. Configure the No Branch to resend the promotional email with a different subject line.

By using this approach, you can ensure that you engage customers based on their interaction with your initial email, making your follow-up more relevant and effective.