XFlow App
Workflows

Understanding workflow actions

7 min read
image

What are actions

Actions are tasks that are executed when triggered or after specific conditions are met.

A workflow can have one or more actions chained together and run in sequence.

Types of actions

How actions work

A trigger starts the workflow.

The workflow runs each action using data from the trigger or conditions.

Each action runs only after the previous one has finished.

Information created or updated by one action can be used in later actions.

Want a full picture? Learn more about how workflows work: How workflows work

Preview actions before running your workflow

When building a workflow, you can preview how each action works before activating it.

Preview mode lets you test your action settings (such as emails) using sample data, ensuring everything works as expected.

This is especially useful for:

  • Checking email content and variables
  • Verifying workflow logic
  • Testing with real customer and product data.

Common workflow actions use cases

ActionCommon use cases
Send emailβ€’ Send back-in-stock notifications to customers
β€’ Deliver welcome or confirmation emails
β€’ Follow up with customers who didn’t purchase after restock
β€’ Send promotional or discount emails
β€’ Share order updates or important announcements
Send push notificationβ€’ Notify customers when a product is back in stock
β€’ Send real-time alerts for time-sensitive offers or low inventory
β€’ Remind customers to complete a purchase
β€’ Announce limited-time promotions or discounts
β€’ Share important updates that require immediate attention
Send internal emailβ€’ Alert inventory team when 100+ customers waiting
β€’ Notify manager of high-demand products
β€’ Daily digest of restock activity
β€’ Low inventory warnings with waitlist data
Waitβ€’ Delay follow-up messages after the initial notification
β€’ Give customers time to complete a purchase
β€’ Space out messages to avoid over-messaging
β€’ Create timed sequences (for example, wait 24 hours before sending a reminder)
Create discount codeβ€’ Incentivize immediate purchase ("10% off if you buy today")
β€’ VIP exclusive discounts
β€’ Loyalty reward for patient waitlist customers
β€’ Limited-time urgency ("Code expires in 48 hours")
Update subscription statusβ€’ Mark subscriptions as Delivered after a notification is sent
β€’ Update status to Engaged when a customer interacts with a message
β€’ Set status to Converted after a successful purchase
β€’ Mark subscriptions as Completed when the workflow finishes
β€’ Cancel subscriptions if the customer opts out or no longer qualifies
Add customer tagsβ€’ Segmentation: "High-Intent-Customers", "VIP-Waitlist"
β€’ Product interest tracking: "Interested-Blue-Tshirt"
β€’ Engagement level: "Email-Engaged", "Never-Opened"
β€’ Lifecycle stage: "Waitlist-Converted", "Waitlist-Non-Converter"
β€’ Future targeting: Use tags in future campaigns
Create draft orderComing soon
Send messageComing soon
Send SMSComing soon

Examples of workflow actions

Example 1: Send email

Trigger: Product restock

β†’ Action: Send email (Send a back in stock notification to customers who requested a restock alert)

πŸ”— Learn more: Send a back in stock notification
image

Example 2: Send internal email

Trigger: New customer sign up

β†’ Condition: Customer criterias - Order count: Check if customer has high order value (Proceeds if the condition is True)

β†’ Action: Send internal email (Notify sales team about high-value subscriber)

πŸ”— Learn more: Internal notification for high-value new subscribers
image

Example 3: Wait

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 (Check if "An event occurred")

β†’ Action (If False): Send email (Send win-back email with special offer)

πŸ”— Learn more: Win-back campaign for inactive subscribers
image
Available triggers, actions, and conditions
Create a workflow
Assign a workflow to your campaign
Last updated