Draft order created
This page was printed on May 19, 2022. For the current version, visit https://help.shopify.com/en/manual/shopify-flow/reference/triggers/draft-order-created.
The Draft order created trigger starts a workflow when a user in your organization or a third-party app creates a draft order.
Actions
The following actions can be used in workflows that start with the Draft order created trigger.
- Add customer tags
-
Add draft order tags
After a draft order is converted to an order, these tags become order tags. - Add draft order metafield
- Add shop metafield
- Create redirect URL
- Delete redirect URLs
- Remove customer tags
- Remove draft order metafield
- Remove draft order tags
- Remove shop metafield
- Send email
- Send HTTP request
- Update customer note
- Update draft order note
- Wait
Example
In this example workflow, a tag is added to a customer profile when a draft order that they're attached to is created.
Testing the Draft order created trigger
To test a workflow that starts with this trigger, create a draft order.
API details
The Draft order created trigger allows actions to be taken with the DraftOrder Graphql API object.