[ { "version": 1, "label": "Tag orders that include specific products", "trigger_type": [ "order_paid" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": { "1": { "field": "order.line_items.product_id", "settings": { "multiple": "any", "operator": "equals", "value": "CHOOSE A PRODUCT", "token_object_type": "order", "condition_type": "AND" }, "weight": 999 } }, "actions": [ { "type": "order_add_tags", "settings": { "wait": "0", "custom_wait": "", "tags": "CLICK TO EDIT" }, "weight": 999, "target_key": "order" } ] } ] }, "description": "This workflow fires when an order is paid. It scans all line items in the order, looking for specific product ids and adds a tag if the target product is found in the order." } ]