Webhook shipment intake validation and forwarding
Loading workflow…
Workflow Description
The workflow receives POST requests on a fixed webhook path, normalizes the payload into an input field, checks that it is not empty, forwards it to a placeholder external endpoint using generic HTTP credentials, and returns an accepted or invalid JSON response depending on validation.
How it works
- 1.Webhook node listens for POST requests on the defined path with response deferred to a response node.
- 2.A Set node copies the request body into an input field and adds a source label.
- 3.An IF node checks that input is not empty and branches the flow.
- 4.On the true branch an HTTP request POSTs to a placeholder URL with a replace-me body parameter using genericCredentialType.
- 5.Respond to Webhook nodes return {"status":"accepted"} after forwarding or {"status":"invalid"} on failed validation.
Use cases
- Entry point for receiving shipment notifications from external systems before handing them to a logistics service.
- Simple gate to reject empty payloads before downstream forwarding.
Requirements
- Workflow must be activated for the webhook to accept requests.
- Replace the placeholder URL and body parameter value with real endpoint details.
- Configure generic HTTP credentials for the Forward To Service node.
Setup and testing in n8n
- Send a POST with a non-empty body and expect an accepted response.
- Send a POST with an empty body and expect an invalid response.
- Verify the forwarded request reaches your replaced external endpoint.
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