Skip to content
General Automation

Webhook-based pipeline failure intake and forwarding router

6 nodes 19 1 Webhook
Download

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. 1.Receive a POST request on the webhook path data-engineering-pipeline-failure-intake-router-intake with responseMode set to responseNode.
  2. 2.Normalize Input (Set node) copies the request body into an input field and adds a static source value.
  3. 3.Validate Input (If node) checks that the input string is not empty.
  4. 4.On the true branch, Forward To Service sends a POST with a placeholder body parameter and genericCredentialType authentication.
  5. 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

  1. POST a non-empty body to the webhook path and confirm an accepted response.
  2. POST an empty body and confirm an invalid response with no outbound request.
  3. 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

Webhook Set If HTTP Request

Details

Trigger Webhook
Nodes 6
Apps 4
Views 19
Downloads 1

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