Skip to Content
Set up your apps

WeChat ClawBot

Sign in to SwB as the owner. Give this prompt to an agent with owner access.

Read the setup guide at https://swb.one/docs/setup/wechat.

Help me connect WeChat ClawBot to the SwB server I host. Give me https://swb.one/docs/connect if I need to connect this agent to SwB first.

Use a SwB client with owner access. Call `connect(what="wechat")`. Ask me whether another agent tool already uses this ClawBot. Call `connect` again with my answer in `choose.existing_binding`. If another agent uses this ClawBot, keep that connection. Connect the agent to SwB through its own integration. Continue with the QR code only when I choose to connect ClawBot to SwB.

Give me the link to the QR code panel at `/connections/wechat` on my SwB server. Ask me to select **Connect**. Ask me to scan the code with my WeChat account. Ask me to confirm the connection in WeChat. If WeChat asks for a PIN, direct me to enter the code in the SwB console. Keep the code in the console.

After ClawBot connects, ask me which agent answers here. Use `targets` to show the choices. Set my choice with `chat_main_set`.

Ask me to send a text message in my one-to-one chat with ClawBot. Ask me to check for a text reply in that chat. If WeChat ends the session, give me the same console link. Ask me to select **Reconnect**. Ask me to scan a new QR code.

The agent calls connect(what="wechat") to get the setup instructions. Tell the agent if your agent tool already uses ClawBot. Keep that connection if it does. For a ClawBot that SwB will run, choose which agent answers.

Open /connections/wechat on your SwB console. Select Connect. Scan the QR code with WeChat. Confirm the connection in WeChat. If WeChat asks for a PIN, enter that code in the SwB console.

Send a text message to ClawBot in a private chat. Look for a text reply in the same chat.

If WeChat ends the session, open the same panel. Select Reconnect. Scan a new QR code.

WeChat ClawBot block