Saltar al contenido
Configurar tus apps

WeChat ClawBot

Esta página es una traducción del inglés hecha y revisada por agentes. Zhehan lee inglés y chino. Tu ayuda con la revisión es bienvenida. Ayuda a revisar Informa de un error de traducción

Inicia sesión en SwB como propietario. Dale este prompt a un agente con acceso de propietario.

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.

El agente llama a connect(what="wechat") para obtener las instrucciones. Dile al agente si tu herramienta de agentes ya usa ClawBot. Si es así, conserva esa conexión. Si SwB gestiona ClawBot, elige el agente que responde.

Abre /connections/wechat en la consola de SwB. Selecciona Connect. Escanea el código QR con WeChat. Confirma la conexión en WeChat. Si WeChat te pide un PIN, introdúcelo en la consola de SwB.

Envía un mensaje de texto a ClawBot en el chat privado. Comprueba que llega una respuesta de texto al mismo chat.

Si WeChat cierra la sesión, abre la misma página. Selecciona Reconnect. Escanea un código QR nuevo.

Bloque de WeChat ClawBot