Caregiver shift intake validation and forwarding webhook
Loading workflow…
Workflow Description
This workflow receives POST requests on a dedicated webhook path, extracts the body into an input field with a fixed source label, and checks that the input is not empty. Valid payloads are forwarded via an authenticated HTTP request to a configurable external service and answered with an accepted status, while empty inputs get an immediate invalid response with no forwarding. It is a template with a placeholder URL and body value that must be replaced before use.
How it works
- 1.A webhook node listens for POST requests on the configured path and defers the response to response nodes.
- 2.A Set node maps the request body to an input field and adds a fixed source string.
- 3.An If node routes items based on whether the input field is non-empty.
- 4.An HTTP Request node posts to the example.com URL using generic credential authentication with a placeholder body parameter.
- 5.Respond to Webhook nodes return accepted after forwarding or invalid for empty input.
Use cases
- Entry point for receiving caregiver shift intake submissions before passing them to a homecare admin service.
- Base template to build input-presence validation and forwarding logic for shift data.
Requirements
- Activate the workflow so the webhook URL becomes callable.
- Replace the placeholder URL and body parameter value in the Forward To Service node with real values.
- Configure HTTP credentials of type genericCredentialType in n8n for the forwarding request.
Setup and testing in n8n
- Send a POST request with a non-empty JSON body and verify an accepted response is returned.
- Send a POST request with an empty or missing body and verify an invalid response is returned.
- Confirm the external receiving service receives the forwarded payload after placeholders are replaced.
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