[ { "label": "Tag customer with VIP if they place more than five orders", "trigger_type": [ "order_created" ], "object_type": "order", "app_id": "triggers", "tags": [], "settings": { "priority": 0, "condition_groups": { "1": { "conditions": { "1": { "field": "order.customer.orders_count", "settings": { "operator": "gt", "value": "5", "token_object_type": "order", "condition_type": "AND" }, "weight": 999 }, "2": { "field": "order.customer.tags_array", "settings": { "multiple": "none", "operator": "equals", "value": "vip", "long_value": "", "token_object_type": "order", "condition_type": "AND" }, "weight": 999 } }, "actions": { "1": { "type": "customer_add_tags", "settings": { "wait": "0", "custom_wait": "", "tags": "vip", "token_object_type": "order" }, "weight": 999, "target_key": "order.customer" } } } }, "shared_workflow_id": 37786 } } ]