New source webhook intake with validation and forwarding
Loading workflow…
Workflow Description
The workflow receives POST requests on a dedicated webhook path, normalizes the request body into an input field tagged with a source name, and checks that the field is not empty. Valid payloads are forwarded via HTTP POST to an external placeholder endpoint using generic credentials, after which a JSON response with status accepted is returned; invalid payloads return a JSON response with status invalid.
How it works
- 1.Webhook Trigger listens for POST requests on path data-engineering-new-source-onboarding-trigger-intake with responseMode set to responseNode
- 2.Normalize Input (Set node) maps the request body to an input field and adds a fixed source label
- 3.Validate Input (IF node) routes non-empty input to the forwarding branch and empty input to the invalid-response branch
- 4.Forward To Service sends a POST with a placeholder body parameter to https://api.example.com/... using genericCredentialType authentication
- 5.Respond Success and Respond Invalid return JSON bodies {"status": "accepted"} or {"status": "invalid"} respectively
Use cases
- Entry point for onboarding payloads from a new data source before handing them to a downstream service
- Template pattern for basic request-shape validation with immediate HTTP responses to the caller
Requirements
- Workflow must be activated in n8n so the webhook path becomes callable
- A generic credential type must be created in n8n and attached to the Forward To Service node
- The placeholder URL (api.example.com) and placeholder body value must be replaced with real service details before use
Setup and testing in n8n
- POST a request with a non-empty body to the webhook path and expect an accepted JSON response
- POST a request with an empty body and expect an invalid JSON response
- Verify the downstream service URL and credential configuration before exercising the forwarding branch
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