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

  1. Sign in to your Free.ai account (or create one free).
  2. Go to Developer Settings and generate an API key.
  3. Copy the key — you will need it for the webhook configuration.

Step 2: Create a Slack Incoming Webhook

  1. In Slack, go to Apps → search for Incoming WebhooksAdd to Slack.
  2. Choose the channel where you want AI results posted.
  3. 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

FAQ

You need a Free.ai API key and a Slack incoming webhook. Get the API key from your developer settings, create a webhook in Slack's app directory, then use a script or Zapier to bridge API calls between Free.ai and Slack.

No custom app installation is required. The integration uses Slack's built-in incoming webhooks feature and standard API calls to Free.ai. This keeps setup simple and does not require Slack admin approval in most workspaces.

You can summarize long threads, translate messages for multilingual teams, generate content drafts, auto-post daily AI-generated reports, answer team questions using AI, classify incoming messages, and create images from text descriptions.

Yes. When making API calls, you can specify any of the 346+ available models. Use self-hosted models like Qwen2.5-72B for free usage or premium models like GPT-4o for more complex tasks.

The integration itself is free to set up. API calls consume tokens from your Free.ai account. Self-hosted models are free within your daily limit, and premium models deduct from your token balance.

Yes. Combine Free.ai with Slack and a scheduler (cron job, Zapier, or similar) to run AI tasks on a recurring schedule. For example, generate a daily AI news summary and post it to a Slack channel every morning.

After calling the Free.ai API, extract the response content and send it to your Slack webhook URL as a JSON payload with a 'text' field. The example script on this page shows the complete flow.

Yes. Create separate incoming webhooks for each channel where you want AI results posted. You can configure different workflows for different channels, each using different models or prompts.

Yes. You can configure your integration to post AI responses as thread replies rather than new messages. Use Slack's thread_ts parameter in your webhook payload to reply within a specific thread.

Free.ai does not store your Slack messages. The API processes the text you send, returns a response, and does not retain the input. Your data is never used for training. See our security page for full details.

Yes. The webhook-based integration works with all Slack plans including Enterprise Grid. For organizations needing tighter integration with SSO and compliance controls, contact us about our enterprise plans.

Check that your Free.ai API key is still valid, verify the Slack webhook URL has not been revoked, and ensure your script or automation is running. Test each component independently -- the Free.ai API first, then the Slack webhook.

Love this tool? Share it!

Расценить эту страницу