Internal Request Intake Router via Webhook
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.Webhook Trigger accepts POST requests on the configured path with responseNode mode.
- 2.Normalize Input copies body into input and adds a source field naming the template.
- 3.Validate Input checks that input is not empty and splits execution into two branches.
- 4.The true branch sends an HTTP POST to api.example.com with a placeholder body parameter that must be replaced.
- 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
- Send a POST to the webhook path with a non-empty body and verify an accepted response.
- 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
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (6)
Webhook Trigger
Webhook
Normalize Input
Set
Validate Input
If
Forward To Service
HTTP Request
Respond Success
Webhook
Respond Invalid
Webhook
Source and license
Sticky Note
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