Skip to content
General Automation

Inbound Query Intake Router via Webhook Validation

6 nodes 69 3 Webhook
Download

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. 1.The webhook node listens for POST requests on the configured path and defers the response to a response node.
  2. 2.The Normalize Input node maps the request body to an input field and tags it with a fixed source value.
  3. 3.The IF node checks that the input field is not empty to branch the flow.
  4. 4.The HTTP Request node POSTs a placeholder parameter to an external URL secured with genericCredentialType authentication.
  5. 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

  1. 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.
  2. 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

Webhook Set If HTTP Request

Details

Trigger Webhook
Nodes 6
Apps 4
Views 69
Downloads 3

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