{
  "name": "WooCommerce Bestellung zu CRM",
  "nodes": [
    {
      "parameters": {
        "path": "woocommerce-order-to-crm",
        "responseMode": "lastNode",
        "options": {}
      },
      "id": "woocommerce-order-to-crm-1",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "notes": "WooCommerce Bestellungen an CRM oder Baserow übergeben und Follow-ups auslösen."
    },
    {
      "parameters": {},
      "id": "woocommerce-order-to-crm-2",
      "name": "Set",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        260,
        0
      ]
    },
    {
      "parameters": {},
      "id": "woocommerce-order-to-crm-3",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        520,
        0
      ]
    },
    {
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{ $json.status || \"ok\" }}",
              "operation": "isNotEmpty"
            }
          ]
        }
      },
      "id": "woocommerce-order-to-crm-4",
      "name": "IF",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        780,
        0
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Set",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "IF",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "timezone": "Europe/Berlin"
  },
  "staticData": null,
  "meta": {
    "templateId": "n8nexperten-woocommerce-order-to-crm",
    "description": "WooCommerce Bestellungen an CRM oder Baserow übergeben und Follow-ups auslösen.",
    "setupSteps": [
      "Webhook in WooCommerce einrichten.",
      "Order-Felder reduzieren.",
      "Kunden nach E-Mail suchen.",
      "CRM Datensatz erstellen oder aktualisieren."
    ],
    "privacyNotes": [
      "Bestelldaten sind personenbezogen.",
      "Nur notwendige Felder ins CRM übertragen.",
      "Logs und Zugriffe prüfen."
    ],
    "testPayload": {
      "orderId": "wc-123",
      "email": "kunde@example.com",
      "total": "149.00",
      "status": "processing"
    }
  }
}