Connect Weixin Bot to Your AI Agent

Start from a recent inbound message so the assistant has the conversation context needed for a reply.

5 tools Custom credential

Try a Weixin Bot Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill Weixin Bot

Review Incoming Weixin Messages

Long-poll for inbound Weixin bot messages. Pass the returned cursor to the next call to avoid receiving the same updates again.

/oo Weixin Bot: Get Weixin bot updates and summarize the returned messages. Retain the returned cursor for the next poll and use inbound context for any requested reply.

Reply in an Existing Conversation

Send a text reply from the connected Weixin bot to a user or conversation.

/oo Weixin Bot: Send text [text] to user [toUserId] using context token [contextToken from that user’s inbound update].

Share a File in a Conversation

Download, encrypt, upload, and send an image, video, or file from a public URL.

/oo Weixin Bot: Send file URL [fileUrl] with mediaType file to [toUserId], using [contextToken from that user’s recent inbound update] and file name [fileName].

Start Working with Weixin Bot

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect Weixin Bot

    Connect with Bot Token (botToken), Bot Account ID (accountId).

    Connect Weixin Bot →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • QR-paired bot credentials and a recent inbound message providing user ID and context token.
  • Replies require the conversation context token. Media input uses an accessible file URL; reading updates supplies conversation context.

Weixin Bot Tools

The paired Weixin bot supports polling, conversation replies, and media handling. Returned cursors track updates, while context tokens link outgoing messages to the conversation.

Review Incoming Weixin Messages

Long-poll for inbound Weixin bot messages. Pass the returned cursor to the next call to avoid receiving the same updates again.

Reply in an Existing Conversation

Send a text reply from the connected Weixin bot to a user or conversation.

Share a File in a Conversation

Download, encrypt, upload, and send an image, video, or file from a public URL.

5 tools

Get Updates

Long-poll for inbound Weixin bot messages. Pass the returned cursor to the next call to avoid receiving the same updates again.

weixin_bot.get_updates

Send Message

Send a text reply from the connected Weixin bot to a user or conversation.

weixin_bot.send_message

Send Media

Download, encrypt, upload, and send an image, video, or file from a public URL.

weixin_bot.send_media

Download Media

Download and decrypt one image, voice, video, or file item returned by get_updates, then upload it to file transit.

weixin_bot.download_media

Send Typing

Start or stop the typing indicator for a Weixin conversation.

weixin_bot.send_typing

Frequently Asked Questions

What can AI help me do with Weixin Bot?

Use AI to review incoming Weixin bot messages and send text or files in an existing conversation.

What should I know before using Weixin Bot results?

Replies require the conversation context token. Media input uses an accessible file URL; reading updates supplies conversation context.

What do I need to connect Weixin Bot?

Pair the bot through the QR login example and supply both botToken and accountId. Reply operations also need context from a recent inbound message.

Connect Weixin Bot

About Weixin Bot ↗