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

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

HTTP Request, Stop And Error
Web Scraping

This workflow receives a webhook with an image-edit prompt, a video-motion prompt, and a caption, generates a stylized image with AtlasCloud (OpenAI GPT Image 2) and a vertical video with AtlasCloud (

HTTP Request, @Blotato/N8N Nodes Blotato, Stop And Error
Web Scraping

Automated Email Verification & Digital Health Card Generator

HTTP Request, Google Drive, Gmail +5
Web Scraping

A robust n8n workflow template that automates the university admission process for colleges, universities, and educational programs. This workflow validates student emails, generates professional PDF

Stop And Error, N8N Nodes Verifiemail, N8N Nodes Htmlcsstopdf +2
Web Scraping

An importable n8n workflow that creates, updates, and lists entries on Strapi v5 through a single webhook. It talks to Strapi’s REST API with HTTP Request nodes and a Strapi Token API credential, so i

HTTP Request, Stop And Error