[ { "label": "Set a customer's marketing status to subscribed", "trigger_type": [ "customer_created" ], "object_type": "customer", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": [], "actions": { "1": { "type": "customer_set_fields", "settings": { "token_object_type": "customer", "fields": { "accepts_marketing": { "value": "1" } }, "wait": "0", "cw_timezone": "Africa\/Nairobi", "custom_wait": "" }, "weight": 999, "target_key": "customer" } } } }, "instructions": "To get started. \r\n1. Ensure the workflow is triggered appropriately. If needed for customer updates, change the trigger option to \"when customer is updated.\"\r\n2. Add a condition to target specific customers for whom the marketing status should be set to subscribed.", "shared_workflow_id": 283429 }, "description": "This automation is triggered whenever a new customer is created, setting the customer's marketing status to subscribed. This workflow is very helpful for merchants who wish to have all customers subscribed to marketing by default. \r\nThe automation can also be extended to include conditions and filters that would allow the marketing status option to be automatically applied to a specific segment of customers based on the customers' details.\r\nPro tip: If you wish to have the marketing status updated after customer creation, you can also adjust the workflow trigger to have this updated when a customer is updated." } ]