Last updated: · By Asael Dreyer
In short: to connect an AI agent to WhatsApp with OpenClaw on Cloudways, you open the agent in the dashboard, go to the LLM & Channels tab, click Connect WhatsApp and scan a QR code from your phone, exactly like connecting WhatsApp Web. It takes under a minute. For Slack you create an app in Slack and paste two tokens, about 15 minutes. I recommend a separate WhatsApp number for the agent, not your personal one.
⏱ Time needed: WhatsApp about 2 minutes, Slack about 15 minutes · Difficulty: easy to intermediate · Last checked against the Cloudways knowledge base and the OpenClaw docs: 7 Nov 2026
At a glance: OpenClaw on WhatsApp and Slack (as of 7 Nov 2026)
| Channel | How you connect | Time | Important limit |
|---|---|---|---|
| QR scan (linked device) | Under a minute | One number for one agent at a time | |
| Slack | A Slack app + xoxb and xapp tokens | About 15 minutes | You need admin permission in Slack |
| Telegram | A bot from BotFather + a token | About 5 minutes | Keep the token like a password |
| Requirement for all | An active OpenClaw agent on a paid account, and a connected LLM key | ||
What do you need before connecting an AI agent to WhatsApp?
An active OpenClaw agent, an API key for an AI model, and a phone with WhatsApp. Do not have an agent yet? The 5-step setup is in the guide to setting up an AI agent on Cloudways.
- A paid account: according to the Cloudways knowledge base, managed agents are not available on a trial account.
- An LLM key: without a valid key the agent will not reply, even if WhatsApp is connected.
- A WhatsApp number: a dedicated number for the agent is better. I explain why below.
- A phone connected to the internet: the connection works as a linked device, so the phone needs to connect from time to time so the link does not expire.
How do you connect OpenClaw to WhatsApp, step by step?
In seven steps, in the dashboard and on the phone. The button names are as they appear in the Cloudways knowledge base.
- Log in to the dashboard, and in the side menu choose Cloudways AI and then Managed AI Agents.
- Click the OpenClaw agent you want to connect.
- Go to the LLM & Channels tab, and in the side menu choose Channels.
- Under WhatsApp click Connect WhatsApp, and in the window that opens click Click To Generate QR Code.
- On the phone open WhatsApp: on iPhone Settings, on Android the three-dot menu. Choose Linked devices and then Link a device, and scan the code.
- Close the QR window. The status should change to Connected. It did not change? Click Sync.
- Send a test message to the linked number, for example “Hi, who are you?”. If the agent replies, everything works.
To disconnect: in the channel’s three-dot menu choose Disconnect. If you delete the linked device from the phone, the connection to the agent stops too.
Why use a separate WhatsApp number for the agent?
Because the agent sees the messages that arrive at the number. The OpenClaw documentation explicitly recommends a separate number: it creates a clear boundary between who is allowed to talk to the agent and everyone else, and avoids confusion in the chat with yourself.
Two more things from the documentation worth knowing:
- Approving new senders (Pairing): by default, anyone the agent does not know needs your approval before the agent responds to them. Such a request expires after an hour.
- Allowlist: you can restrict the agent so it replies only to certain numbers, in international format (for example +1555…).
Important to understand: according to the documentation, OpenClaw connects to WhatsApp through WhatsApp Web, not through Meta’s official WhatsApp Business API. For a personal assistant or a small team that is enough. For customer service at large scale, with message templates and conversation logs, consider the official API.
How do you connect OpenClaw to Slack?
You create an app in Slack, give it permissions, and paste two tokens into the agent. You need admin permission in the Slack workspace, or an admin who approves the installation.
- At api.slack.com/apps click Create New App, choose From scratch, give it a name and choose the workspace.
- Under OAuth and Permissions add the scopes:
chat:write,im:history,im:write,app_mentions:read,channels:history,channels:read,users:read. - Under App Home turn on the Messages Tab and tick that users can send messages.
- Under Socket Mode enable the mode and create a token with the
connections:writescope. Save the token that starts withxapp-. - Under Event Subscriptions enable events and add
message.imandapp_mention. - Go back to OAuth and Permissions, click Install to Workspace, and copy the token that starts with
xoxb-. - In the Cloudways dashboard, in the agent’s channels, click Connect Slack, paste the two tokens into the Bot Token and App Token fields, and send a test message to the app in Slack.
A warning from the knowledge base: do not turn on Token Rotation in the Slack app. It makes the xoxb token expire every 12 hours, and the connection will drop. To use the agent inside a channel, invite it with /invite @app-name.
The code BFCM802 takes 80% off your bill for the first two months (up to $200 off per month), including unlimited free site migrations. New customers only, and only until the offer ends.
The offer ends on December 4, 2026 at 23:59 (UTC+2).
Start with a free trial, no credit card. Enter the code at checkout and check that it shows up.
After Black Friday: 30% off for 3 months with the code ASAEL. On a large server (above about $444 a month) ASAEL already saves more today. BFCM802 vs. ASAEL calculator
Start a free trial server, no credit card. When you move to a paid plan, the code ASAEL takes 30% off your bill for the first three months.
The link fills in the code on the signup form. Just make sure it shows up.
What can a small business do with a WhatsApp agent?
Mostly save routine work. According to the Cloudways OpenClaw page, the agent can answer routine messages, schedule meetings, manage recurring tasks and send reminders. Practical examples:
- “Remind me every Thursday at 12:00 to send invoices to clients who have not paid.”
- “Summarize this morning’s unread emails in three lines.”
- “Track the price of this product and tell me if it drops.”
The agent understands whatever languages the model you connected supports. Recent models handle many languages well, but check the answers before you let it reply to customers on your behalf.
Common mistakes and how to fix them
The QR code does not show up or has expired: close the window, open Connect WhatsApp again, and generate a new code.
The agent does not answer on WhatsApp: check on the phone that the device still appears under linked devices, that the phone is connected to the internet, and that the LLM key is valid and has not run out of credits.
You want to move the number to another agent: a WhatsApp number is connected to one agent at a time. Disconnect it from the current agent first.
Slack worked and then stopped: almost always Token Rotation was turned on. Turn it off, create a new token and reconnect.
Frequently asked questions
With OpenClaw on Cloudways: open the agent, go to LLM & Channels, click Connect WhatsApp and scan the QR code from Linked devices in WhatsApp. It takes under a minute.
You can, but the OpenClaw documentation recommends a separate number. That makes it clear who is allowed to talk to the agent, and the agent does not see your private conversations.
No. According to the OpenClaw documentation, the connection works through WhatsApp Web as a linked device. For customer service at large scale, it is better to look at Meta’s official API.
On Cloudways the managed server starts at $9.99 a month, as of 7 Nov 2026. On top of that you pay the AI provider by token usage. WhatsApp itself does not charge for this connection.
Usually a valid LLM key is missing, or the linked device was deleted from the phone. Check both, and click Sync in the channels tab.
Yes. According to the Cloudways knowledge base, you can connect several channels to the same agent, including WhatsApp, Slack, Telegram and Discord. Each channel connects separately in the channels tab.
Related guides
- Setting up a managed AI agent on Cloudways
- What is OpenClaw
- Managed OpenClaw hosting
- Managed AI agents pricing
- All the guides on this topic: AI and automation guides
Sources
- How to Connect Communication Channels to Your Managed AI Agent – Cloudways Knowledge Base (WhatsApp, Slack and Telegram steps)
- OpenClaw Docs – WhatsApp – separate number, Pairing, Allowlist, WhatsApp Web (checked 7 Nov 2026)
- Cloudways Managed OpenClaw – use cases and channels
- openclaw/openclaw on GitHub – MIT license, supported channels, “inbound messages are untrusted input”
Official source: How to Connect Communication Channels to Your Managed AI Agent on Cloudways (Cloudways Knowledge Base). This guide was written and checked by Asael Dreyer · Updated: 7 Nov 2026
Disclosure: this is an independent site, not the official Cloudways site. Some links on this site are affiliate links: if you sign up through them we earn a commission, at no extra cost to you. Full details