Add order tags
The Add order tags action adds a tag to the order that triggers the workflow.
The Add order tags action contains the following fields.
|Tags||The tags to add to an order. Tags are case sensitive. To add multiple tags, do one of the following:
In addition to adding separate tags by pressing the enter key for each one, its important to note that tags are also split by commas. So typing tag1,tag2 will show up in the UI as tag1,tag2 in a single block, but will apply 2 tags (tag1 and tag2). This has benefits in that liquid can produce a comma-separated list of tags and have all of them applied (although that functionality is actually broken on FlowV2 right now).
The Add order tags action has a hidden field added to it by the trigger. This field, Order ID, identifies the order to add tags to. The order ID is set by default and can't be changed.
The Add order tags action can be used in workflows that start with the following triggers:
- Fulfillment created
- Fulfillment event created
- Order cancelled
- Order created
- Order fulfilled
- Order paid
- Order risk analyzed
- Order transaction created
- Refund created
- Tender transaction created
In this example workflow, the
new tag is added to all newly created orders.
To learn more, review the tagsAdd mutation.