Inbound Query Intake Router via Webhook Validation
Loading workflow…
Workflow Description
This workflow receives inbound queries through a POST webhook, normalizes the payload by extracting the body into an input field, validates that the input is not empty, and forwards valid queries to a placeholder external API using generic credentials, returning JSON responses for accepted or invalid requests.
How it works
- 1.The webhook node listens for POST requests on the configured path and defers the response to a response node.
- 2.The Normalize Input node maps the request body to an input field and tags it with a fixed source value.
- 3.The IF node checks that the input field is not empty to branch the flow.
- 4.The HTTP Request node POSTs a placeholder parameter to an external URL secured with genericCredentialType authentication.
- 5.The Respond to Webhook nodes return JSON responses for accepted or invalid requests.
Use cases
- Receiving customer or AI agent queries and routing them to a downstream processing service.
- Acting as a lightweight intake gateway with basic empty-input validation before forwarding.
Requirements
- Activate the workflow so the webhook can receive incoming requests.
- Replace the placeholder URL and body parameter value in the HTTP Request node with real values.
- Configure a generic credential type for the HTTP Request node's authentication.
Setup and testing in n8n
- Send a POST request with a non-empty body to the webhook path and verify the external service receives it and an accepted response returns.
- Send a POST request with an empty body and verify an invalid response returns without an outbound request.
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