Skip to content
General Automation

Internal Request Intake Router via Webhook

6 nodes 43 4 Webhook
Download

Loading workflow…

Workflow Description

The workflow receives POST requests on a webhook, normalizes the payload by copying the request body into an input field with a fixed source label, and checks that the field is non-empty. Valid input is forwarded via an HTTP POST to a placeholder external endpoint using a generic credential type, after which a JSON response with status accepted is returned. Empty input skips forwarding and returns a JSON response with status invalid.

How it works

  1. 1.Webhook Trigger accepts POST requests on the configured path with responseNode mode.
  2. 2.Normalize Input copies body into input and adds a source field naming the template.
  3. 3.Validate Input checks that input is not empty and splits execution into two branches.
  4. 4.The true branch sends an HTTP POST to api.example.com with a placeholder body parameter that must be replaced.
  5. 5.Respond Success and Respond Invalid return JSON bodies with status accepted or invalid.

Use cases

  • Unified intake endpoint for internal requests before handing them to a processing service.
  • Filtering empty submissions and immediately notifying the caller of the outcome.
  • Starter template for building customized internal routing pipelines.

Requirements

  • Activate the workflow in n8n so the webhook path becomes reachable.
  • Replace the placeholder URL and REPLACE_WITH_YOUR_VALUE body parameter with real service values.
  • Configure a genericCredentialType HTTP credential in n8n for the Forward To Service node.
  • Allow network access from the n8n host to the destination service.

Setup and testing in n8n

  1. Send a POST to the webhook path with a non-empty body and verify an accepted response.
  2. Send a POST with an empty or missing body and verify an invalid response.

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Webhook Set If HTTP Request

Details

Trigger Webhook
Nodes 6
Apps 4
Views 43
Downloads 4

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (6)

Webhook Trigger

Webhook

#1

Normalize Input

Set

#2

Validate Input

If

#3

Forward To Service

HTTP Request

#4

Respond Success

Webhook

#5

Respond Invalid

Webhook

#6

Source and license

Sticky Note

#7
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime