How-to Guides

How do I get Slack alerts when AI spend spikes?

Connect a Slack channel with an incoming webhook and get budget-threshold, anomaly and security alerts as they happen. Base plan and above.

In the app: Settings → Alerts → Slack · Base plan and aboveOpen in app →No account? Start free

Goal: a Slack message when a budget crosses a threshold, spend spikes, or a key starts behaving like it was compromised. Plan: Base and above. Time: about 2 minutes.

Step 1 — Create an incoming webhook in Slack

  1. Open api.slack.com/apps and create an app From scratch in your workspace (any name, e.g. "Cognocient").
  2. In the app's settings, open Incoming Webhooks, switch it on, click Add New Webhook to Workspace and pick the channel.
  3. Copy the webhook URL (https://hooks.slack.com/services/...).

Step 2 — Paste it into Cognocient

Open Settings → Alerts, paste the URL and click Connect & send test. Cognocient posts a test message first and only saves the URL if Slack accepts it. The URL is stored encrypted and never shown again.

If your deployment has the Cognocient Slack app configured, you'll also see an Add to Slack button that does steps 1 and 2 for you.

Step 3 — Choose what is posted

SwitchWhat it postsDefault
Budget thresholdsEach alert threshold a budget crosses (50%, 80%, 100% by default), once per budget per monthOn
Anomalies & securitySpend and call-frequency anomalies, rejection-rate spikes, velocity-limit trips, compromise-risk signals, shadow-spend gapsOn
Executive anomaly summariesA plain-English version of each spend anomaly for leadershipOff
Report deliveriesA note when a scheduled AI ROI Summary has been emailedOn

Quiet hours suppress posts during a daily window in the timezone you choose. Send test message checks the connection at any time.

Step 4 — Check it end to end

Create a budget with a very small limit (e.g. $0.05) on a test feature, make a few calls tagged with that feature, and watch the channel. Delete the budget afterwards.

On this page