[ { "label": "Tag a customer when an order is paid depending on their current existing tag", "trigger_type": [ "order_paid" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": { "1": { "field": "order.tags_array", "settings": { "multiple": "any", "operator": "equals", "value": "invite", "long_value": "", "token_object_type": "order", "condition_type": "AND" }, "weight": 999 } }, "actions": { "1": { "type": "order_add_remove_tags", "settings": { "wait": "0", "custom_wait": "", "add_tags": "Basique", "remove_tags": "invite", "token_object_type": "order" }, "weight": 999, "target_key": "order" } } }, "2": { "conditions": { "1": { "field": "order.tags_array", "settings": { "multiple": "any", "operator": "equals", "value": "Basique", "long_value": "invite", "token_object_type": "order", "condition_type": "AND" }, "weight": 999 } }, "actions": { "1": { "type": "order_add_remove_tags", "settings": { "wait": "0", "custom_wait": "", "add_tags": "Membre", "remove_tags": "Basique", "token_object_type": "order" }, "weight": 999, "target_key": "order" } } }, "3": { "conditions": { "1": { "field": "order.tags_array", "settings": { "multiple": "any", "operator": "equals", "value": "Membre", "long_value": "Membre", "token_object_type": "order", "condition_type": "AND" }, "weight": 999 } }, "actions": { "1": { "type": "order_add_remove_tags", "settings": { "wait": "0", "custom_wait": "", "add_tags": "Ambassadeur", "remove_tags": "Membre", "token_object_type": "order" }, "weight": 999, "target_key": "order" } } } }, "shared_workflow_id": 37325 }, "description": "This automation adds and removes tags from a customer depending on the current tags attached to the account" } ]