{
  "name": "FlowKI \u00b7 Rechnung bei Zahlungseingang (LexOffice) \u2014 Grundger\u00fcst",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "zahlung-eingang",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        -420,
        0
      ],
      "id": "a6000000-0000-4000-8000-000000000001",
      "name": "Zahlung empfangen (z.B. Stripe)"
    },
    {
      "parameters": {},
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        -180,
        0
      ],
      "id": "a6000000-0000-4000-8000-000000000002",
      "name": "Bezahlt?"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.lexoffice.io/v1/vouchers",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        80,
        -100
      ],
      "id": "a6000000-0000-4000-8000-000000000003",
      "name": "Beleg in LexOffice anlegen"
    },
    {
      "parameters": {},
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        80,
        100
      ],
      "id": "a6000000-0000-4000-8000-000000000004",
      "name": "Ignorieren"
    }
  ],
  "connections": {
    "Zahlung empfangen (z.B. Stripe)": {
      "main": [
        [
          {
            "node": "Bezahlt?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bezahlt?": {
      "main": [
        [
          {
            "node": "Beleg in LexOffice anlegen",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Ignorieren",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "flowki": "Grundgeruest \u2014 LexOffice-API-Credential + Beleg-Felder setzen, Bedingung im IF definieren. Vor Produktiveinsatz testen."
  }
}