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
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.