Free.ai Slack Integration

Add AI tools directly to your Slack workspace.

มันทำงานยังไง

เชื่อมต่อ Free.ai กับพื้นที่ทำงาน Slack ของคุณโดยใช้ webhook เข้าไป เมื่อเชื่อมต่อแล้ว คุณสามารถเรียกใช้งาน AI จาก Slack และรับผลลัพธ์โดยตรงในช่องของคุณ

ขั้นตอนที่ 1: หากุญแจ API Free.ai ของคุณ

  1. เข้าใช้ your Free.ai account (หรือ สร้างหนึ่งฟรี).
  2. ไปยัง ตั้งค่าของผู้พัฒนา และสร้างกุญแจ API
  3. คัดลอกกุญแจ & mdash; คุณจะต้องใช้มันในการปรับแต่ง webhook

สร้าง Webhook เข้าสู่ Slack

  1. In Slack, go to โปรแกรม → search for เข้าไปยังเวบฮูกเพิ่มไปยัง Slack.
  2. เลือกช่องที่คุณต้องการให้ผลการทดสอบ AI ถูกโพสต์
  3. คัดลอกที่อยู่ URL ของเวบฮุก (ตัวอย่างเช่น 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\"}"

กรณีการใช้

  • สรุปเธรด 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.

ใช่ สร้าง webhooks เข้าสู่ระบบแยกกันสำหรับช่องแต่ละช่องที่คุณต้องการให้ผลการทำงานของ AI ถูกโพสต์ คุณสามารถปรับแต่งกระบวนการทำงานที่แตกต่างกันสำหรับช่องที่แตกต่างกันได้ โดยแต่ละช่องจะใช้โมเดลหรือคำสั่งต่างกัน

ใช่ คุณสามารถปรับแต่งการรวมเข้ากับระบบของคุณเพื่อโพสต์การตอบกลับของ AI เป็นคำตอบในเธรดแทนที่จะเป็นข้อความใหม่ ใช้พารามิเตอร์ thread_ts ของ Slack ใน webhook payload เพื่อตอบกลับภายในเธรดที่กำหนดไว้

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.

Love this tool? Share it!

จัดอันดับหน้านี้