0922 Code Webhook Create Webhook

0922 Code Webhook Create Webhook

Webhook
High
16
Nodes
Webhook
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
16
Node Types
7

Node Types

if
Check Authorization Header, Check Valid Request
2 nodes
respond To Webhook
401 Unauthorized, 200 OK, 400 Bad Request
3 nodes
set
Configuration, Create Response
2 nodes
webhook
Webhook
1 node
code
Has required fields?
1 node
sticky Note
Sticky Note, Sticky Note1, Sticky Note2, Sticky Note3, Sticky Note4, Sticky Note6
6 nodes
no Op
Add workflow nodes here
1 node

Workflow JSON

12.21 KB
{
  "meta": {
    "instanceId": "dfb8aefc80b77b230bd90d6a6e5210eb7a28e6e1d2a8b1d27d54942b54eb9e7a",
    "templateCredsSetupCompleted": true
  },
  "name": "0922 Code Webhook Create Webhook",
  "nodes": [
    {
      "id": "4f42007b-3813-410f-a608-5af89459b14f",
      "name": "Check Authorization Header",
      "type": "n8n-nodes-base.if",
      "position": [
        -20,
        20
      ],
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{ $('Webhook').item.json.headers.authorization }}",
              "value2": "=Bearer {{ $json.config.bearerToken }}"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "86d6157e-593d-4370-a480-1a9417300555",
      "name": "401 Unauthorized",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        340,
        280
      ],
      "parameters": {
        "options": {
          "responseCode": 401
        },
        "respondWith": "js...

Showing first 1000 characters. Click "Expand" to view the full JSON.