Skip to content
General Automation

Webhook shipment intake validation and forwarding

6 nodes 9 0 Webhook
Download

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. 1.Webhook node listens for POST requests on the defined path with response deferred to a response node.
  2. 2.A Set node copies the request body into an input field and adds a source label.
  3. 3.An IF node checks that input is not empty and branches the flow.
  4. 4.On the true branch an HTTP request POSTs to a placeholder URL with a replace-me body parameter using genericCredentialType.
  5. 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

  1. Send a POST with a non-empty body and expect an accepted response.
  2. Send a POST with an empty body and expect an invalid response.
  3. Verify the forwarded request reaches your replaced external endpoint.

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 9
Downloads 0

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