Available triggers, actions, and conditions

Explore all available workflow triggers, conditions, and actions in XFlow

circle-info

Before you begin

Triggers

Triggers define when a workflow starts. Every workflow must have exactly one trigger to begin running.

chevron-right📦 Product restockhashtag

Starts the workflow when a product is back in stock.

You can use this trigger to:

  • Notify customers when an item is back in stock

  • Send follow-up reminders or offers after restock

circle-info

Example: Product restock → Send email → Wait 24 hours → Send reminder email

chevron-right👋 New customer sign uphashtag

Starts the workflow when a new customer signs up Notify me button.

You can use this trigger to:

  • Send welcome or confirmation emails

  • Deliver signup incentives or discount codes

  • Start onboarding or nurture workflows

circle-info

Example: New customer sign up → Create discount code → Send welcome email

Learn more:

Understanding workflow triggerschevron-right

Conditions

Conditions control how a workflow flows after it starts. They evaluate customer data or events and determine which workflow path to take, enabling you to build logic such as branching, filtering, and targeted messaging.

chevron-right📩 An event occurred - Email openedhashtag

Checks whether the customer has opened a specific email.

You can use this condition to:

  • Measure email engagement

  • Trigger follow-up actions based on opens

  • Segment engaged vs. unengaged customers

chevron-right🖱️ An event occurred - Email clickedhashtag

Checks whether the customer has clicked a link in a specific email.

You can use this condition to:

  • Identify highly engaged customers

  • Trigger follow-up actions after link clicks

  • Segment customers based on interaction

chevron-right🚫 An event occurred - Customer unsubscribedhashtag

Checks whether the customer has unsubscribed from marketing communications.

You can use this condition to:

  • Stop promotional workflows

  • Trigger internal alerts or cleanup actions

  • Update customer engagement or consent status

circle-info

Example: New customer sign up → Send marketing email → If customer unsubscribed → Update subscription status

chevron-right🛍️ An event occurred - Customer purchasedhashtag

Checks whether the customer has completed a purchase.

You can use this condition to:

  • Trigger post-purchase workflows

  • Stop or adjust promotional flows after conversion

  • Segment customers based on purchase activity

chevron-right💳 Customer criterias - Order counthashtag

Evaluates the customer based on the number of orders they have placed.

You can use this condition to:

  • Identify new vs. returning customers

  • Target loyal or frequent buyers

  • Customize workflows based on purchase history

circle-info
chevron-right💰 Customer criterias - Total spenthashtag

Evaluates the customer based on the total amount they have spent.

You can use this condition to:

  • Identify high-value customers

  • Create VIP or loyalty segments

  • Trigger rewards or exclusive offers

chevron-right🗓️ Customer criterias - Signed up datehashtag

Filters customers based on the date they signed up.

You can use this condition to:

  • Target new customers who signed up recently

  • Exclude older customers from specific workflows

  • Send onboarding, welcome, or re-engagement messages based on signup timing

circle-info

Example: Product restock → Check customer signed up date (within last 30 days) → Add customer tag (New signup) → Send email

chevron-right⏰ Customer criterias - Last order datehashtag

Filters customers based on the date of their most recent order.

You can use this condition to:

  • Target active customers who ordered recently

  • Re-engage customers who haven’t ordered in a while

  • Exclude recent buyers from promotions or reminders

circle-info

Example: Product restock → Check last order date (more than 60 days ago) → Send email → Wait 24 hours → Send reminder email

chevron-right🏷️ Customer criterias - Customer tagshashtag

Filters customers based on the tags assigned to their profile.

You can use this condition to:

  • Target specific customer segments (e.g. VIP, Wholesale, Loyalty)

  • Include or exclude customers from workflows based on behavior or status

  • Personalize messages and offers using tag-based segmentation

circle-info

Example: Product restock → Check customer tags (includes “VIP”) → Create discount code → Send email with special offer

chevron-right📣 Customer criterias - Accepts marketinghashtag

Filters customers based on whether they have agreed to receive marketing communications.

You can use this condition to:

  • Send campaigns only to customers who opted in

  • Ensure compliance with email and SMS marketing regulations

  • Exclude customers who have not accepted marketing from promotional workflows

circle-info

Example: Product restock → Send welcome email → Check accepts marketing (is true) → Send promotional email

Learn more:

Understanding workflow conditionschevron-right

Actions

Actions define what the workflow does. A workflow can run one or multiple actions in sequence.

chevron-right💌 Send emailhashtag

Sends an email to the customer when this action is reached in the workflow.

You can use this action to:

  • Send welcome or onboarding emails

  • Notify customers about product restock or promotions

  • Send follow-up or reminder emails based on customer behavior

circle-info

Example: Product restock → Send email → Wait 24 hours → Send follow-up email

chevron-right🔔 Send push notificationhashtag

Sends a push notification to the customer to notify the customer in real time.

You can use this action to:

  • Notify customers about product restocks or order updates

  • Send time-sensitive alerts or promotions

  • Re-engage customers with reminders or announcements

circle-info

Example: Product restock → Send push notification → Wait 1 hour → Send follow-up notification

chevron-right📩 Send internal emailhashtag

Sends an internal email notification to your team.

You can use this action to:

  • Notify internal teams about important customer events

  • Alert staff when a workflow condition is met

  • Trigger internal follow-ups or manual actions

chevron-right⏳ Waithashtag

Pauses the workflow for a specified amount of time before continuing to the next step.

You can use this action to:

  • Delay follow-up messages

  • Space out notifications or emails

  • Wait for customer actions before proceeding

chevron-right🎁 Create discount codehashtag

Creates a unique discount code for the customer.

You can use this action to:

  • Reward loyal or high-value customers

  • Incentivize purchases with personalized discounts

  • Support promotions and win-back campaigns

chevron-right🚀 Update subscription statushashtag

Updates the customer’s subscription status.

You can use this action to:

  • Mark a customer as subscribed or unsubscribed

  • Reflect consent changes from customer actions

  • Keep subscription status up to date across workflows

chevron-right🏷️ Add customer tagshashtag

Adds one or more tags to the customer.

You can use this action to:

  • Label customers based on behavior or attributes

  • Segment customers for future workflows

  • Track engagement or campaign participation

Learn more:

Understanding workflow actionschevron-right

Create a workflowchevron-rightGet started with workflow templates librarychevron-rightAssign a workflow to your campaignchevron-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