Free.ai Slack Integration

Add AI tools directly to your Slack workspace.

如何运作

使用已输入的 Webhook 连接到您的 Slack 工作空间 Free.ai 。 一旦连接, 您可以从 Slack 触发 AI 任务, 并直接通过您的频道接收结果 。

步骤1: 获得您的 Free.ai API 密钥

  1. 签名于 your Free.ai account (或 创建一个自由的).
  2. 转到 开发者设置 生成 API 键。
  3. 复制密钥 & mdash; 您需要它来配置 Webhook 配置 。

步骤 2: 创建一个黑黑入侵 WebHook

  1. In Slack, go to 应用 → search for 接收到 Webhoooks 的 Webhoooks添加到 Slack.
  2. 选择要张贴 AI 结果的频道 。
  3. 复制 Webhook URL (例如, https://hooks.slack.com/services/T.../B.../...).

步骤3:通过API连接

使用简单的脚本或 Zapier 来连接 Free.ai 和 Slack 。 以下是使用 < code> 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 知识库回答小组问题

FAQ 常见时( Q)

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 回答团队问题、对收到的信息进行分类,并从文本描述中创建图像。

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.

是。 为每个频道创建单独的网络挂载器, 您需要张贴 AI 结果。 您可以为不同的频道配置不同的工作流程, 每个频道使用不同的模式或提示 。

是的, 您可以配置您的整合, 将 AI 回复作为线索回复而不是新信件发布。 在 Webhook 有效载荷中使用 Slack 的线索参数在特定的线索中进行响应 。

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.

是的,基于网络钩的整合与包括企业网格在内的所有黑人计划合作。对于需要更紧密地与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!

本页利率