Concepts
Webhooks
Turn any workflow into an HTTP endpoint with a webhook trigger and one URL.
Set up a webhook
- Add a Webhook trigger node (
trigger.webhook) and set its path — e.g.new-lead. - Save the workflow.
- Toggle the workflow active in the workflows list. Only active workflows receive webhook traffic.
Call it
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}}.