Free.ai Slack Integration
Add AI tools directly to your Slack workspace.
He pēhea te mahi
Ka hono te Free.ai ki tōtou mokowā mahi Slack mā te whakamahi i tētahi tīpae ā-waha. Ina hono, ka taea e koe te whakaoho i ngā taumahi AI mai i te Slack, ā, ka whiwhi hua hāngai ki o koe i roto i ōna kanikani.
He mahi 1: Ki te whiwhi i tōtou Free.ai API Key
- Ka tāurutia te tāurunga ki your Free.ai account (rānei Hapa tētahi wātea).
- Tere ki Ka taea te whakahōu i ngā tautuhinga me te waihanga i tētahi kī API.
- Ko te kī — e hiahiatia ana e koe mō te whakaritenga tīpako.
He mahi 2: Hanganga i tētahi Webhook tāuru
- In Slack, go to Ka taea te whakataki i ngā taupānga → search for Webhooks tae mai → E tāpiri ana ki te Slack.
- Ka kōwhiria te kanikani e hiahiatia ana e koe te whakaputanga hua AI.
- Kopa te URL o te tīpae (hei tauira,
https://hooks.slack.com/services/T.../B.../...).
He mahi 3: Ka hono mā te API
Ka whakamahia tētahi tuhipānui māmā, Zapier rānei hei whakapiri i te Free.ai me te Slack. He tauira tēnei mā te whakamahi i te
# 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\"}"
Ka whakamahia ngā take
- E whakarāpopoto ana i ngā aho Slack roa me tētahi whakahau kotahi
- Ka whakamāoritia ngā karere mō ngā rōpū reo maha
- Ka whakaputa i ngā tātai ihirangi me te whiwhi arotakenga i roto i te kanikani
- Ka whakapuakina ā-māori ngā pūrongo AI-i-ā-rohe
- Ka whakautua ngā pātai o te tīma mā te whakamahi i te pūtake mōhiotanga AI