{
  "name": "Regression n8n cases",
  "active": false,
  "nodes": [
    {
      "id": "r1",
      "name": "Webhook with header auth",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        0,
        0
      ],
      "parameters": {
        "httpMethod": "POST",
        "path": "regression",
        "authentication": "headerAuth",
        "responseMode": "responseNode"
      }
    },
    {
      "id": "r5",
      "name": "Lookup with error output",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        200,
        0
      ],
      "parameters": {
        "method": "GET",
        "url": "https://api.example.com/lookup"
      },
      "onError": "continueErrorOutput"
    },
    {
      "id": "r2",
      "name": "POST with idempotency key",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        400,
        0
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.example.com/orders",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Idempotency-Key",
              "value": "={{ $json.order_id }}"
            },
            {
              "name": "Authorization",
              "value": "={{ $env.SERVICE_TOKEN }}"
            }
          ]
        }
      },
      "retryOnFail": true,
      "maxTries": 3,
      "waitBetweenTries": 5000
    },
    {
      "id": "r3",
      "name": "Upsert contact",
      "type": "n8n-nodes-base.hubspot",
      "typeVersion": 2,
      "position": [
        600,
        0
      ],
      "parameters": {
        "resource": "contact",
        "operation": "upsert"
      },
      "retryOnFail": true,
      "maxTries": 3,
      "waitBetweenTries": 5000
    },
    {
      "id": "r4",
      "name": "PUT without key",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        800,
        0
      ],
      "parameters": {
        "method": "PUT",
        "url": "https://api.example.com/items/1"
      },
      "retryOnFail": true,
      "maxTries": 2,
      "waitBetweenTries": 500
    },
    {
      "id": "r8",
      "name": "Respond",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        1000,
        0
      ],
      "parameters": {}
    },
    {
      "id": "r6",
      "name": "Legacy continue",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3,
      "position": [
        200,
        200
      ],
      "parameters": {},
      "continueOnFail": true
    },
    {
      "id": "r7",
      "name": "Literal token call",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        400,
        200
      ],
      "parameters": {
        "method": "GET",
        "url": "https://api.example.com/me",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer REPLACE_ME"
            }
          ]
        }
      }
    },
    {
      "id": "r8",
      "name": "App node default operation",
      "type": "n8n-nodes-base.salesforce",
      "typeVersion": 1,
      "position": [
        600,
        200
      ],
      "parameters": {
        "resource": "lead"
      },
      "retryOnFail": true,
      "maxTries": 3
    },
    {
      "id": "r9",
      "name": "Sanitized node",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        800,
        200
      ],
      "retryOnFail": true,
      "maxTries": 3,
      "waitBetweenTries": 2000
    }
  ],
  "connections": {
    "Webhook with header auth": {
      "main": [
        [
          {
            "node": "Lookup with error output",
            "type": "main",
            "index": 0
          },
          {
            "node": "Literal token call",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lookup with error output": {
      "main": [
        [
          {
            "node": "POST with idempotency key",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "POST with idempotency key": {
      "main": [
        [
          {
            "node": "Upsert contact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upsert contact": {
      "main": [
        [
          {
            "node": "PUT without key",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "PUT without key": {
      "main": [
        [
          {
            "node": "Respond",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "errorWorkflow": "wf-error-handler",
    "saveDataErrorExecution": "all"
  }
}
