Skip to content
General Automation

New subscriber webhook intake with validation and forwarding

6 nodes 13 0 Webhook
Download

Loading workflow…

Workflow Description

The workflow receives POST requests on a dedicated webhook path for new subscribers, normalizes the payload into input and source fields, and validates that input is non-empty before forwarding it to a placeholder external endpoint via HTTP with generic credentials. Callers receive an accepted or invalid JSON response depending on the validation branch. The target URL and body value are placeholders that require user configuration.

How it works

  1. 1.Webhook Trigger accepts POST requests on path marketing-new-subscriber-welcome-trigger-intake with response deferred to a respond node.
  2. 2.Normalize Input creates input from the request body and source set to the template name.
  3. 3.Validate Input checks that input is not empty and routes accordingly.
  4. 4.The true branch POSTs to https://api.example.com/... with a placeholder body using genericCredentialType authentication, then returns status accepted.
  5. 5.The false branch returns status invalid immediately without forwarding.

Use cases

  • Intake endpoint for new-subscriber notifications from marketing tools before passing them downstream.
  • Simple input gate that rejects empty payloads before an external call.

Requirements

  • Replace the placeholder URL in Forward To Service and the REPLACE_WITH_YOUR_VALUE body parameter.
  • Configure generic HTTP credentials for the Forward To Service node.
  • Activate the workflow manually, as active is currently false.

Setup and testing in n8n

  1. POST a request with a non-empty body to the webhook path and expect an accepted response (after configuring the target).
  2. POST a request with an empty body and expect an invalid response with no outbound request.

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 13
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