[ { "label": "Monitor product publication Across all channels with timestamp Records", "trigger_type": [ "product_updated" ], "object_type": "product", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": { "2": { "field": "product.database", "settings": { "multiple": "any", "key": "published_scope", "operator": "not_equals", "value": "{% for channel in product.channels %}\r\n {{ channel }}\r\n{% endfor %}", "token_object_type": "product", "condition_type": "AND" }, "weight": 10 } }, "actions": { "3": { "type": "google_sheets_v2", "settings": { "token_object_type": "product", "url": "[CLICK TO EDIT]", "title": null, "settings": { "tab": "0", "update_mode": "", "primary_key": "" }, "cells": [ { "weight": "0", "value": "{{product.title}}" }, { "weight": "1", "value": "{{product.updated_at}}" }, { "weight": "2", "value": "{{product.channels|join(',')|raw}}" } ], "wait": "0", "cw_timezone": "Africa\/Nairobi", "custom_wait": "" }, "weight": 20, "target_key": "product" }, "2": { "type": "database_key_value", "settings": { "token_object_type": "product", "resource_type": "products", "resource_id": "{{ product.id }}", "key": "published_scope", "value": "{% for channel in product.channels %}\r\n {{ channel }}\r\n{% endfor %}", "wait": "0", "cw_timezone": "Africa\/Nairobi", "custom_wait": "" }, "weight": 30, "target_key": "product" } } } }, "shared_workflow_id": 276237 } } ]