Skip to content
noctiluz
On this page

Webhook to your system

Send webhook (Actions) posts JSON to a URL you own, so another system can react when the data changes.

Set it up#

  1. Add Send webhook and fill in URL. Only https:// addresses work. Addresses on a private or internal network, and URLs with a user name and password in them, are refused.
  2. Add On schedule and wire Pulse to Trigger, which this node requires. See Schedule a dashboard.
  3. Wire your data to Payload. With nothing there, the body is the JSON value null.
  4. Click Run once to arm the schedule. A manual run skips the webhook, which waits for its trigger.

For example, wire New items from New items since last run (see E-mail and AI report) to Payload.

What your endpoint receives#

A POST with Content-Type: application/json and an X-Noctiluz-Delivery header holding a unique id for the call. The body is the JSON of Payload.

Reply with a 2xx status. Any other status fails the node with "The webhook endpoint returned" and that status, and Noctiluz does not retry. The webhook posts on every scheduled run, an empty list included, so your endpoint should accept that. Each send costs 0.1 credit.

Shape the body#

To control the JSON, wire a template to Template. Create it with format JSON (webhooks), for instance from the starter Webhook: JSON body. It can read payload, data, run.dashboardName, run.dashboardUrl and run.startedAt. The rendered text must be valid JSON, or the node fails. See Templates and files.