Skip to content

Recipe: Inbound Webhook

Goal: An external system POSTs an event; WorkHub24 validates, stores, and optionally acknowledges via HTTP.

  1. Create a GENERIC automation.
  2. Add a Webhook trigger.
  3. Set Content Type (usually application/json).
  4. Define webhook inputs matching payload fields (eventType, recordId, …).
  5. Add Decision on eventType (or similar).
  6. Yes / primary path: Database CREATE or UPDATE, and/or Sub Workflow CREATE for human follow-up.
  7. Other path: Send Email or discard via a no-op path you document.
  8. Optionally HTTP Request back to the caller’s callback URL.
  9. Save and enable.
  1. Copy the webhook URL from the product UI after save/enable.
  2. Send a curl request with a known JSON body.
  3. Open Executions and verify Decision path and Database writes.

Example request shape:

Terminal window
curl -X POST "$WEBHOOK_URL" \
-H "Content-Type: application/json" \
-d '{"eventType":"created","recordId":"abc-123"}'
  • Replace Decision with Split Branches for more than two event types.
  • Loop when the payload contains an array of items.

Related: Webhook, Decision & Split Branches.