Don't guess
A group is accepted only if its name matches exactly and only once; otherwise the tool stops and reports it.
Energy · Automation
An electricity and gas supplier sends hundreds of PDF bills every month to its customers' WeCom groups. BillSender does this work instead of a person, with one rule above all: better not to send than to send to the wrong customer.
Every month hundreds of bills must be sent one by one to the right customer's WeCom group: find the group, open it, write the message, attach the PDF. WeCom offers no interface to do this from a program, so the only way is to use the app the way a person would.
An earlier tool recognised the screen by comparing images and, when a customer's group was missing from the list, tried to guess it from the name. The result was wrong groups opened and bills never sent, found out only afterwards by going through an Excel sheet.
BillSender works everything out before touching WeCom: who receives which bill, with which message and which PDF, in a plan that can be checked. Then it finds each group, checks the title before sending and logs every step.
It is being tested on the client's computer. The test mode looks for the groups without sending anything and is used to fix the customer list before the first full send.
A group is accepted only if its name matches exactly and only once; otherwise the tool stops and reports it.
If the title of the group that opened isn't the expected one, nothing goes out. A missed send can be recovered; a wrong one can't.
The text contains no amounts, due dates or names, so even a mistake would not expose another customer's data.
Every send is logged before and after. If the program stops halfway, that bill must be checked by hand and is never resent automatically.
Customers marked “do not send” are excluded before any other check.
The test modes write to a separate log and cannot send anything.
Tell us about the process: we'll tell you whether and how it can be automated safely.