What the Integration Does
Processing notifications
When a document is processed and ready for review, a WeCom message is sent to the responsible team member or group — with the document summary, confidence score, and a direct link to review it.
Exception alerts
When a document is flagged as an Exception (low confidence, missing fields, rule trigger), an alert is sent immediately so nothing falls through the cracks.
Approval confirmations
When a document is approved and exported, a confirmation message notifies the relevant contact — useful for internal sign-off workflows.
Document submission via chat
Team members can send document files directly in a WeCom chat. The integration forwards them to RecordEngine for processing automatically — no browser login needed.
Part A — Outbound Notifications (WeCom Webhook)
This is the simpler of the two integration paths. RecordEngine fires an outbound webhook when documents reach key statuses; an automation platform receives the webhook and forwards a formatted message to WeCom.Step 1 — Create a WeCom Group Bot
- Open the WeCom group chat where you want notifications delivered
- Click the group name → Group Bots → Add Bot
- Give the bot a name (e.g. RecordEngine Notifications)
- Copy the Webhook URL — it looks like:
Step 2 — Build the Notification Scenario
Trigger: RecordEngine Document Webhook (Custom Webhook in your automation platform) Action: HTTP — POST to the WeCom Group Bot Webhook URL Message body:{{filename}}, {{contact_name}}, etc. with the actual field mappings from the webhook payload in your automation platform.
Notification Triggers to Configure
Set up separate scenarios (or conditions within one scenario) for each notification type:Part B — Document Submission from WeCom
This more advanced path lets team members submit documents for processing by sending them in a WeCom chat. The document is automatically forwarded to RecordEngine without requiring anyone to log into the web UI.How It Works
Requirements
- A WeCom Self-Built Application (自建应用) with message receive permissions
- WeCom API credentials:
corpid,corpsecret,agentid - Your automation platform configured to receive WeCom message webhooks
Step 1 — Create a WeCom Self-Built Application
- Log into the WeCom Admin Console (
work.weixin.qq.com) - Go to Applications → Self-Built → Create Application
- Set the application name (e.g. RecordEngine)
- Under Receive Messages, enable message receiving and enter your automation platform’s webhook URL
- Note your
AgentId,CorpId, andSecret
Step 2 — Build the Submission Scenario
Trigger: Webhooks — receive the WeCom message event (your automation platform’s incoming webhook URL was set in the WeCom app above) Condition: Check that the message type isfile (not a text message)
Action 1: WeCom API — Download the file using the media_id from the message event
Action 2: RecordEngine API — Upload the file
Mapping WeCom Users to RecordEngine Contacts
For the submission flow to automatically assign documents to the right contact, you need a way to map from a WeCom user ID to a RecordEngine contact ID. Simple approach: Use a fixed contact/folder for all WeCom submissions. A reviewer then manually reassigns documents after processing. Advanced approach: Maintain a lookup table in your automation platform’s data store mapping WeCom user IDs to RecordEngine contact IDs. When a message arrives, look up the sender’s WeCom ID and use the correspondingcontact_id in the upload request.
WeCom vs. Standard WeChat
Troubleshooting
For more help see Integration Troubleshooting.