Workflow condition: An event occurred

Understand an event occurred condition

circle-info

Before you begin

Description

An event occurred condition checks whether a specific customer action or system event has happened.

circle-check

Available events

Available events
Condition
Evaluates to
Use case

Email opened

email.opened

True if customer opened any email in this workflow

Send follow-up only if customer engaged

Email clicked

email.clicked

True if customer clicked any link in the email

High-intent customers get priority offers

Customer unsubscribed

customer.unsubscribed

True if customer opted out of notifications

Stop all further communications

Customer purchased

customer.purchased

True if customer bought the product (within attribution window)

Stop follow-ups after conversion

Example of workflow condition: An event occurred

circle-info

Example 1: An event occurred - Email opened

Trigger: New customer sign up

→ Action: Send email (Send initial engagement email)

→ Action: Wait (Wait for email delivery and potential engagement)

→ Condition: An event occurred - Email opened

→ Action (If False): Send email (Send win-back email with special offer) 🔗 Learn more: Win-back campaign for inactive subscribers

circle-info

Example 2: An event occurred - Email clicked

Trigger: New customer sign up

→ Action: Send email (Send promotional email with CTA links)

→ Action: Wait (Wait for email delivery and potential click)

→ Condition: An event occurred - Email clicked (Check if customer clicked email link)

→ Action (If True): Add customer tags (Tag customer as engaged) ⚠️ Without CTA links in your email, the “Email clicked” event cannot be detected. 🔗 Learn more: Tag engaged customers after email click

circle-info

Example 3: An event occurred - Customer unsubscribed

Trigger: New customer sign up

→ Action: Send email (A marketing or promotional email is sent to the customer)

→ Action: Wait (The workflow pauses (e.g., for 7 days) to monitor the customer's interaction with the email)

→ Condition: An event occurred - Customer unsubscribed

→ Action (If True): Update subscription status - Cancelled (If the customer chose to opt-out, the system automatically updates their profile status to Cancelled to stop all future marketing)

circle-info

Example 4: An event occurred - Customer purchased

Trigger: Product restock

→ Action: Send email (Send an initial "back in stock" notification to customers who requested an alert)

→ Action: Wait (The workflow pauses for 1 day to give the customer time to see the first email and complete a purchase)

→ Condition: An event occurred - Customer purchased (if the customer has made a purchase since the initial notification was sent)

→ Action (If False): Send email (if the customer has not purchased, send a follow-up "low stock warning" email to create urgency) 🔗 Learn more: Urgency back in stock notification

Best practices

  • Add a Wait step: Include a Wait action before adding a condition. This gives your customers a little breathing room to open the email and check out your message.

  • Include a clickable link: If you want to track Email clicked, make sure your email includes a button or link. No link = no clicks to track 😉

  • Create urgency with follow-ups: Use the False path (for customers who haven’t purchased yet) to send a friendly reminder, such as a “Limited stock available!” message. This can help encourage last-minute conversions.

  • Keep your mailing list clean: Use the Unsubscribe condition to automatically remove users who opt out. This helps maintain a healthy list and ensures you’re only communicating with engaged subscribers. Learn more: How the unsubscribe link works?

How workflows workchevron-rightAvailable triggers, actions, and conditionschevron-rightGet started with workflow templates librarychevron-rightCreate a workflowchevron-right


📩 Need help?

We’re here to make your XFlow experience smooth and successful. Our support team is always ready to assist you—no matter how big or small your question is.

comment-linesChat now envelopesMessage us

Last updated