[ { "label": "Send all customers a batch text about a sale", "trigger_type": [ "customer_custom" ], "object_type": "customer", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": [ { "field": "customer.phone", "settings": { "operator": "not_empty", "value": "", "long_value": "", "token_browser": "{{ Browse Tokens }}", "condition_type": "AND" }, "weight": 999 }, { "field": "customer.accepts_marketing", "settings": { "value": "true", "condition_type": "AND" }, "weight": 999 } ], "actions": [ { "type": "sms", "settings": { "wait": "0", "custom_wait": "", "to": "{{ customer.phone }}", "body": "New Sale! Buy one get 20% off all products! {{ shop.domain }}" }, "weight": 999, "target_key": "customer" } ] } }, "shared_workflow_id": 2078 }, "description": "This automation works using our on-demand feature which means that you can run it on several customers at once via the Shopify admin interface. The workflow works by checking if the customer is subscribed to marketing content and whether they have a phone number stored on their profile and then sends a custom SMS message. You can use this to notify customers about an upcoming sale in your store." } ]