Free.ai Slack Integration
Add AI tools directly to your Slack workspace.
How It Works
Connect Free.ai to your Slack workspace using an incoming webhook. Once connected, you can trigger AI tasks from Slack and receive results directly in your channels.
Step 1: Get Your Free.ai API Key
- Sign in to your Free.ai account (or create one free).
- Go to Developer Settings and generate an API key.
- Copy the key — you will need it for the webhook configuration.
Step 2: Create a Slack Incoming Webhook
- In Slack, go to Apps → search for Incoming Webhooks → Add to Slack.
- Choose the channel where you want AI results posted.
- Copy the webhook URL (e.g.,
https://hooks.slack.com/services/T.../B.../...).
Step 3: Connect via API
Use a simple script or Zapier to bridge Free.ai and Slack. Here is an example using curl:
# 1. Call Free.ai API
RESPONSE=$(curl -s -X POST https://api.free.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_FREEAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"qwen2.5-72b","messages":[{"role":"user","content":"Summarize the latest AI news"}]}')
# 2. Extract the reply
TEXT=$(echo $RESPONSE | python3 -c "import sys,json; print(json.load(sys.stdin)['choices'][0]['message']['content'])")
# 3. Post to Slack
curl -X POST YOUR_SLACK_WEBHOOK_URL \
-H "Content-Type: application/json" \
-d "{\"text\": \"$TEXT\"}"
Use Cases
- Summarize long Slack threads with one command
- Translate messages for multilingual teams
- Generate content drafts and get feedback in-channel
- Auto-post daily AI-generated reports
- Answer team questions using AI knowledge base