Outbound is not inbound
Two objects, opposite directions, both under Integrations:
If your goal is “an alert should start an investigation”, you want an inbound endpoint. If your goal
is “our ticketing system should know when the investigation is done”, you want an outbound webhook.
Setting one up
Outbound webhooks live under Integrations → Notification sinks. New notification sink opens a four-step wizard.1
Destination
Give it a name, then choose where events go.
- Webhook — signed POST requests to any HTTPS endpoint. You supply the destination URL; KAOP generates the signing secret and reveals it once so you can verify deliveries on your side.
- Slack — posts messages to a channel using your existing Slack connection. Without one, Connect Slack opens the dialog described in Connecting Slack. For incident events, a Slack sink keeps one thread per incident in each of its channels; see Notification sink threads.
- Microsoft Teams — posts Adaptive Cards to a Teams channel, through a Teams Workflows webhook or your connected Teams bot. See Send notifications to Teams.
2
Events
Pick which event types this sink should receive. The catalog is the same regardless of which
sources feed it.
3
Payload & test
Inspect exactly what will be sent — always JSON — and use Send test event to fire a real
request at your endpoint before anything depends on it.
4
Subscriptions
Choose which sources feed this sink: specific agents, specific workflows, specific incident
pipelines, or the whole account.
What you can subscribe to
Four families of event, in one catalog:
Events and sources are separate axes, which is what makes fan-in useful. One sink can take
run.failed from a single agent; another can take run.finished from every source in the account;
a third can take incident events from two specific incident pipelines. agent.created is
account-scoped by nature — there is no per-agent source for an agent that does not exist yet.
incident.resolved is sent however the incident closes: a person resolves it, the workflow does,
or the alert source reports a recovery. incident.errored is also sent when the workflow could not
be started, but not when the workflow’s budget is used up.
run.security_signal is sent when a run ends with a reported prompt
injection
in its output. It is delivered in addition to the run’s status event, never instead of it, and is
not selected by default.
What gets delivered
One fixed JSON envelope, versioned, with no templating — so there is exactly one shape to write a receiver against:artifacts object carries the total, a link to the run’s Artifacts tab, and
items with the artifact_id, name and link of up to the first 10 artifacts, oldest first.
Slack and Teams cards show the same artifacts as links, with +N more linking to the
Artifacts tab.
Payloads are capped. When an envelope would exceed the cap, the output field is replaced with a
truncation marker rather than being cut mid-structure, so your receiver always parses valid JSON and
can tell that something was withheld.
The request
Verify the signature over the raw bytes you received, before parsing. Re-serializing the JSON and
signing that will not match.
Two things KAOP will not do, both deliberate:
- Redirects are never followed. Any
3xxresponse is treated as a failed attempt, because a redirect to an internal address is a way around the destination you configured. - Private and loopback destinations are refused — and the destination is re-resolved and re-checked on every send, not only when the sink was created, so a name that starts resolving internally later is caught at delivery time.
Rotating the signing secret
Rotate signing secret issues a new one and shows it to you once. Rotation is an audited, elevated action, so plan for the cutover: your receiver should be ready to accept the new secret before you rotate.How delivery behaves
A failed attempt is retried with backoff, up to a bounded number of attempts, and then dead-lettered
— which marks the delivery
exhausted in the log. There is no automatic follow-up after that, so
exhausted is the state to alert on if these events are load-bearing for you.
A permanent client error is the exception. When your endpoint returns 400, 401, 403, 404,
410 or 422, the same request would be rejected again, so KAOP records the delivery as failed
and does not retry it. Repeated permanent errors suspend the sink; see
When a sink is suspended.
Each delivery carries an event_id and an occurred_at, and a retry keeps both. An incident’s final
events (incident.triaged, incident.errored, incident.needs_attention, incident.resolved) can
arrive again with the same event_id and a newer occurred_at, for example when a step fails again
after Continue. To drop duplicates, compare both.
Rate limiting is handled differently from failure, and in your favour: a 429 or 503 is retried
after the delay your Retry-After header asks for, and that wait does not consume the retry budget.
So back-pressure from your side costs you a delay rather than a dropped event.
A disabled or deleted sink is a silent no-op — events for it are dropped rather than queued up for a
destination that no longer wants them.
When a sink is suspended
A webhook sink that keeps rejecting deliveries is suspended automatically, so KAOP stops sending to a destination that turns every request away. KAOP suspends a sink after five deliveries in a row end with a permanent client error (400, 401, 403, 404, 410 or 422). A successful delivery resets the
count. Other failures, such as connection errors, timeouts and 5xx responses, are retried as
described above and do not count toward a suspension.
A suspended sink shows a Suspended badge in the Notification sinks list and a Delivery
suspended warning under its row. The warning shows the status code and the response body from the
delivery that suspended the sink. The body usually says what your endpoint rejected.
While a sink is suspended, KAOP sends it nothing. Each event the sink would have received is recorded
in its History as a skipped delivery, so you can see what it missed. Re-enabling the sink does
not resend those events.
Test & re-enable
Editing the sink does not lift a suspension. Fix the problem on your side or in the sink’s configuration, then choose Test & re-enable from the warning or from the row’s actions menu. KAOP sends a test delivery to the sink:- The test succeeds. KAOP lifts the suspension and resets the failure count. The warning changes to Sink re-enabled, and the sink receives events again.
- The test fails. The sink stays suspended. Test delivery failed — suspension remains shows the status code and response body your endpoint returned, or says that the endpoint did not respond. Fix what it reports and choose Test & re-enable again.
Auditing what was sent
Every sink row carries a History link. It opens the delivery log for that sink: when each attempt happened, which event it carried, which attempt number it was, the result, and the response body your endpoint returned (captured up to a few kilobytes — enough for the diagnostic, which is almost always at the front). The log is durable and per-account, so “did this fire, and what came back?” has an answer well after the fact. Configuration and deliveries are recorded in two different places on purpose:- Configuration changes are audited — creating, updating, or deleting a sink, rotating its secret, subscribing or unsubscribing a source, and re-enabling a suspended sink all write audit entries. An automatic suspension is audited too.
- Deliveries are not audit entries. They are operational data, and they live in the delivery log above.
Who can manage them
Reading the list of sinks is an account-scoped permission. Creating, updating, deleting, rotating a secret, sending a test event, and re-enabling a suspended sink are administrative actions held at a deliberately higher bar — an outbound webhook is an account-chosen arbitrary URL, which puts it in the same class as managing credentials. See Roles & permissions.Next steps
Runs & evidence
What the
run.* events are describing.Integrations
Inbound endpoints, and the connection catalog.
Audit log
Where configuration changes to a sink are recorded.
Channels
The conversational route into and out of Slack.