{
  "name": "High-Value Customer Auto-Tag",
  "description": "Example Shopify Flow: On Order Created, if order total >= 200, tag customer as High-Value and trigger webhook/automation.",
  "trigger": "order_created",
  "conditions": [
    {
      "field": "order.total_price",
      "op": ">=",
      "value": 200
    }
  ],
  "actions": [
    {
      "type": "customer.add_tags",
      "tags": [
        "High-Value"
      ]
    },
    {
      "type": "webhook.post",
      "url": "https://YOUR-AUTOMATION-ENDPOINT.example/flow/high-value-customer",
      "payload": {
        "order_id": "{{order.id}}",
        "customer_id": "{{customer.id}}"
      }
    }
  ],
  "notes": "Replace thresholds, tags, and webhook endpoint. Validate in Shopify Flow."
}