Free.ai Slack Integration

Add AI tools directly to your Slack workspace.

របៀប​ដែល​វា​ធ្វើការ

ភ្ជាប់ Free.ai ទៅចន្លោះការងារ Slack របស់អ្នកដោយប្រើ webhook ចូល. បន្ទាប់ពីបានតភ្ជាប់, អ្នកអាចកេះភារកិច្ច AI ពី Slack និងទទួលលទ្ធផលដោយផ្ទាល់នៅក្នុងឆានែលរបស់អ្នក.

ជំហានទី 1: ទទួលបាន Free.ai កូនសោ API របស់អ្នក

  1. ចូល​ទៅ your Free.ai account (ឬ បង្កើត​មួយ​ឥតគិតថ្លៃ).
  2. ទៅ​កាន់ ការ​កំណត់​អ្នក​អភិវឌ្ឍន៍ និង​បង្កើត​កូនសោ API & # 160; ។
  3. ចម្លង​កូនសោ & mdash; អ្នក​ត្រូវការ​វា​សម្រាប់​ការ​កំណត់​រចនាសម្ព័ន្ធ webhook & # 160; ។

ជំហានទី ២ & # 160; ៖ បង្កើត Webhook ចូលមកវិញ

  1. In Slack, go to កម្មវិធី → search for Webhooks ចូលបន្ថែម​ទៅ Slack.
  2. ជ្រើស​ឆានែល​ដែល​អ្នក​ចង់​ឲ្យ​លទ្ធផល AI ត្រូវ​បាន​បង្ហោះ & # 160; ។
  3. ចម្លង URL webhook (ឧ., https://hooks.slack.com/services/T.../B.../...).

ជំហានទី ៣: តភ្ជាប់តាមរយៈ API

ប្រើស្គ្រីបសាមញ្ញឬ Zapier ដើម្បីភ្ជាប់ Free.ai និង Slack ។ នៅទីនេះជាឧទាហរណ៍មួយដោយប្រើ 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\"}"

ករណី​ប្រើ

  • សង្ខេប​ខ្សែ​ស្រឡាយ Slack វែង​ជាមួយ​ពាក្យ​បញ្ជា​មួយ
  • បកប្រែ​សារ​សម្រាប់​ក្រុម​ច្រើន​ភាសា
  • បង្កើត​មាតិកា​ព្រឹត្តិការណ៍ និង​ទទួល​មតិ​យោបល់​ក្នុង​ឆានែល
  • ប្រកាស​របាយការណ៍​ដែល​បង្កើត​ដោយ AI ប្រចាំថ្ងៃ​ដោយ​ស្វ័យប្រវត្តិ
  • ឆ្លើយ​សំណួរ​របស់​ក្រុម​ដោយ​ប្រើ​មូលដ្ឋាន​ចំណេះដឹង AI

សំណួរ​ដែល​សួរ​ញឹកញាប់

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.

អ្នក​អាច​សង្ខេប​ខ្សែ​ស្រឡាយ​វែង​បកប្រែ​សារ​សម្រាប់​ក្រុម​ភាសា​ច្រើន បង្កើត​សេចក្តីព្រាង​មាតិកា បង្ហោះ​របាយការណ៍​ដែល​បង្កើត​ដោយ AI ប្រចាំថ្ងៃ​ដោយ​ស្វ័យ​ប្រវត្តិ ឆ្លើយ​សំណួរ​របស់​ក្រុម​ដោយ​ប្រើ AI ចាត់​ថ្នាក់​សារ​ចូល និង​បង្កើត​រូបភាព​ពី​សេចក្ដី​ពិពណ៌នា​អត្ថបទ ។

បាទ / ចាស. នៅពេលធ្វើការហៅ API, អ្នកអាចបញ្ជាក់ណាមួយនៃ 346+ ម៉ូដែលដែលអាចប្រើបាន. ប្រើម៉ូដែលដែលរៀបចំដោយខ្លួនឯងដូចជា Qwen2.5-72B សម្រាប់ការប្រើប្រាស់ដោយឥតគិតថ្លៃឬម៉ូដែលប្រាក់រង្វាន់ដូចជា GPT-4o សម្រាប់ភារកិច្ចស្មុគស្មាញជាងនេះ.

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.

បាទ/ ចាស & # 160; ។ បង្កើត webhooks ចូល​ដោយ​ឡែក​សម្រាប់​ឆានែល​នីមួយៗ​ដែល​អ្នក​ចង់​ឲ្យ​លទ្ធផល AI បង្ហោះ & # 160; ។ អ្នក​អាច​កំណត់​រចនាសម្ព័ន្ធ​លំហូរ​ការងារ​ផ្សេង​គ្នា​សម្រាប់​ឆានែល​ផ្សេង​គ្នា នីមួយៗ​ប្រើ​ម៉ូដែល ឬ​សំណូមពរ​ផ្សេង​គ្នា & # 160; ។

បាទ/ចាស។ អ្នក​អាច​កំណត់​រចនា​សម្ព័ន្ធ​ការ​រួម​បញ្ចូល​របស់​អ្នក​ដើម្បី​បង្ហោះ​ការ​ឆ្លើយតប AI ជា​ការ​ឆ្លើយតប​ខ្សែ​ស្រឡាយ​ជំនួស​ឲ្យ​សារ​ថ្មី។ ប្រើ​ប៉ារ៉ាម៉ែត្រ thread_ts របស់ Slack ក្នុង​ការ​ផ្ទុក​ webhook របស់​អ្នក​ដើម្បី​ឆ្លើយតប​ក្នុង​ខ្សែ​ស្រឡាយ​ជាក់លាក់ ។

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.

បាទ. ការរួមបញ្ចូលផ្អែកលើ webhook ធ្វើការជាមួយផែនការ Slack ទាំងអស់រួមទាំង Enterprise Grid. សម្រាប់អង្គការដែលត្រូវការការរួមបញ្ចូលកាន់តែជិតស្និទ្ធជាមួយ SSO និងការត្រួតពិនិត្យភាពស្របច្បាប់, ទាក់ទងមកយើងអំពីផែនការសហគ្រាសរបស់យើង.

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.

ស្រឡាញ់ Free.ai? ប្រាប់មិត្តភក្តិរបស់អ្នក!

វាយតម្លៃ​ទំព័រ​នេះ