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 itGo 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 for | Use it to… | Example |
|---|---|---|
| Accounts | Reward, segment or follow up with B2B accounts | When 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. |
| Contacts | Act on individual buyers | When a contact is created, wait one day, then send them a welcome email. |
| Products | Keep catalog data up to date | When 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
| Goal | Trigger | Example actions |
|---|---|---|
| Customer tiers and VIP programs | Order placed | Change account group, Send email |
| Monthly minimum purchase programs | Order placed + Scheduled (monthly) | Change account group |
| Loyalty credit | Order placed (storefront only) | Issue a credit memo |
| Onboarding new accounts | Account created | Delay, Send email, Create a CRM activity |
| Lead and opportunity follow-up | Account created / Account type or status changed | Email the account's sales rep, Create a CRM activity, Change account type / status |
| Payment terms by customer group | Account group changed | Change account payment terms |
| Win-back or downgrade inactive accounts | Scheduled (recurring) | Change account group, Send email |
| Catalog upkeep | Product created / Order placed | Update product attribute, Update product status / visibility / category |
| Sending data to other systems | Order placed / Order status changed | Send 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:
| Template | What it does |
|---|---|
| Promote frequent buyers | When an order is placed, if the account placed more than 5 orders in the last 30 days, change its customer group. |
| VIP by lifetime spend | When 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 accounts | When an account is created, wait 1 day, then email the account's primary contact. |
| Downgrade inactive accounts | Every day, if an account hasn't ordered in 180 days, change its customer group. |
| Flag bestsellers | When a product is ordered more than 10 times in 30 days, set an attribute to Yes. |
| Refresh bestsellers daily | Every 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 differentOrder Automation Rules send reminder emails for orders and quotes. Workflows automate actions for accounts, contacts and products.
Updated about 3 hours ago
