New hire onboarding webhook intake with validation and forwarding
Loading workflow…
Workflow Description
This workflow receives new-hire onboarding payloads via a POST webhook, normalizes the body into an input field, and checks that it is not empty. Valid payloads are forwarded with an authenticated HTTP POST to a configurable external endpoint that replies with an accepted status, while empty payloads get an invalid response and are never forwarded.
How it works
- 1.The webhook node listens for POST requests on path hr-recruiting-new-hire-onboarding-trigger-intake with the response deferred to a response node.
- 2.A Set node copies the request body into an input field and tags the item with a source label.
- 3.An If node checks that the input field is not empty and routes accordingly.
- 4.On the true branch an HTTP Request node POSTs to https://api.example.com/.../forward using generic credential authentication and a placeholder body parameter the user must replace.
- 5.Respond to Webhook nodes return {"status": "accepted"} after forwarding or {"status": "invalid"} for empty input.
Use cases
- Entry point to kick off onboarding steps in an external HR service whenever a new hire is submitted.
- Thin bridge between a recruiting form or system and a downstream HTTP endpoint.
Requirements
- The workflow must be activated in n8n for the webhook to accept live requests.
- HTTP credentials configured in n8n and selected for the Forward To Service node under genericCredentialType.
- Replacing the example URL and placeholder body parameter with the real endpoint and payload mapping.
- Network access from the n8n instance to the external receiving service.
Setup and testing in n8n
- POST a request with a non-empty body to the webhook path and verify the accepted response and that the external service received the payload.
- POST a request with an empty body and verify the invalid response with no outgoing HTTP call.
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