IT Ticket Intake Webhook Router With Validation
Loading workflow…
Workflow Description
The workflow receives POST requests on a webhook, extracts the body into an input field along with a source label, then checks that the value is not empty. If valid, it forwards the payload via an HTTP POST to a placeholder external service using generic credential authentication and replies with an accepted status; otherwise it replies invalid without forwarding.
How it works
- 1.A Webhook node accepts POST requests on path it-ops-security-ticket-intake-router-intake with response deferred to a later node
- 2.A Set node copies the request body into an input field and adds a source field labeled IT Ticket Intake Router
- 3.An If node branches on whether input is not empty
- 4.An HTTP Request node POSTs to a placeholder URL with genericCredentialType authentication and a placeholder body parameter
- 5.Respond to Webhook nodes return accepted after forwarding, or invalid when validation fails
Use cases
- Front-door endpoint for support tickets that relays them to an external ticketing system
- Basic payload validation gate before handing requests to a downstream service
Requirements
- Replace the placeholder URL and placeholder body parameter in Forward To Service with real endpoint values
- Configure a genericCredentialType HTTP credential in n8n used by the forwarding request
- Activate the workflow so the webhook can receive requests
Setup and testing in n8n
- Send a POST request with a non-empty body to the webhook path and expect an accepted response
- Send a POST request with an empty or missing body and expect an invalid response
- Check execution logs to confirm which validation branch each request followed
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