Start a workflow from an order
Use the triggers "An order is placed" and "An order changes stage" to message a customer when their order is new or moves on.
Two workflow triggers start from orders. Use them to thank a customer or tell them where the order is.
The two triggers
| Trigger | When it runs |
|---|---|
| An order is placed | A customer places an order from their chat. The workflow starts on that chat. |
| An order changes stage | An order moves to a stage you pick: Confirmed, Out for delivery, Delivered, Cancelled. |
For An order changes stage, tick the stages that start the workflow under Order stages. If you tick nothing, any of these stages starts it.
The customer needs an open chat. If there is no open chat, nothing starts. These triggers cover orders made from chat. For orders from your Shopify or WooCommerce store, use the trigger A store order changes.
Set it up
Create a workflow
In Workflows, create a workflow. Under When it starts, choose An order is placed or An order changes stage.
Pick the stages
For An order changes stage, tick the stages under Order stages.
Write the message
Add a message step. Use the order variables in your text:
- Order number
{{sales_order.number}} - Order total
{{sales_order.total}} - Currency
{{sales_order.currency}} - Number of items
{{sales_order.item_count}} - Order stage
{{sales_order.stage}}
Turn the workflow on
Save and turn it on. Test it with an order of your own first.
Each order and stage starts the workflow once. If the same event arrives twice, the second one is ignored.