Concepts

Webhooks

Turn any workflow into an HTTP endpoint with a webhook trigger and one URL.


Set up a webhook

  1. Add a Webhook trigger node (trigger.webhook) and set its path — e.g. new-lead.
  2. Save the workflow.
  3. Toggle the workflow active in the workflows list. Only active workflows receive webhook traffic.

Call it

bash
curl -X POST https://api.directos.dev/api/hooks/new-lead \
  -H 'content-type: application/json' \
  -d '{"email":"a@b.c"}'

The trigger node outputs { body, headers, query }, so the payload is immediately addressable in expressions — {{$json.body.email}}.