[ { "label": "Remove \"new\" tag after a period of time", "trigger_type": [ "product_created", "product_updated" ], "object_type": "product", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [ { "field": "product.tags", "settings": { "operator": "equals", "value": "NEW", "long_value": "new", "condition_type": "AND" }, "weight": 1 }, { "field": "product.database", "settings": { "multiple": "any", "key": "new_item_timer_started", "operator": "not_equals", "value": "1", "condition_type": "AND" }, "weight": 2 } ], "actions": [ { "type": "database_key_value", "settings": { "wait": "0", "custom_wait": "", "resource_type": "products", "resource_id": "{{ product.id }}", "key": "new_item_timer_started", "value": "1" }, "weight": 999, "target_key": "product" }, { "type": "product_remove_tags", "settings": { "wait": "60", "custom_wait": "", "tags": "NEW" }, "weight": 999, "target_key": "product" }, { "type": "database_key_value", "settings": { "wait": "60", "custom_wait": "", "resource_type": "products", "resource_id": "{{ product.id }}", "key": "new_item_timer_started", "value": "0" }, "weight": 999, "target_key": "product" } ] } ], "shared_workflow_id": 1589 }, "description": "Listens for a specific tag to be added in your store and removes the tag after a period of time." } ]