Free.ai Slack Integration

Add AI tools directly to your Slack workspace.

Cara Kerjanya

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. Masuk ke your Free.ai account (atau buat satu bebas).
  2. Ke Pengaturan Pengembang dan hasilkan kunci API.
  3. Salin kunci — Anda akan membutuhkannya untuk konfigurasi webhook.

Langkah 2: Buat Slack Coming Webhook

  1. In Slack, go to Apps → search for Webhook masukTambahkan ke Slack.
  2. Pilih kanal di mana Anda ingin hasil AI diposting.
  3. Salin URL webhook (misalnya, https://hooks.slack.com/services/T.../B.../...).

Langkah 3: Sambung melalui 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\"}"

Gunakan Kasus

  • Ringkas thread panjang Slack dengan satu perintah
  • Terjemahkan pesan untuk tim multibahasa
  • Hasilkan draf isi dan dapatkan umpan balik in-channel
  • Auto-post harian laporan AI-generated
  • Jawab pertanyaan tim menggunakan dasar pengetahuan AI

PSD

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.

Anda dapat merangkum benang panjang, menerjemahkan pesan untuk tim multibahasa, menghasilkan draf konten, auto-post harian laporan AI-generated, menjawab pertanyaan tim menggunakan AI, mengklasifikasikan pesan masuk, dan membuat gambar dari deskripsi teks.

Ya. Ketika membuat panggilan API, Anda dapat menentukan salah satu dari 346+ model yang tersedia. Gunakan model berhosted diri seperti Qwen_222-72B untuk penggunaan gratis atau model premium seperti GPT-4o untuk tugas yang lebih kompleks.

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.

Ya. Buat webhook yang masuk terpisah untuk setiap kanal yang ingin hasil AI diposting. Anda dapat mengatur aliran kerja yang berbeda untuk saluran yang berbeda, masing-masing menggunakan model atau prompt yang berbeda.

Ya. Anda dapat mengatur integrasi Anda dengan posting respon AI sebagai jawaban thread daripada pesan baru. Gunakan parameter thread_ts dalam payload webhook Anda untuk menjawab dalam benang tertentu.

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.

Ya. integrasi berbasis webhook bekerja dengan semua rencana Slack termasuk Enterprise Grid. untuk organisasi yang membutuhkan integrasi ketat dengan SSO dan kontrol kepatuhan, hubungi kami tentang rencana perusahaan kami.

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!

Laju halaman ini