Free.ai Slack Integration
Add AI tools directly to your Slack workspace.
ວິທີການເຮັດວຽກ
ເຊື່ອມຕໍ່ Free.ai ກັບພື້ນທີ່ເຮັດວຽກ Slack ຂອງທ່ານໂດຍໃຊ້ webhook ທີ່ເຂົ້າມາ. ເມື່ອເຊື່ອມຕໍ່ແລ້ວ, ທ່ານສາມາດກະຕຸ້ນວຽກ AI ຈາກ Slack ແລະໄດ້ຮັບຜົນໄດ້ຮັບໂດຍກົງໃນຊ່ອງທາງຂອງທ່ານ.
ຂັ້ນຕອນທີ 1: ໄດ້ຮັບ Free.ai API Key ຂອງທ່ານ
- ເຂົ້າສູ່ລະບົບ your Free.ai account (ឬ ສ້າງຟຣີ).
- ໄປທີ່ ການຕັ້ງຄ່າຜູ້ພັດທະນາ ແລະສ້າງກຸນແຈ API.
- ຖ່າຍທອດກ່ອງຈົດໝາຍ & mdash; ທ່ານຈະຕ້ອງການມັນເພື່ອການຕັ້ງຄ່າ webhook.
ຂັ້ນຕອນທີ 2: ສ້າງ Webhook ເຂົ້າມາ Slack
- In Slack, go to កម្មវិធី → search for Webhooks ເຂົ້າມາ → ເພີ່ມເຂົ້າສູ່ Slack.
- ເລືອກຊ່ອງທາງທີ່ທ່ານຕ້ອງການໃຫ້ຜົນການຄົ້ນຫາຂອງ AI ຖືກໂພສໄວ້.
- ຖ່າຍທອດ URL ຂອງ webhook (ຕົວຢ່າງ,
https://hooks.slack.com/services/T.../B.../...).
ຂັ້ນຕອນທີ3: ການເຊື່ອມຕໍ່ຜ່ານ 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\"}"
ກໍລະນີໃຊ້
- ສັງລວມທໍ່ສັ້ນໆດ້ວຍຄໍາສັ່ງດຽວ
- ແປຂໍ້ຄວາມສໍາລັບທີມຫຼາຍພາສາ
- ສ້າງເນື້ອໃນຮ່າງ ແລະ ຮັບການທົບທວນຄືນໃນຊ່ອງທາງ
- ສົ່ງບົດລາຍງານທີ່ສ້າງໂດຍ 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.
ທ່ານສາມາດສັງລວມຂໍ້ຄວາມຍາວ, ແປຂໍ້ຄວາມສໍາລັບທີມຫຼາຍພາສາ, ສ້າງເນື້ອໃນ draft, ສົ່ງບົດລາຍງານ AI-generation ທຸກໆມື້, ຕອບຄໍາຖາມຂອງທີມໂດຍໃຊ້ 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.
ສ້າງ webhooks ເຂົ້າມາແຍກຕ່າງຫາກ ສຳ ລັບຊ່ອງທາງແຕ່ລະຊ່ອງທາງ ທີ່ທ່ານຕ້ອງການໃຫ້ຜົນການຄົ້ນຫາຂອງ AI ຖືກໂພສ. ທ່ານສາມາດຕັ້ງຄ່າລໍາດັບການເຮັດວຽກທີ່ແຕກຕ່າງກັນ ສຳ ລັບຊ່ອງທາງທີ່ແຕກຕ່າງກັນ, ແຕ່ລະຊ່ອງທາງໃຊ້ແບບແບບ ຫຼື ຄໍາຖາມທີ່ແຕກຕ່າງກັນ.
ຮັບຮອງເອົາ. ທ່ານສາມາດຕັ້ງຄ່າການລວມເຂົ້າຂອງທ່ານເພື່ອໂພສການຕອບຮັບ AI ເປັນຄໍາຕອບຂອງ thread ແທນທີ່ຈະເປັນຂໍ້ຄວາມໃໝ່. ໃຊ້ປັອບແວ thread_ts ຂອງ Slack ໃນ webhook payload ຂອງທ່ານເພື່ອຕອບພາຍໃນ 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.
ຍິນດີຕ້ອນຮັບ. ການລວມຕົວທີ່ອີງໃສ່ 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.