The Order deleted trigger starts a workflow when a user in your organization or a third-party app deletes an order.
The following actions can be used in workflows that start with the Order deleted trigger.
- Add shop metafield
- Create redirect URL
- Delete redirect URLs
- Remove shop metafield
- Send email
- Send HTTP request
In this example workflow, an email is sent when an order is deleted.
Testing the Order deleted trigger
To test a workflow that starts with this trigger, delete an order.
The Order deleted trigger allows actions to be taken with the Order Graphql API object.
Deleted objects are not available in the API. The order ID is the only detail you can get when an order is deleted. Other details are not available.