Webhook-based pipeline failure intake and forwarding router
Loading workflow…
Workflow Description
This workflow receives POST requests on a dedicated webhook path, normalizes the payload body into an input field with a fixed source label, and checks that the input is not empty. Valid requests are forwarded to a placeholder external endpoint (api.example.com) via HTTP with generic credentials, and the caller receives {"status":"accepted"}. Empty input short-circuits to a {"status":"invalid"} response with no forwarding.
How it works
- 1.Receive a POST request on the webhook path data-engineering-pipeline-failure-intake-router-intake with responseMode set to responseNode.
- 2.Normalize Input (Set node) copies the request body into an input field and adds a static source value.
- 3.Validate Input (If node) checks that the input string is not empty.
- 4.On the true branch, Forward To Service sends a POST with a placeholder body parameter and genericCredentialType authentication.
- 5.Respond Success returns {"status":"accepted"} after forwarding; Respond Invalid returns {"status":"invalid"} on the false branch.
Use cases
- Central intake endpoint for data engineering pipeline failure notifications before routing them to an external system.
- Early rejection of empty or malformed payloads with an explicit invalid response.
Requirements
- Activate the workflow so the webhook endpoint becomes reachable.
- Configure genericCredentialType credentials for the HTTP Request node and replace the placeholder URL api.example.com.
- Replace the REPLACE_WITH_YOUR_VALUE placeholder in the request body with the real payload value.
Setup and testing in n8n
- POST a non-empty body to the webhook path and confirm an accepted response.
- POST an empty body and confirm an invalid response with no outbound request.
- Inspect the execution log to verify which validation branch ran and whether the HTTP call succeeded.
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