Webhooks
Webhooks connect automations to other services in both directions. An incoming webhook starts an automation when another service sends a signed request to its address. A Send webhook action, in an automation or a button, sends a signed request to an address you trust.
Start an automation from another service
- Create an automation with the trigger Incoming webhook and save it (see Create an automation).
- On the automation’s card, under Signing key, click New key.
- The dialog Save this signing key shows the Address and the Signing key. Click Copy key and store the key in the other service.
The key is shown only once. Making a new key stops the old one from working. Revoke turns incoming requests off.
Sign a request
The other service sends a POST to the address, with a JSON body of at most 16 KiB and these
headers:
| Header | Value |
|---|---|
X-Venolio-Timestamp |
The time in Unix seconds. It must be within five minutes of the server’s clock. |
X-Venolio-Event-Id |
An ID for this event, 1–200 characters. |
X-Venolio-Signature |
sha256= followed by the lowercase hex HMAC-SHA256 of the text timestamp.event_id.body, signed with the key. |
A correct request answers with the run’s ID and the status pending. The run gets the event ID
and the body, which an add-on action can use; other actions use their fixed values.
- Any problem with the headers or the signature, an old timestamp, or an automation that is off,
deleted or no longer webhook-triggered, all get the same answer
401, so nothing about the automation is revealed. - A body over 16 KiB, or not JSON, gets
400. - Sending the same event ID with the same body again returns the first run instead of starting a
new one. The same event ID with a different body gets
409. - Event IDs are remembered as long as their runs are kept (30 days by default), up to 10,000 per
automation. Past that, requests get
503until older runs are deleted.
How to sign requests on the card repeats these rules.
Send data to another service
Add a destination
Destinations are the addresses your automations and buttons may call. They are personal: only you can use yours.
- On the Automations screen, go to Webhook destinations.
- Fill in Name, HTTPS address and Signing secret (at least 24 characters, shared with the receiving service).
- Click Add destination.
The secret is stored encrypted and never shown again; the list shows only names and addresses. Deleting a destination makes the automations and buttons that use it fail. You can have up to 50.
Allowed addresses:
httpson the standard port 443, up to 2,048 characters, with no user name, password or#part;- a public host name or a public IP address.
localhostand names ending in.local,.internal,.lan,.home,.testor.invalidare refused, and so is any name that leads to a private, loopback or other non-public address when the request is sent.
Use it in an action
Add a Send webhook action, choose the Destination and write the Body (JSON) (up to 16 KiB). Each run sends:
POSTwithContent-Type: application/jsonand your body, unchanged;X-Venolio-Timestamp: the time in Unix seconds;X-Venolio-Signature:sha256=and the hex HMAC-SHA256 oftimestamp.body, signed with the destination’s secret;Idempotency-Key: the same for a run and action, so the receiver can spot repeats.
The receiving service checks the signature with the shared secret.
Delivery
- Any
2xxanswer counts as delivered. - Any other answer, a network error or no answer within 15 seconds fails the run at once, and the actions after it do not run. Venolio does not send it again.
- Redirects are not followed.
- If the server stops while a request is being sent, the run fails as “outcome uncertain” and is not sent again, so the receiver never gets a request twice by accident.
Shared (teamspace and workspace) automations cannot send webhooks. In a button, a Send webhook action works only when the person who owns the destination clicks it.
About this part of Venolio: Databases and projects without a separate tool
Checked against the app on . The same help is built into the Venolio apps and works offline. Something wrong or missing? Tell us.