Connect Slack through TrendsAGI integration endpoints, choose a channel, and route trend or incident notifications without managing Slack authorization yourself. This page lists the required credentials, setup example, mapped endpoints, and production notes.
Base URL
https://api.trendsagi.com114
Routes
16
Guides
3
Languages
Workspace connection + channel routing for production alerts
Connect Slack through TrendsAGI integration endpoints, choose a channel, and route trend or incident notifications without managing Slack authorization yourself.
Install
No SDK required. Use TrendsAGI Slack integration endpoints.Required credentials
export TRENDSAGI_API_KEY="<TRENDSAGI_API_KEY>"
export SLACK_CHANNEL_ID="C0123456"
export SLACK_CHANNEL_NAME="alerts"
# 1) Request connection URL
curl -X GET "https://api.trendsagi.com/api/integrations/slack/auth" \
-H "Authorization: Bearer $TRENDSAGI_API_KEY"
# 2) Open returned URL in browser and complete Slack authorization
# 3) List channels
curl -X GET "https://api.trendsagi.com/api/integrations/slack/channels" \
-H "Authorization: Bearer $TRENDSAGI_API_KEY"
# 4) Save destination channel
curl -X POST "https://api.trendsagi.com/api/integrations/slack/save-channel" \
-H "Authorization: Bearer $TRENDSAGI_API_KEY" \
-H "Content-Type: application/json" \
-d "{"channel_id":"$SLACK_CHANNEL_ID","channel_name":"$SLACK_CHANNEL_NAME"}"# Save as quickstart.sh
bash quickstart.sh1. Install
Add SDK/dependency for this integration path.
2. Authenticate
Set API key and any provider-specific credentials.
3. Map Endpoints
Use mapped endpoints below to build deterministic flow.
4. Harden
Add rate-limit backoff, idempotency, and safety gates.
Endpoint Mapping
Each integration is mapped to specific API endpoints so teams can compose deterministic workflows.
Production Notes