Workflows Overview

Automate account, contact and product tasks with when/if/then workflows.

Workflows automate the work you'd otherwise do by hand when something happens in your store: move an account to a new customer group, send a welcome email, issue store credit, create a sales follow-up, or flag a product. Each workflow follows one pattern: when something happens, if your conditions are true, then do something.

📘

Where to find it

Go to Workflows in the admin menu. Workflows List shows every workflow you've built, and Create New Workflow starts a new one.

What a workflow is made of

Every workflow runs for one kind of record, chosen in Runs for:

Runs forUse it to…Example
AccountsReward, segment or follow up with B2B accountsWhen an account places an order, if it has placed more than 5 orders in the last 30 days, move it to your VIP customer group.
ContactsAct on individual buyersWhen a contact is created, wait one day, then send them a welcome email.
ProductsKeep catalog data up to dateWhen a product is ordered, if it was ordered more than 10 times in the last 30 days, set its Bestseller attribute to Yes.

A workflow is built from four kinds of steps:

  • Trigger: what starts the workflow, such as Order placed, Account created or a Scheduled (recurring) check.
  • If / Else: checks conditions, such as total spent this month or the account's customer group, and sends the workflow down a Yes or No branch.
  • Delay: waits minutes, hours or days before continuing.
  • Actions: what the workflow does, such as Change account group, Send email, Issue a credit memo or Create a CRM activity.

What you can automate

GoalTriggerExample actions
Customer tiers and VIP programsOrder placedChange account group, Send email
Monthly minimum purchase programsOrder placed + Scheduled (monthly)Change account group
Loyalty creditOrder placed (storefront only)Issue a credit memo
Onboarding new accountsAccount createdDelay, Send email, Create a CRM activity
Lead and opportunity follow-upAccount created / Account type or status changedEmail the account's sales rep, Create a CRM activity, Change account type / status
Payment terms by customer groupAccount group changedChange account payment terms
Win-back or downgrade inactive accountsScheduled (recurring)Change account group, Send email
Catalog upkeepProduct created / Order placedUpdate product attribute, Update product status / visibility / category
Sending data to other systemsOrder placed / Order status changedSend webhook, Export with Data Mapper

See Workflow Recipes for step-by-step setups of each.

Templates

Create New Workflow offers ready-made templates you can adjust:

TemplateWhat it does
Promote frequent buyersWhen an order is placed, if the account placed more than 5 orders in the last 30 days, change its customer group.
VIP by lifetime spendWhen an order is placed, if the account's total spend is at least $5,000, change its customer group and email your team.
Welcome new accountsWhen an account is created, wait 1 day, then email the account's primary contact.
Downgrade inactive accountsEvery day, if an account hasn't ordered in 180 days, change its customer group.
Flag bestsellersWhen a product is ordered more than 10 times in 30 days, set an attribute to Yes.
Refresh bestsellers dailyEvery day, set the bestseller attribute to Yes or No based on the last 30 days.

Templates leave the store-specific values blank, such as which customer group to use. Steps that still need a value show a red !.

Good to know

  • New workflows start inactive. Nothing runs until you turn a workflow on and save it, so you can build and test first.
  • Test before you activate. Test runs the workflow against a real account, contact or product and shows exactly what would happen, without changing anything.
  • Workflows don't trigger each other. A change made by a workflow, such as moving an account to a new customer group, won't start another workflow that listens for that change. This prevents loops.
  • Workflows run in the background. After the trigger, runs are queued and usually finish within a few minutes. Delays wait until their scheduled time.
  • Who can use Workflows: admins with the Setup permission, store owners and full access users.
🚧

Order Automation Rules are different

Order Automation Rules send reminder emails for orders and quotes. Workflows automate actions for accounts, contacts and products.


Did this page help you?