AutomationFlowsWeb Scraping › Form Submission Validation

Form Submission Validation

Form Submission Validation. Uses httpRequest, stopAndError. Webhook trigger; 5 nodes.

Webhook trigger★★☆☆☆ complexity5 nodesHTTP RequestStop And Error
Web Scraping Trigger: Webhook Nodes: 5 Complexity: ★★☆☆☆ Added:

This workflow follows the HTTP Request → Stopanderror recipe pattern — see all workflows that pair these two integrations.

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
{
  "name": "Form Submission Validation",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "contact-form",
        "options": {}
      },
      "id": "wh-1",
      "name": "Form Submitted",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        200,
        400
      ]
    },
    {
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{ $json.body.email }}",
              "operation": "isNotEmpty"
            }
          ]
        },
        "combineOperation": "all"
      },
      "id": "if-1",
      "name": "Has Email?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        420,
        400
      ]
    },
    {
      "parameters": {
        "values": {
          "string": [
            {
              "name": "status",
              "value": "accepted"
            },
            {
              "name": "contact",
              "value": "={{ $json.body.email }}"
            }
          ]
        }
      },
      "id": "set-ok",
      "name": "Mark Accepted",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        640,
        280
      ]
    },
    {
      "parameters": {
        "url": "https://crm.example.com/api/contacts",
        "method": "POST",
        "bodyParameters": {
          "parameters": [
            {
              "name": "email",
              "value": "={{ $json.contact }}"
            }
          ]
        }
      },
      "id": "http-store",
      "name": "Store Contact",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        860,
        280
      ]
    },
    {
      "parameters": {
        "errorMessage": "Form rejected: missing email address"
      },
      "id": "stop-1",
      "name": "Reject Submission",
      "type": "n8n-nodes-base.stopAndError",
      "typeVersion": 1,
      "position": [
        640,
        520
      ]
    }
  ],
  "connections": {
    "Form Submitted": {
      "main": [
        [
          {
            "node": "Has Email?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has Email?": {
      "main": [
        [
          {
            "node": "Mark Accepted",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Reject Submission",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mark Accepted": {
      "main": [
        [
          {
            "node": "Store Contact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {},
  "id": "wf-form",
  "tags": [
    "forms"
  ]
}
Pro

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

About this workflow

Form Submission Validation. Uses httpRequest, stopAndError. Webhook trigger; 5 nodes.

Source: https://github.com/c4snipes/n8n-transpiler/blob/b996ed54e992700c837c2ae579a893a2c34ce3f7/examples/form_validation/workflow.json — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

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

Web Scraping

Syncro Alert to OpsGenie. Uses httpRequest, stopAndError. Webhook trigger; 8 nodes.

HTTP Request, Stop And Error
Web Scraping

Syncro Status Update Clockify. Uses clockify, httpRequest, stopAndError. Webhook trigger; 7 nodes.

Clockify, HTTP Request, Stop And Error
Web Scraping

comentarios automaticos. Uses httpRequest, stopAndError. Webhook trigger; 69 nodes.

HTTP Request, Stop And Error
Web Scraping

GiveWP Donations to Beacon. Uses httpRequest, stopAndError. Webhook trigger; 42 nodes.

HTTP Request, Stop And Error
Web Scraping

MCP Veo Video. Uses stopAndError, n8n-nodes-veo-video, httpRequest. Webhook trigger; 25 nodes.

Stop And Error, N8N Nodes Veo Video, HTTP Request