Skip to content
General Automation

Caregiver shift intake validation and forwarding webhook

6 nodes 31 2 Webhook
Download

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. 1.A webhook node listens for POST requests on the configured path and defers the response to response nodes.
  2. 2.A Set node maps the request body to an input field and adds a fixed source string.
  3. 3.An If node routes items based on whether the input field is non-empty.
  4. 4.An HTTP Request node posts to the example.com URL using generic credential authentication with a placeholder body parameter.
  5. 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

  1. Send a POST request with a non-empty JSON body and verify an accepted response is returned.
  2. Send a POST request with an empty or missing body and verify an invalid response is returned.
  3. 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

Webhook Set If HTTP Request

Details

Trigger Webhook
Nodes 6
Apps 4
Views 31
Downloads 2

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