NESTAIDOCS
NestAI Docs

WEBHOOKS & INTEGRATIONS

Connect NestAI to Slack, Discord, Microsoft Teams, or any custom webhook endpoint. Get notified about server status changes, usage summaries, team changes, and billing alerts.

Supported Platforms

PlatformWebhook TypeSetup Guide
SlackIncoming WebhookSlack App → Incoming Webhooks → Create New → Copy URL
DiscordChannel WebhookServer Settings → Integrations → Webhooks → New → Copy URL
Microsoft TeamsIncoming WebhookChannel → Connectors → Incoming Webhook → Configure → Copy URL
CustomHTTP POST endpointAny URL that accepts JSON POST requests

Setting Up a Webhook

1

Get Your Webhook URL

Create an incoming webhook in your chosen platform (Slack, Discord, or Teams). Copy the webhook URL.

2

Add to NestAI

Navigate to Dashboard → Webhooks. Click the platform button (e.g. "+ Slack"). Paste the webhook URL and give it a name.

3

Select Events

Choose which events should trigger notifications. You can change these later.

4

Test

Click ▶ Test to send a test message. You should see it appear in your Slack/Discord/Teams channel within seconds.

Available Events

EventWhen it firesExample message
Server Status ChangesServer starts, stops, restarts, or errors"NestAI: Server is now RUNNING"
Model Installed/RemovedA model is pulled or deleted"NestAI: Qwen 3.5 4B installed successfully"
Daily Usage SummaryOnce per day (midnight UTC)"NestAI Daily: 47 messages, 3 active users, top model: Qwen 3.5 4B"
Weekly ReportEvery Monday at 8:00 AM UTC"NestAI Weekly: 312 messages, 5 users, 4.2GB storage used"
Team Member ChangesMember added, removed, or role changed"NestAI: user@company.com added as member"
Billing AlertsPayment success, failure, or plan change"NestAI: Payment of ₹3,499 confirmed for Solo plan"

Webhook Payload Format

NestAI sends JSON payloads formatted for each platform. Slack and Teams use their native message format. Custom webhooks receive a standard JSON payload.

Slack payload
{
  "text": "*NestAI Alert* \n Server status: RUNNING \n _Team: Acme Legal · Region: Germany_"
}
Discord payload
{
  "content": "**NestAI Alert** \n Server status: RUNNING \n Team: Acme Legal · Region: Germany"
}
Custom webhook payload
{
  "event": "server_status",
  "team": "Acme Legal",
  "message": "Server is now RUNNING",
  "timestamp": "2026-04-01T10:30:00Z",
  "server_status": "running",
  "metadata": { "server_ip": "1.2.3.4", "region": "nbg1" }
}

Managing Webhooks

ActionHow
Pause a webhookClick "⏸ Pause" — events stop being sent but the webhook is saved
Resume a webhookClick "▶ Resume" — events start being sent again
Edit eventsClick "✎ Edit" — change name, URL, or selected events
Delete a webhookClick "✕ Delete" — permanently removes the webhook
Test a webhookClick "▶ Test" — sends a test message to verify the URL works
You can add multiple webhooks to the same platform. For example, server alerts to #ops-alerts and weekly reports to #general.
Webhook URLs contain secrets. Treat them like passwords — don't share them publicly or commit them to version control.

Rate Limits

NestAI sends webhook notifications in near real-time for event-based triggers (server status, model changes). Summary reports (daily/weekly) are batched and sent once at the scheduled time. There is no limit on the number of webhooks you can create.