[ { "label": "Tag order with all product tags", "trigger_type": [ "order_created", "order_updated" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [ { "field": "order.line_items.product.tags", "settings": { "multiple": "any", "operator": "not_empty", "value": "", "long_value": "", "condition_type": "AND" }, "weight": 999 } ], "actions": [ { "type": "order_add_tags", "settings": { "wait": "0", "custom_wait": "", "tags": "{% for line_item in order.line_items %}{{ line_item.product.tags }}, {% endfor %}" }, "weight": 999, "target_key": "order" } ] } ], "shared_workflow_id": 647 }, "description": "This workflow tags order on creation with tags from the line items purchased. This workflow is very helpful in empowering merchants to isolate orders based on the ordered items. " } ]