/install amernet-ai-saas
AI SaaS Chatbot
This skill forwards user messages to an AI SaaS chatbot and returns its response. It maintains conversation context per user by using their channel and user identifier as a session key.
Required Configuration
These environment variables must be set in your ~/.openclaw/openclaw.json under skills.entries.amernet-ai-saas.env:
| Variable | Description |
|---|---|
AI_SAAS_API_KEY |
Your API key from the portal (Settings → API Keys). Needs all permission. |
AI_SAAS_CHATBOT_ID |
The chatbot ID to route all messages to (copy from the Chatbots page). |
AI_SAAS_BASE_URL |
Base URL of your AI SaaS instance. Default: https://saas.salesbay.ai |
Message Routing
When the user sends ANY message through any connected channel:
-
Identify the current channel name (e.g.
whatsapp,telegram,slack,discord) and the user's identifier on that channel (phone number, user ID, or username). -
Construct a
sender_idcombining both:\x3Cchannel>:\x3Cuser_identifier>- WhatsApp example:
whatsapp:+15551234567 - Telegram example:
telegram:123456789 - Slack example:
slack:U012AB3CD - Discord example:
discord:123456789012345678
- WhatsApp example:
-
Send a POST request to the chatbot API:
POST ${AI_SAAS_BASE_URL}/api/v1/chatbots/${AI_SAAS_CHATBOT_ID}/chat
Authorization: Bearer ${AI_SAAS_API_KEY}
Content-Type: application/json
{
"sender_id": "\x3Cconstructed sender_id>",
"message": "\x3Cuser message text>"
}
-
Parse
data.responsesfrom the JSON response. Return each item'stextfield as a separate message to the user. If multiple responses exist, send them in order. -
If the API returns an error or is unreachable, reply: "Sorry, the AI assistant is temporarily unavailable. Please try again in a moment."
Conversation Reset
If the user explicitly says "reset", "start over", "clear chat", or "/reset":
DELETE ${AI_SAAS_BASE_URL}/api/v1/chatbots/${AI_SAAS_CHATBOT_ID}/conversations/\x3Csender_id>
Authorization: Bearer ${AI_SAAS_API_KEY}
Then confirm: "Conversation cleared. How can I help you?"
Status Check
If the user says "/status" or "/ping":
GET ${AI_SAAS_BASE_URL}/api/v1/chatbots/${AI_SAAS_CHATBOT_ID}
Authorization: Bearer ${AI_SAAS_API_KEY}
Report the chatbot name and whether it is active.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install amernet-ai-saas - 安装完成后,直接呼叫该 Skill 的名称或使用
/amernet-ai-saas触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Amernet AI SaaS 是什么?
Connect your AI SaaS intelligent agent to any messaging channel via OpenClaw (WhatsApp, Telegram, Slack, Discord, iMessage, and more). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 599 次。
如何安装 Amernet AI SaaS?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install amernet-ai-saas」即可一键安装,无需额外配置。
Amernet AI SaaS 是免费的吗?
是的,Amernet AI SaaS 完全免费(开源免费),可自由下载、安装和使用。
Amernet AI SaaS 支持哪些平台?
Amernet AI SaaS 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Amernet AI SaaS?
由 Amernet(@amernet)开发并维护,当前版本 v1.0.0。