New subscriber webhook intake with validation and forwarding
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.Webhook Trigger accepts POST requests on path marketing-new-subscriber-welcome-trigger-intake with response deferred to a respond node.
- 2.Normalize Input creates input from the request body and source set to the template name.
- 3.Validate Input checks that input is not empty and routes accordingly.
- 4.The true branch POSTs to https://api.example.com/... with a placeholder body using genericCredentialType authentication, then returns status accepted.
- 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
- POST a request with a non-empty body to the webhook path and expect an accepted response (after configuring the target).
- 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
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