Inbound webhook ticket intake with validation gate
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.Webhook Trigger accepts POST requests on path customer-support-inbound-ticket-router-intake with response deferred to a response node.
- 2.Normalize Input sets input from the request body and a fixed source value while keeping existing fields.
- 3.Validate Input branches on whether the input field is non-empty.
- 4.Forward To Service sends a POST to api.example.com using genericCredentialType authentication and a placeholder body value the user must replace.
- 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
- POST to the webhook path with a non-empty body and confirm the accepted JSON response.
- POST with an empty body and confirm the invalid response with no outbound HTTP call.
- 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
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