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.
On this page
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. - Create redirect URL
- Delete redirect URLs
- Remove customer tags
- Remove draft order metafield
- Remove draft order tags
- Remove shop metafield
- Send HTTP request
- Send internal email
- Send draft order invoice
- Update customer note
- Update draft order metafield
- Update draft order note
- Update shop metafield
- Wait
Example
![Example of a workflow that adds tags to a customer when a draft order is created](https://cdn.shopify.com/shopifycloud/help/assets/manual/apps/flow/flowv2/draft-order-created-963a6d2f165a99f8dc59a9ed5e7914ecd809c2f892b754eaf2201d8b5788cd5c.png)
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.