Connections
Integrations is not enabled by default
This is a limited access feature. Contact the nunu team to enable it for your project.
A connection is an account or endpoint nunu can send through, such as your Slack workspace, an email recipient list, or your own webhook endpoint. Connections hold the credentials; what gets sent through them is set up separately, for example in notifications.
Connections live under Integrations → Connections in your project’s sidebar. Managing them requires the project:admin permission. Connections shared across the whole organization require org:admin.
Open Integrations → Connections and click add integration to open the connection wizard.
| Provider | What it does |
|---|---|
| Slack | Posts messages into Slack channels |
| Emails members of your project or organization | |
| Webhook | Sends signed event payloads to your own HTTPS endpoint |
Project and organization connections
A connection created on a project’s Connections page belongs to that project. A connection created on your organization’s Integrations page is shared: it can be used by any project in the organization, but only organization admins can pick it. Org-level connections are useful for destinations that are shared across many projects.
Slack
Choose Slack
In the connection wizard, pick slack.
Pick how to connect
- Use the nunu Slack app (recommended): you’re sent to Slack to install the app into your workspace. Messages arrive from nunu.
- Use your own bot token: paste the bot user OAuth token of a Slack app you already run, so messages arrive from your own bot. It needs the
chat:write,channels:read, andgroups:readscopes.
Name the connection
Name it after what it is for, such as acme slack. You can rename it later.
Email has no account to connect, since messages are sent from nunu. When creating the connection you can set:
- Recipients: members who receive every notification sent through this connection, in addition to the recipients each config picks. Only members of the connection’s project or organization can be chosen.
- Reply-to address: where replies go. Without it, replies go to a no-reply address.
Name email connections after their purpose, such as qa alerts, rather than after a person.
Webhook
A webhook connection posts events to your own HTTPS endpoint as signed JSON. Use it to build your own app or integration on top of nunu: post results into a chat tool we don’t connect to, update an internal dashboard, trigger a CI job, or open tickets in your own tracker. Every event a notification config can send is available to your webhook, with the full payload described below.
When creating it you provide:
- Endpoint URL: where events are posted.
- Signing secret: a base64 value, optionally prefixed with
whsec_, used to sign every request. Configure the same value in your receiver before connecting, because the connection test sends a signed request. You can generate one withopenssl rand -base64 32. - Static headers (optional): sent with every request, for example an
Authorizationheader. They are stored encrypted, like the signing secret. - Verify TLS certificate: turn this off only for a self-hosted receiver with a self-signed certificate.
Verifying requests
Requests follow the Standard Webhooks specification and carry three headers:
| Header | Contains |
|---|---|
webhook-id | The event ID, which is the same for every retry of one event |
webhook-timestamp | When the request was signed, in Unix seconds |
webhook-signature | v1, followed by the signature |
The signature is the base64-encoded HMAC-SHA256 of {webhook-id}.{webhook-timestamp}.{body}, keyed with your signing secret after removing the whsec_ prefix and decoding it from base64. The Standard Webhooks libraries verify this for you:
import { Webhook } from "standardwebhooks";
const webhook = new Webhook(process.env.NUNU_SIGNING_SECRET);
// Throws when the signature or timestamp is invalid.
const event = webhook.verify(rawBody, {
"webhook-id": req.headers["webhook-id"],
"webhook-timestamp": req.headers["webhook-timestamp"],
"webhook-signature": req.headers["webhook-signature"],
});Verify against the raw request body, before parsing it as JSON.
Payload
Every request body has the same envelope:
{
"id": "0193c5f2-7a1e-8b3c-9d4e-5f6a7b8c9d0e",
"schema_version": 1,
"occurred_at": "2026-11-20T09:41:00Z",
"org_id": "org_...",
"project_id": "...",
"payload": {
"category": "run",
"data": {
"run": { "test": { "name": "Login flow" }, "tags": [], "player_count": 1 },
"event": { "type": "run.completed", "data": { "result": "FAILED" } }
}
}
}ididentifies the event. A retry after a timeout carries the sameid, so use it to ignore duplicates.payload.categoryisrunortest_plan, and the event’stypeinside it names what happened, such asrun.completed.syntheticistrueon test deliveries, so your handler can run on them without counting them as real runs.
The example above is shortened; real payloads include the run’s result, checks, bugs, build, and who started it. New events are added to the same envelope, so check type and ignore events your handler doesn’t know.
Managing connections
The menu on each connection card offers:
- Test connection (or send a test message): checks that the connection still works.
- Edit connection: changes its name and settings.
- Delivery log: lists every message sent through it. See delivery log.
- Reconnect: replaces the credential, for example after a Slack app was removed from the workspace.
- Disable / enable: pauses all notifications through the connection without deleting their configs.
- Delete connection.