Docs
Sign in

Webhooks

Webhooks give outside tools a URL they can push events to, so Cortex can react to changes right away instead of waiting for the next sync.

Screenshot to add: The Webhooks page with the New webhook button and the table of webhooks, and the side panel open on one of them.

The subtitle reads "Real-time pushes from GitHub, Notion, Slack and other sources that trigger a Cortex connector sync." In the subtitle, the page also shows how many webhooks you have.

The webhooks table

ColumnWhat it shows
NameThe webhook name
SourceThe provider it listens for
EventsThe event names it accepts, or a dash
StatusActive or Disabled
DeliveriesHow many deliveries Cortex has recorded
LastThe time of the last delivery

The table pages at 20 rows. Name, Source, Deliveries and Last can be sorted. Click a row to open its details, and click it again to close them.

With no webhooks the page says "No webhooks yet" and "Create a webhook to start receiving events", with a New webhook button.

Create a webhook

  1. Click New webhook

    The button is at the top right of the page.

  2. Fill in the form

    • Name (required), for example "GitHub PR events".
    • Source, one of Generic, Github, Notion, Slack, Google drive or Gmail. Generic is the first choice and the default.
    • Events, a comma-separated list of event names. The default is *, which means all events. A GitHub example is push, pull_request.
  3. Create

    Click Create webhook. A window titled Webhook created shows the signing secret.

  4. Save the secret

    Copy the secret with Copy secret, then click I've saved it. The secret is shown only once.

Webhook details

The side panel shows the name and source.

PartWhat it shows
Inbound URL — give this to the senderThe full address, with a copy button. Paste it into the other tool's webhook settings
StatusActive or Inactive
EventsThe events it accepts
DeliveriesThe number of deliveries
Last and CreatedTimes
Delivery historyOne line per delivery

Each delivery line shows the event type as a coloured pill. Green means delivered. Red means failed. Grey means anything else. Next to the pill you see the size in KB, the time, and any error message.

With none yet, the panel says "No deliveries yet."

Delete at the bottom asks you to confirm. After deleting, senders that use its URL stop being accepted.

Gaps to know about

The same Webhooks screen is used elsewhere in TAO with more actions. In Cortex these are not offered:

  • No on and off switch. The status is read only.
  • No Send test button, no Replay for a delivery, and no secret regeneration.
  • No Forward to URL, and the events are free text rather than a checklist.
  • The table says Disabled while the side panel says Inactive for the same state.

To change a secret or the events, delete the webhook and create it again.