Webhook task intake router with validation and forwarding
Loading workflow…
Workflow Description
A template workflow that receives POST requests on a fixed webhook path, normalizes the payload by setting input from the request body plus a static source field, and checks that input is not empty. Valid requests are forwarded via an authenticated HTTP POST to a placeholder endpoint that must be configured, then answered with {"status":"accepted"}; invalid ones get {"status":"invalid"} directly.
How it works
- 1.Webhook Trigger receives POST requests at the configured path and defers the response to a response node.
- 2.Normalize Input (Set) maps body into an input field and adds a fixed source value.
- 3.Validate Input (IF) checks that input is not empty and splits the flow.
- 4.The valid branch sends an HTTP POST with generic credentials and a placeholder body to a placeholder URL.
- 5.Respond to Webhook nodes return accepted or invalid JSON depending on the branch.
Use cases
- Front-door endpoint for collecting tasks from external tools before pushing them to a project management service.
- Starter template for basic input validation and routing of inbound webhook payloads.
Requirements
- Replace the placeholder URL and body value in Forward To Service with real values.
- Create and assign an HTTP credential of type genericCredentialType to the Forward To Service node.
- Activate the workflow manually; it is currently inactive.
Setup and testing in n8n
- POST a JSON body with a non-empty body field and expect an accepted response.
- POST an empty body or missing input and expect an invalid response.
- Configure real credentials and endpoint before testing against the actual service.
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