[ { "label": "Send customer email when orders with a certain payment type are marked as paid", "trigger_type": [ "order_paid" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [ { "field": "order.payment_gateway_names", "settings": { "multiple": "any", "operator": "equals", "value": "YOUR METHOD", "long_value": "YOUR METHOD", "token_browser": "{{ Browse Tokens }}", "condition_type": "AND" }, "weight": 999 } ], "actions": [ { "type": "email", "settings": { "wait": "0", "custom_wait": "", "to": "{{ order.customer.email }}", "cc": "", "bcc": "", "reply_to": "", "subject": "Order paid on {{ shop.name }}", "plain_text": "1", "body": "UPDATE ME" }, "weight": 999, "target_key": "order" } ] } ], "shared_workflow_id": 2393 }, "description": "This workflow checks the payment method of an order. If a particular gateway was used for the order, a follow-up email is sent to the customer. " } ]