AutomationFlowsData & Sheets › Parser Shape

Parser Shape

parser-shape. Uses postgres. Webhook trigger; 7 nodes.

Webhook trigger★★★★☆ complexity7 nodesPostgres
Data & Sheets Trigger: Webhook Nodes: 7 Complexity: ★★★★☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "parsershape00001",
  "name": "parser-shape",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "parser-shape",
        "responseMode": "responseNode",
        "options": {
          "rawBody": true
        }
      },
      "id": "aa000000-0000-4000-8000-000000000001",
      "name": "Intake Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        0,
        300
      ]
    },
    {
      "parameters": {
        "mode": "runOnceForAllItems",
        "language": "javaScript",
        "jsCode": "return [{ json: { ok: true } }];"
      },
      "id": "aa000000-0000-4000-8000-000000000002",
      "name": "Check Signature",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        220,
        300
      ]
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "aa000000-0000-4000-8000-000000000003-cond",
              "leftValue": "={{ $json.ok }}",
              "rightValue": "",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "id": "aa000000-0000-4000-8000-000000000003",
      "name": "Route Request",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.3,
      "position": [
        440,
        300
      ]
    },
    {
      "parameters": {
        "operation": "executeQuery",
        "query": "INSERT INTO parser_shape (key) VALUES ($1) RETURNING id;",
        "options": {
          "queryReplacement": "={{ ['k'] }}"
        }
      },
      "id": "aa000000-0000-4000-8000-000000000004",
      "name": "Store Record",
      "type": "n8n-nodes-base.postgres",
      "typeVersion": 2.7,
      "position": [
        660,
        220
      ],
      "credentials": {
        "postgres": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "executeQuery",
        "query": "INSERT INTO parser_shape_audit (key) VALUES ($1) RETURNING id;",
        "options": {
          "queryReplacement": "={{ ['k'] }}"
        }
      },
      "id": "aa000000-0000-4000-8000-000000000005",
      "name": "Audit Trail",
      "type": "n8n-nodes-base.postgres",
      "typeVersion": 2.7,
      "position": [
        880,
        220
      ],
      "credentials": {
        "postgres": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ ({ status: 'ok' }) }}",
        "options": {
          "responseCode": 200
        }
      },
      "id": "aa000000-0000-4000-8000-000000000006",
      "name": "Confirm Stored",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.5,
      "position": [
        1100,
        220
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ ({ status: 'rejected' }) }}",
        "options": {
          "responseCode": 400
        }
      },
      "id": "aa000000-0000-4000-8000-000000000007",
      "name": "Reject Request",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.5,
      "position": [
        660,
        400
      ]
    }
  ],
  "connections": {
    "Intake Webhook": {
      "main": [
        [
          {
            "node": "Check Signature",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Signature": {
      "main": [
        [
          {
            "node": "Route Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route Request": {
      "main": [
        [
          {
            "node": "Store Record",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Reject Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Record": {
      "main": [
        [
          {
            "node": "Audit Trail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Audit Trail": {
      "main": [
        [
          {
            "node": "Confirm Stored",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "errorWorkflow": "parsershapeerr01",
    "timezone": "Australia/Brisbane"
  },
  "active": false
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

parser-shape. Uses postgres. Webhook trigger; 7 nodes.

Source: https://github.com/jarrod-wright/n8n-workflow-hardening/blob/main/linter/fixtures/parser/parser-shape.workflow.json — original creator credit. Request a take-down →

More Data & Sheets workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Data & Sheets

CMM. Uses httpRequest, postgres, redis. Webhook trigger; 90 nodes.

HTTP Request, Postgres, Redis
Data & Sheets

Scraping. Uses httpRequest, postgres, @apify/n8n-nodes-apify, respondToWebhook. Webhook trigger; 61 nodes.

HTTP Request, Postgres, @Apify/N8N Nodes Apify
Data & Sheets

Projects. Uses postgres. Webhook trigger; 58 nodes.

Postgres
Data & Sheets

Workflow B — AI Listing Engine. Uses httpRequest, postgres, errorTrigger. Webhook trigger; 47 nodes.

HTTP Request, Postgres, Error Trigger
Data & Sheets

How it works

Postgres, Email Send