Webhooks and automations
Outgoing webhooks for resource events, incoming listeners, the Hypris-Signature header and triggering automations.
On this page
On this page
Hypris talks to other systems in both directions. An outgoing webhook sends an event from the workspace to your address when something changes in a resource. A webhook listener accepts a request from outside and runs an automation. You can also run an automation with a regular API request.
Outgoing webhooks
You attach an outgoing webhook to a specific resource: a workspace, database, field, document, whiteboard or agent. When an event from the list you choose occurs in that resource (or its children), Hypris sends a POST to the given address.


You open the settings in the app:
When creating one, you provide a name, a URL, a list of event types (activityItemTypes), optional conditions on payload fields and whether Hypris should retry delivery after an error. You get the signing secret (whsec_…) when it's created, and you can see it when editing the webhook.
What arrives
The body is JSON with the activity event. The signature header is Hypris-Signature.
{
"type": "database.item.created",
"payload": {},
"resourcePath": [],
"resourceId": "65a1f0c2b3d4e5f601234567",
"resourceType": "database",
"authorEntity": {"id": "…", "type": "user"},
"deliveryId": "65a1f0c2b3d4e5f601234568:65a1f0c2b3d4e5f601234569"
}| Field | Meaning |
|---|---|
type | The event type, for example database.item.created. The full list is in the ActivityItemType glossary. |
payload | Event data. The shape depends on type. |
resourcePath | The resource path from the workspace down. |
resourceId / resourceType | The resource the event happened on. |
authorEntity | Who performed the action: a person, an agent or an app. May be missing. |
deliveryId | A unique delivery: activityItemId:webhookId. Use it to avoid processing the same request twice. |
The webhook object in API responses is described on the Webhook page.
Which events you can choose
The list depends on the resource you attach the webhook to. In the app you see only the events that resource supports. Examples:
| Resource | Example events |
|---|---|
| Workspace | workspace.updated, database.created, database.item.created, database.item.deleted, database.item.updated.state |
| Database | database.updated, database.item.created, database.item.updated.value, database.property.created |
| Field | database.property.updated, database.item.updated.value |
| Document | document.updated, document.archived, document.restored |
| Whiteboard | whiteboard.updated, whiteboard.archived |
| Agent | agent.updated, agent.run.created, agent.run.updated |
A workspace webhook also gets events from resources inside it, because Hypris looks for webhooks along the entire resource path.
Conditions
You can add conditions on payload fields to an event type. All of them must pass for the request to be sent.
| Operator | Meaning |
|---|---|
equals / notEquals | Equal or different. |
contains / notContains | Text contains a fragment. |
in / notIn | The value is on the list. |
If the payload field is an array, equals and contains pass when at least one element matches. The negative operators require that none match. When comparing, Hypris takes entityId, then id, and finally the value itself.
The Hypris-Signature signature
Every request has the header:
Hypris-Signature: t=1715145600,v1=3b1c…tis a Unix timestamp in seconds.v1is an HMAC-SHA256 of the signing key and the contentt.body, in hex.The secret starts with
whsec_. Use the whole string, including the prefix.Hypris rejects (and so should you) signatures older than 5 minutes.
import {createHmac, timingSafeEqual} from 'node:crypto'
function verifyHyprisSignature(secret, header, rawBody, nowSeconds = Math.floor(Date.now() / 1000)) {
const match = /^t=(\d+),v1=([a-f0-9]+)$/.exec(header)
if (!match) {
return false
}
const timestamp = Number(match[1])
if (Math.abs(nowSeconds - timestamp) > 5 * 60) {
return false
}
const expected = createHmac('sha256', secret).update(`${timestamp}.${rawBody}`).digest('hex')
const actual = match[2]
const expectedBuffer = Buffer.from(expected, 'hex')
const actualBuffer = Buffer.from(actual, 'hex')
return expectedBuffer.length === actualBuffer.length && timingSafeEqual(expectedBuffer, actualBuffer)
}Verify the raw body of the request, not the object after JSON.parse. Otherwise the signature won't match.
Retries and errors
If you turn on retries, Hypris queues the delivery and tries again on network errors and non-success responses. A blocked address (for example a loop to an internal network) isn't retried. A disabled webhook or a missing secret ends the delivery without sending.
Incoming webhook
A webhook listener is a public address another system sends data to. Every accepted request runs automations with a Webhook trigger. You create listeners in the workspace, on the Webhook listeners page.


/webhook-listener/:webhookListenerId/triggercurl -X POST "https://api.hypris.com/v1/webhook-listener/$LISTENER_ID/trigger" \
-H "Content-Type: application/json" \
-H "x-webhook-secret: $WEBHOOK_SECRET" \
-d '{"orderId": "ORD-2026-0042", "total": 1250.5}'This address doesn't require an API key. It's protected by the listener secret, if you set one, and we always recommend it.
You send the secret in the
x-webhook-secretheader. When the sender's system doesn't allow setting a header, pass it as asecretfield in the body or in the URL parameters. Hypris removessecretfrom the data before it reaches the automation.A missing or wrong secret ends with a
401error.The
GETmethod also works. The input data is then the URL parameters.An accepted request gets the response
{"success": true, "data": {}}, and the automation continues on its own.
The listener object is described on the WebhookListener page.
Running an automation through the API
When you have an API key or a token, you can run an automation directly and get its result right away:
/automation/:automationId/run{
"triggerKey": "<trigger key, optional>",
"payload": {"orderId": "ORD-2026-0042"}
}The output field contains what the automation set with the Output step.
| Webhook listener | Outgoing webhook | POST /automation/:automationId/run | |
|---|---|---|---|
| Direction | Into Hypris | Out of Hypris | Into Hypris |
| Authentication | Listener secret | Hypris-Signature signature | API key or OAuth token |
| Result | Acknowledgment of receipt | Your HTTP response | The automation's result in the response |
| What it's for | Another system triggers an automation | Your system listens for changes in Hypris | Your own code that waits for the result |
HTTP calls from automations
An automation calls an external API with the HTTP request step: you choose the method, URL, headers and body, and the response goes to the next steps. It doesn't replace outgoing webhooks: a webhook goes out on its own when an event occurs, while the HTTP step runs only when the flow reaches it.
How to build a flow is described in the Automations guide.