feat: wire wechat archive through langbot and n8n
This commit is contained in:
@@ -17,6 +17,12 @@ langbot:
|
||||
publicBaseUrl: https://langbot.pikapython.com
|
||||
expectedAdapter: openclaw-weixin
|
||||
callbackPath: /callback/command
|
||||
pipeline:
|
||||
name: UniDesk WeChat Baidu Archive
|
||||
description: Forward WeChat/OpenClaw messages to the UniDesk n8n archive workflow.
|
||||
runner: n8n-service-api
|
||||
outputKey: response
|
||||
timeoutSeconds: 120
|
||||
notes:
|
||||
- LangBot receives WeChat/OpenClaw messages and forwards archive events to the n8n workflow webhook.
|
||||
- Credentials for real WeChat channels are bound in LangBot runtime and are not stored in this YAML.
|
||||
@@ -31,6 +37,13 @@ n8n:
|
||||
active: true
|
||||
timezone: Asia/Shanghai
|
||||
|
||||
archiveCallback:
|
||||
publicUrl: http://74.48.78.17:18081/webhooks/wechat-archive
|
||||
secretRoot: /root/unidesk/.state/secrets
|
||||
tokenSourceRef: platform-infra/wechat-archive.env
|
||||
tokenKey: UNIDESK_WECHAT_ARCHIVE_TOKEN
|
||||
timeoutMs: 90000
|
||||
|
||||
baiduNetdisk:
|
||||
serviceId: baidu-netdisk
|
||||
proxyMode: backend-core-microservice-proxy
|
||||
|
||||
@@ -53,6 +53,16 @@ sources:
|
||||
N8N_ENCRYPTION_KEY:
|
||||
bytes: 32
|
||||
prefix: ""
|
||||
- sourceRef: platform-infra/wechat-archive.env
|
||||
type: env
|
||||
requiredKeys:
|
||||
- UNIDESK_WECHAT_ARCHIVE_TOKEN
|
||||
createIfMissing:
|
||||
enabled: true
|
||||
randomBase64Url:
|
||||
UNIDESK_WECHAT_ARCHIVE_TOKEN:
|
||||
bytes: 32
|
||||
prefix: uwa_
|
||||
|
||||
targets:
|
||||
- id: platform-infra-g14
|
||||
|
||||
Reference in New Issue
Block a user