Send agent results to WeChat
Each agent’s result in the WeChat group that reads it, a few messages at a time.
Agents write their results to files and web pages. The people who have to act on them, a client’s operators or our own team, work in a WeChat group and do not open those pages. So someone copies each day’s draft and each round of leads into the group by hand, every day.
Running on our own company since Nov 24, 2026 · WeChat · Risk: Medium. Everything on this page is public; there is nothing to sign in for unless you want us to run it for you.
Tasks and outputs
What it takes on
Collect
Reads the other agents’ files as the main branch has them and works out what has not gone out yet.
Send
Opens the chat by its exact name, checks it, and sends at most three messages a pass with a random wait before each.
Record
Writes the entry before each send, settles it after, and commits one line of counts a day.
Who it is for: Teams whose clients or colleagues work in WeChat and want each agent’s result to arrive in the group they already read, without a person pasting it.
How we use it: Built on 2026-11-24. Until then a person pasted the same two pieces into a client’s group every day. The sending step was checked that day against our own team chat: a short text, a 1,374-character draft with its cover picture and a 4,143-character round of leads arrived, and a chat that does not exist received nothing. It was switched on the same day, for our own team chat only, with a pass every half hour. A day’s line is written to the run log once that day’s summary has gone out. It will send to a client’s chat only after our own has run cleanly.
What is sent, how fast, and what is never retried
01At most three messages a pass and twenty a day, with a random 10 to 25 seconds before each.
02The record is written before the send. A send that cannot be confirmed is never sent again.
03Nothing dated before the start date is sent, and nothing that waited more than 36 hours.
04Failure reasons, costs and alerts go to the team’s own chat only. The configuration refuses any other route for them.
05A chat is opened by its exact name, and the app’s own report of the open chat is checked before anything is sent.
The rules the agent’s output is written to, from the file named above. This site prints no example output; what the agent has shipped is in its run log.
Workflow
How a run goes, step by step
Pick a step to see what goes in, what comes out, and where a person is involved.
Step 1 of 5
Read what the agents committed
Unpacks the few files it reads from the main branch into a folder of its own, so it never touches the checkout the other agents share.
The main branch
The drafts, the rounds of leads and the runs that produced nothing since the start date
Nobody.
Step 2 of 5
Work out what is new
Compares each item with the registry on the sending machine. What is already sent, in doubt or too old is left out; alerts and reminders waiting for the same chat become one message.
The items and the registry
This pass’s deliveries, oldest first
Nobody.
Step 3 of 5
Send, slowly
Writes the registry entry, opens the chat by its exact name, checks the app’s report of the open chat, waits, sends. At most three messages; the rest wait half an hour.
A delivery
Messages in the chat, each read back or confirmed from the chat list
Nobody, unless a send cannot be confirmed.
Step 4 of 5
Say when something is wrong
Mails the team when trouble begins and once a day while it lasts: signed out, a chat not found, a send in doubt, an item dropped for age.
What the pass could not do
One email, with the text that did not go out
A person signs in, corrects the chat’s name or checks the chat.
Step 5 of 5
Record the day
After the daily summary goes out, commits one line of counts to the repository without touching the shared checkout.
The registry
One line in web/content/wechat-push.json
Nobody.
Before you start
What you’ll need to bring
Company material
A WeChat group the results should arrive in, and someone in it who acts on them.
Source material
Agents that commit their results to a repository in a form a script can read.
Platform account
A WeChat account that is a member of the group, signed in on the sending machine.
Run environment
A Windows machine that stays on and signed in, Node.js, Python with wxauto4, and Git.
Guides and files
Set it up yourself
The setup guide, and the files the agent is built from. You run it in your own environment, with your own accounts.
- 01
Runtime
- A Windows machine that stays on and signed in, with the WeChat desktop app held at a version whose controls can be read. For us that is 4.1.8; newer versions expose none.
- Node.js 22 and Python 3.12 with the wxauto4 package.
- Git, to read the other agents’ files as the main branch has them.
- 02
Browser setup
- None. It drives the WeChat desktop app, not a browser.
- 03
Account setup
- A WeChat account signed in on that machine that is a member of every chat it sends to. No password is given to the agent: a person confirms the login on their phone.
- 04
Configuration
- The chats, each by the exact name the account shows, and which kind of message goes to which chat.
- The pace: messages per pass, messages per day, and the wait before each.
- A start date. Nothing dated before it is ever sent, so switching the agent on does not pour a month of history into a chat.
- 05
First run
- Ask the sender to find the chat by name, then to open it without sending.
- Send one short test message and read it in the chat.
- Run a pass with sending off and read the list of what it would send.
- Switch sending on for your own team’s chat only, and watch a week of daily summaries before adding anyone else’s chat.
config.md
Configuration · Markdown. The switch, the start date, the pace, the chats and which kind of message goes where. Edited by a person.
feeds.mjs
Script · Node. Works out what there is to send from the other agents’ files, the alerts and the day’s commits.
push.mjs
Script · Node. One pass: what is new, the pace, the registry, the email when something is wrong.
send.py
Script · Python. Drives the WeChat desktop app: finds a chat, checks it, sends, confirms.
record.mjs
Script · Node. Writes the day’s line of counts and commits it without the checkout.
wechat-push.json
Record · JSON. One line a day, counts only. What the run log is built from.
Not packaged for public download yet. The guide on the left describes what each one does, step by step, so you can rebuild the setup; to have us run one, order it in the block below.
Run log
Every run on record, newest first
Public and read-only. Open a record to read the steps, where the record comes from, and what happened when something needed a person.
Open the log on its own pageweb/content/wechat-push.json), as of Nov 24, 2026. Counts only. The chats and the messages themselves stay on the sending machine and are not in the repository. A day whose summary did not go out is recorded the next day as failed; the reason is mailed to the team, not written here. A new line reaches this page with the next site deploy. The numbers below are counted from the records shown.No runs on record yet. The first record this agent writes to web/content/wechat-push.json appears here on the next build of the site.
No runs match these filters
There are no runs of “Send agent results to WeChat” with that status in that date range. Try a wider range or another status.
The task finished. The record says which: a post published, or a draft written.
The run stopped. The record says where, why, and what happens next.
The run is waiting on a person: a sign-in, a challenge to solve, or a closing to rewrite.
“Succeeded” means the task in the record finished, and the record says which: a post published, or a draft written. It does not measure reach, leads or revenue. Records never include private messages or personal details of people outside the team. Times are US Eastern, from the commit that wrote the record.
Good to know
Where it stops and asks for you
- WeChat is signed out or not running. Nothing is sent. One email; what waited goes out after sign-in, unless it is more than 36 hours old.
- A chat is not found by its name. Only that chat’s messages wait. One email asks a person to check the name.
- A send cannot be confirmed. The pass stops and the entry is marked in doubt. It is never retried: a person looks at the chat.
- The pass’s or the day’s message limit is reached. The rest waits for the next pass, in order. This is not a failure.
Risk notice
What to watch for
- It depends on one old version of the WeChat desktop app. If WeChat forces an upgrade, sending stops until the automation library supports the new version, and it may never.
- Driving a personal WeChat account through its interface is against WeChat’s terms. A slow pace lowers the chance of a restriction; it does not remove it.
- Sending uses the clipboard and the window in front, so nothing else may drive that desktop at the same moment. A lock shared with our other agents keeps them out while it sends.
- A long message cannot be read back from the chat itself. It is confirmed from the chat list’s preview line, which proves how the message starts, not how it ends.
FAQ
Questions about this agent
Is this an official WeChat integration?
No. WeChat has no bot interface for ordinary group chats. The agent drives the desktop app the way a person would, by pasting and pressing Enter. That is against WeChat’s terms for personal accounts and can get an account restricted, which is why it sends a handful of messages a day and never in a burst.
What happens when WeChat signs out?
Nothing is sent and nothing is lost. The team gets one email. After a person signs in again, what waited goes out, except what is more than 36 hours old, which is mailed and not sent late.
Can a message go out twice?
The record is written before each send. A send whose outcome cannot be read is marked as in doubt and never retried; a person looks at the chat and settles it.
Does the run log show what was sent?
No. It shows counts. The chats and the messages stay on the sending machine.
Run it for your company
The same agent, your buyers’ questions, your account.
Sign in, tell us your site in three lines, and we email you within one working day with how we would run it for you and what it costs. Nothing to install, nothing goes out without your approval.
Would you rather we ran this agent for you? There is a managed service for that.
Talk to usThe other agents are in the Agent menu at the top of this page, and all of them on the home page.
See all agents