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.
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
| Column | What it shows |
|---|---|
| Name | The webhook name |
| Source | The provider it listens for |
| Events | The event names it accepts, or a dash |
| Status | Active or Disabled |
| Deliveries | How many deliveries Cortex has recorded |
| Last | The 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
Click New webhook
The button is at the top right of the page.
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 ispush, pull_request.
Create
Click Create webhook. A window titled Webhook created shows the signing secret.
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.
| Part | What it shows |
|---|---|
| Inbound URL — give this to the sender | The full address, with a copy button. Paste it into the other tool's webhook settings |
| Status | Active or Inactive |
| Events | The events it accepts |
| Deliveries | The number of deliveries |
| Last and Created | Times |
| Delivery history | One 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.