Skip to content
Sales & CRM

Inbound webhook ticket intake with validation gate

6 nodes 6 0 Webhook
Download

Loading workflow…

Workflow Description

The workflow receives POST requests on a fixed webhook path, normalizes the request body into an input field tagged with a source label, and checks that the input is not empty. Valid payloads are forwarded via an HTTP POST to an external placeholder endpoint using generic credentials with a REPLACE_WITH_YOUR_VALUE body, then answered with a JSON accepted response; empty payloads return an invalid JSON response without any forwarding.

How it works

  1. 1.Webhook Trigger accepts POST requests on path customer-support-inbound-ticket-router-intake with response deferred to a response node.
  2. 2.Normalize Input sets input from the request body and a fixed source value while keeping existing fields.
  3. 3.Validate Input branches on whether the input field is non-empty.
  4. 4.Forward To Service sends a POST to api.example.com using genericCredentialType authentication and a placeholder body value the user must replace.
  5. 5.Respond Success returns {"status": "accepted"}, while Respond Invalid returns {"status": "invalid"} for empty input.

Use cases

  • Front-door intake for support tickets submitted from external forms before routing to a helpdesk API.
  • Simple template for filtering empty submissions before calling an internal service.

Requirements

  • Configure a generic HTTP credential on the Forward To Service node.
  • Replace the placeholder URL and REPLACE_WITH_YOUR_VALUE body parameter with real endpoint and payload values.
  • Activate the workflow in n8n so the webhook becomes reachable.

Setup and testing in n8n

  1. POST to the webhook path with a non-empty body and confirm the accepted JSON response.
  2. POST with an empty body and confirm the invalid response with no outbound HTTP call.
  3. Inspect the n8n execution log to verify which validation branch ran.

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 6
Downloads 0

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