Flow Automation: Canceling Orders
In a Flow Automation workflow, you can set up the Cancel Order action to automatically cancel customer-placed or manually created orders. You can also log a cancellation reason and notify internal staff, helping improve risk control and operational efficiency.
Field Description
| Field | Description |
| Cancellation Reason | You can enter a fixed reason or insert dynamic parameters (e.g., customer email, order number) with the parameter selector. |
Supported Actions
The Cancel Order action can be used in workflows triggered by the following:
- [General] Loop Operation
Example Use Case
Here’s a real-world example of using the Cancel Order action — Cancel orders placed by specific email addresses and notify staff (available in risk warning templates):
- Trigger: Order is created
- Condition: Customer email address contains a specific keyword (e.g., example@test.com)
-
Actions:
- Cancel the order
- Mark the cancellation reason (e.g., "High Risk Email")
- Send an internal email notification to staff
Available Templates
Here are some ready-to-use workflow templates that include the Cancel Order action. You can import and customize them based on your needs:
- Auto-cancel orders when a customer places more than 10 orders simultaneously: After an order is created, the system checks if the customer has placed more than 10 orders within a specific timeframe. If so, the order is canceled with a reason like "High risk."
- Cancel orders from specific email addresses and notify staff: If the order contains an email address on a risk list, the system cancels the order after creation and notifies internal team members by email.
- Auto-cancel orders from specific countries: If the shipping address is from a restricted country, the system cancels the order after it's created and logs a defined cancellation reason.