@wuzhihao/n8n-nodes-weixin-bot
v0.1.0
Published
n8n community nodes for Weixin bot via openclaw gateway
Downloads
130
Readme
@wuzhihao/n8n-nodes-weixin-bot
n8n community nodes for Weixin bot integration through the official OpenClaw Weixin channel protocol.
Installation
npm install @wuzhihao/n8n-nodes-weixin-botThen install as an n8n community node from the UI, or add it to your custom nodes setup.
Included Nodes
Weixin Trigger: long-pollsgetupdatesand emits each incoming message.Weixin: sends message to a target user.- text
- image/video/file (via
getuploadurl+ CDN upload +sendmessage)
Credential: Weixin Bot
Credential name in node code: weixinBotApi.
Fields:
Gateway Base URL: OpenClaw gateway base URL.Bot Token: token forAuthorization: Bearer.WeChat UIN Header(optional):X-WECHAT-UIN; leave empty for auto-generated base64 random uint32.Poll Timeout (ms): timeout for trigger long-poll.
Login flow guidance:
- Use OpenClaw login command:
openclaw channels login --channel openclaw-weixin
- Complete QR scan or link flow in OpenClaw.
- Put the issued bot token into the n8n credential.
Trigger Output
Trigger emits raw message payload and includes current get_updates_buf cursor:
from_user_idto_user_idcontext_tokenitem_list- other upstream fields
Send Node Usage
Required:
To User IDMessage Type(TextorMedia)
Optional:
Context Token(recommended when replying in-thread)Text(for caption or plain text send)
Media source:
- Binary property (
Input Binary Field) - URL (
Media URL)
