n8n-nodes-wecom 0.1.32 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +67 -199
- package/dist/credentials/WeComApi.credentials.js +13 -9
- package/dist/credentials/WeComApi.credentials.js.map +1 -1
- package/dist/credentials/WeComReceiveApi.credentials.js +4 -4
- package/dist/credentials/WeComReceiveApi.credentials.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/index.js +1 -1
- package/dist/nodes/WeCom/resources/externalContact/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/wedoc/createDoc.js +41 -0
- package/dist/nodes/WeCom/resources/wedoc/createDoc.js.map +1 -1
- package/dist/nodes/WeCom/resources/wedoc/execute.js +7 -0
- package/dist/nodes/WeCom/resources/wedoc/execute.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
这是一个 n8n 社区节点,让你可以在 [n8n](https://n8n.io/) 工作流中使用企业微信(WeChat Work)API。
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 节点分类
|
|
6
6
|
|
|
7
7
|
本插件按照企业微信官方文档的分类结构,提供以下节点:
|
|
8
8
|
|
|
@@ -34,17 +34,18 @@
|
|
|
34
34
|
- **会议室管理** - 会议室和会议室预定管理
|
|
35
35
|
- **紧急通知** - 语音电话等紧急通知
|
|
36
36
|
|
|
37
|
-
### 3.
|
|
38
|
-
|
|
39
|
-
接收企业微信的消息和事件推送
|
|
40
|
-
|
|
41
|
-
### 4. 企业微信-连接微信
|
|
37
|
+
### 3. 企业微信-连接微信
|
|
42
38
|
|
|
43
39
|
包含企业微信连接微信的功能:
|
|
44
40
|
|
|
45
41
|
- **客户联系** - 客户管理、标签、继承、客户群、朋友圈、群发等
|
|
46
42
|
- **微信客服** - 客服账号、接待人员、消息收发、统计管理
|
|
47
43
|
|
|
44
|
+
|
|
45
|
+
### 4. 企业微信消息接收(Trigger)
|
|
46
|
+
|
|
47
|
+
接收企业微信的消息和事件推送
|
|
48
|
+
|
|
48
49
|
## 隐私与安全
|
|
49
50
|
|
|
50
51
|
**本插件完全基于企业微信官方 API 开发,直连企业微信服务器,不经过任何第三方服务器。**
|
|
@@ -69,7 +70,7 @@ npm install n8n-nodes-wecom
|
|
|
69
70
|
|
|
70
71
|
## 凭证配置
|
|
71
72
|
|
|
72
|
-
###
|
|
73
|
+
### 消息推送凭证(WebHook URL)
|
|
73
74
|
|
|
74
75
|
**消息推送**功能用于通过群机器人 Webhook 发送消息到企业微信群聊
|
|
75
76
|
|
|
@@ -80,7 +81,7 @@ npm install n8n-nodes-wecom
|
|
|
80
81
|
3. 创建一个机器人并复制 Webhook 地址
|
|
81
82
|
4. 在 n8n 中配置"企业微信群机器人 Webhook"凭证,填入 Webhook 地址
|
|
82
83
|
|
|
83
|
-
###
|
|
84
|
+
### 获取企业微信请求凭证(消息发送、通讯录、素材管理等功能需要)
|
|
84
85
|
|
|
85
86
|
1. 登录 [企业微信管理后台](https://work.weixin.qq.com/)
|
|
86
87
|
2. 进入"我的企业" > "企业信息",复制 **企业ID (CorpID)**
|
|
@@ -88,138 +89,12 @@ npm install n8n-nodes-wecom
|
|
|
88
89
|
4. 复制 **AgentId**(应用ID)
|
|
89
90
|
5. 点击"查看Secret",复制 **Secret**
|
|
90
91
|
|
|
91
|
-
###
|
|
92
|
-
|
|
93
|
-
根据使用的节点类型选择对应的凭证:
|
|
94
|
-
|
|
95
|
-
#### 企业微信-基础 节点
|
|
96
|
-
|
|
97
|
-
1. 添加"企业微信-基础"节点到工作流
|
|
98
|
-
2. 根据选择的资源类型配置凭证:
|
|
99
|
-
|
|
100
|
-
**通讯录、应用消息、群聊会话、企业互联、素材管理:**
|
|
101
|
-
- 点击"Credential to connect with"
|
|
102
|
-
- 选择"创建新凭证 - 企业微信 API"
|
|
103
|
-
- 填入以下信息:
|
|
104
|
-
- **企业 ID** - 你的企业 CorpID
|
|
105
|
-
- **应用 Secret** - 应用的 Secret
|
|
106
|
-
- **应用 ID** - 应用的 AgentID
|
|
107
|
-
|
|
108
|
-
**消息推送(群机器人):**
|
|
109
|
-
- 点击"Credential to connect with"
|
|
110
|
-
- 选择"创建新凭证 - 企业微信群机器人 Webhook API"
|
|
111
|
-
- 填入群机器人的 Webhook URL
|
|
112
|
-
|
|
113
|
-
#### 企业微信-办公 节点
|
|
114
|
-
|
|
115
|
-
1. 添加"企业微信-办公"节点到工作流
|
|
116
|
-
2. 点击"Credential to connect with"
|
|
117
|
-
3. 选择"创建新凭证 - 企业微信 API"
|
|
118
|
-
4. 填入企业凭证信息(同上)
|
|
119
|
-
|
|
120
|
-
#### 企业微信-连接微信 节点
|
|
121
|
-
|
|
122
|
-
1. 添加"企业微信-连接微信"节点到工作流
|
|
123
|
-
2. 点击"Credential to connect with"
|
|
124
|
-
3. 选择"创建新凭证 - 企业微信 API"
|
|
125
|
-
4. 填入企业凭证信息(同上)
|
|
126
|
-
|
|
127
|
-
#### 企业微信消息接收 Trigger 节点
|
|
128
|
-
|
|
129
|
-
1. 添加"企业微信消息接收"触发器节点
|
|
130
|
-
2. 点击"Credential to connect with"
|
|
131
|
-
3. 选择"创建新凭证 - 企业微信消息接收 API"
|
|
132
|
-
4. 填入以下信息:
|
|
133
|
-
- **企业 ID** - 你的企业 CorpID
|
|
134
|
-
- **Token** - 你将在企业微信后台设置的 Token(两边必须一致)
|
|
135
|
-
- **EncodingAESKey** - 你将在企业微信后台设置的密钥(两边必须一致,43位字符)
|
|
136
|
-
5. 复制节点的 Webhook URL
|
|
137
|
-
6. 在企业微信应用管理后台配置接收消息时,使用**相同的** Token 和 EncodingAESKey
|
|
138
|
-
|
|
139
|
-
**被动回复消息配置:**
|
|
140
|
-
|
|
141
|
-
如果需要在接收到用户消息后自动回复,可以启用"被动回复消息"功能:
|
|
142
|
-
|
|
143
|
-
1. 在触发器节点中,启用"被动回复消息"选项
|
|
144
|
-
2. 选择回复消息类型(文本、图片、语音、视频、图文)
|
|
145
|
-
3. 配置对应的字段名称
|
|
146
|
-
4. 在工作流中通过后续节点设置回复内容到指定字段
|
|
147
|
-
|
|
148
|
-
**注意事项:**
|
|
149
|
-
|
|
150
|
-
- 被动回复消息会自动进行加密和签名,无需手动处理
|
|
151
|
-
- 如果未在工作流中设置相应字段,文本消息会返回默认内容"感谢您的消息,我们已收到!"
|
|
152
|
-
- 媒体类型消息必须先通过素材管理接口上传获得 media_id,否则会报错
|
|
153
|
-
- 图文消息需要提供包含 Title、Url 等字段的数组
|
|
154
|
-
- 被动回复失败时会在输出数据的 `_passiveReplyError` 字段中记录错误信息
|
|
155
|
-
|
|
156
|
-
## 💡 使用技巧
|
|
92
|
+
### 获取企业微信消息接收凭证
|
|
157
93
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
#### 企业微信-基础 节点
|
|
163
|
-
|
|
164
|
-
- ✅ **成员选择**:自动获取企业所有成员列表,可按部门、标签筛选
|
|
165
|
-
- ✅ **部门选择**:自动获取企业部门树结构
|
|
166
|
-
- ✅ **标签选择**:自动获取企业标签列表
|
|
167
|
-
|
|
168
|
-
**使用方法**:在发送消息、成员管理等操作中,相关字段会显示为下拉列表,直接选择即可,无需手动输入 UserID、部门ID、标签ID。
|
|
169
|
-
|
|
170
|
-
**示例场景**:
|
|
171
|
-
- 发送应用消息时,选择接收人可以从下拉列表中选择成员姓名
|
|
172
|
-
- 创建成员时,选择所属部门可以从部门树中选择
|
|
173
|
-
- 添加标签成员时,可以先选择标签,再选择要添加的成员
|
|
174
|
-
|
|
175
|
-
#### 企业微信-连接微信 节点
|
|
176
|
-
|
|
177
|
-
- ✅ **客服账号选择**:自动获取已创建的客服账号列表
|
|
178
|
-
|
|
179
|
-
**使用方法**:在客服相关操作中,`客服账号` 字段会显示为下拉列表,显示客服账号名称,选择后自动填入 `open_kfid`。
|
|
180
|
-
|
|
181
|
-
**支持的操作**:
|
|
182
|
-
- 添加/删除接待人员
|
|
183
|
-
- 获取接待人员列表
|
|
184
|
-
- 发送客服消息
|
|
185
|
-
- 分配客服会话
|
|
186
|
-
- 获取客服账号链接
|
|
187
|
-
- 修改/删除客服账号
|
|
188
|
-
- 获取客服数据统计
|
|
189
|
-
|
|
190
|
-
**优势**:
|
|
191
|
-
- 🎯 **直观便捷**:显示友好的名称,无需记忆和查找 ID
|
|
192
|
-
- 🚀 **提升效率**:配置时间从 5-10 分钟缩短到 1-2 分钟
|
|
193
|
-
- ✅ **减少错误**:避免手动输入 ID 导致的错误
|
|
194
|
-
- 🔄 **实时同步**:自动获取最新的企业微信数据
|
|
195
|
-
|
|
196
|
-
**表达式支持**:所有动态选项字段仍支持通过 [n8n 表达式](https://docs.n8n.io/code/expressions/) 输入动态值,确保向后兼容和灵活性。
|
|
197
|
-
|
|
198
|
-
### 获取ID的方法
|
|
199
|
-
|
|
200
|
-
对于暂不支持动态选项的字段(如审批模板ID、日历ID等),可通过以下方式获取:
|
|
201
|
-
|
|
202
|
-
1. **审批模板ID**:
|
|
203
|
-
- 登录企业微信管理后台
|
|
204
|
-
- 进入"应用管理" > "自建" > 选择应用 > "审批"
|
|
205
|
-
- 在模板列表中查看模板ID
|
|
206
|
-
|
|
207
|
-
2. **日历ID**:
|
|
208
|
-
- 通过"创建日历"操作获取返回的 `cal_id`
|
|
209
|
-
- 在后续工作流中使用该ID
|
|
210
|
-
|
|
211
|
-
3. **文档ID**:
|
|
212
|
-
- 通过"新建文档"操作获取返回的 `docid`
|
|
213
|
-
- 在后续工作流中使用该ID
|
|
214
|
-
|
|
215
|
-
4. **空间ID**:
|
|
216
|
-
- 通过"创建空间"操作获取返回的 `spaceid`
|
|
217
|
-
- 在后续工作流中使用该ID
|
|
218
|
-
|
|
219
|
-
5. **会议室ID**:
|
|
220
|
-
- 登录企业微信管理后台
|
|
221
|
-
- 进入"工作台" > "会议室"
|
|
222
|
-
- 查看会议室列表中的 ID
|
|
94
|
+
1. 登录 [企业微信管理后台](https://work.weixin.qq.com/)
|
|
95
|
+
2. 进入"我的企业" > "企业信息",复制 **企业ID (CorpID)**
|
|
96
|
+
3. 进入"应用管理" > 选择或创建一个应用
|
|
97
|
+
4. 启用 **API接收消息**,获取Token、EncodingAESKey,创建一个节点,获取WebHook URL,填入**接收消息服务器配置**中
|
|
223
98
|
|
|
224
99
|
## 已实现功能
|
|
225
100
|
|
|
@@ -229,9 +104,9 @@ npm install n8n-nodes-wecom
|
|
|
229
104
|
|
|
230
105
|
## 一、基础功能(企业微信-基础 节点)
|
|
231
106
|
|
|
232
|
-
###
|
|
107
|
+
### 消息接收(Trigger 节点)
|
|
233
108
|
|
|
234
|
-
>
|
|
109
|
+
> [官方文档:接收消息与事件](https://developer.work.weixin.qq.com/document/path/90238)
|
|
235
110
|
|
|
236
111
|
**接收消息功能:**
|
|
237
112
|
|
|
@@ -249,7 +124,7 @@ npm install n8n-nodes-wecom
|
|
|
249
124
|
|
|
250
125
|
**被动回复消息功能:**
|
|
251
126
|
|
|
252
|
-
>
|
|
127
|
+
> [官方文档:被动回复消息](https://developer.work.weixin.qq.com/document/path/90241)
|
|
253
128
|
|
|
254
129
|
- ✅ [被动回复文本消息](https://developer.work.weixin.qq.com/document/path/90241)
|
|
255
130
|
- ✅ [被动回复图片消息](https://developer.work.weixin.qq.com/document/path/90241)
|
|
@@ -261,12 +136,12 @@ npm install n8n-nodes-wecom
|
|
|
261
136
|
|
|
262
137
|
**回调机制参考文档:**
|
|
263
138
|
|
|
264
|
-
-
|
|
265
|
-
-
|
|
139
|
+
- [回调机制说明](https://developer.work.weixin.qq.com/document/path/92520)
|
|
140
|
+
- [回调机制示例代码](https://developer.work.weixin.qq.com/document/path/92521)
|
|
266
141
|
|
|
267
|
-
###
|
|
142
|
+
### 消息推送(群机器人)
|
|
268
143
|
|
|
269
|
-
>
|
|
144
|
+
> [官方文档:消息推送配置说明](https://developer.work.weixin.qq.com/document/path/99110)
|
|
270
145
|
|
|
271
146
|
- ✅ 发送文本消息
|
|
272
147
|
- ✅ 发送 Markdown 消息
|
|
@@ -279,9 +154,9 @@ npm install n8n-nodes-wecom
|
|
|
279
154
|
- 文本通知模板卡片
|
|
280
155
|
- 图文展示模板卡片
|
|
281
156
|
|
|
282
|
-
###
|
|
157
|
+
### 应用消息发送
|
|
283
158
|
|
|
284
|
-
>
|
|
159
|
+
> [官方文档:发送应用消息](https://developer.work.weixin.qq.com/document/path/90236)
|
|
285
160
|
|
|
286
161
|
- ✅ 发送文本消息
|
|
287
162
|
- ✅ 发送 Markdown 消息
|
|
@@ -299,9 +174,9 @@ npm install n8n-nodes-wecom
|
|
|
299
174
|
- ✅ [撤回应用消息](https://developer.work.weixin.qq.com/document/path/94867)
|
|
300
175
|
- ✅ [更新模板卡片消息](https://developer.work.weixin.qq.com/document/path/94888)
|
|
301
176
|
|
|
302
|
-
###
|
|
177
|
+
### 群聊会话
|
|
303
178
|
|
|
304
|
-
>
|
|
179
|
+
> [官方文档:应用发送消息到群聊会话](https://developer.work.weixin.qq.com/document/path/90244)
|
|
305
180
|
|
|
306
181
|
- ✅ [创建群聊会话](https://developer.work.weixin.qq.com/document/path/90245)
|
|
307
182
|
- ✅ [获取群聊会话信息](https://developer.work.weixin.qq.com/document/path/98914)
|
|
@@ -313,9 +188,9 @@ npm install n8n-nodes-wecom
|
|
|
313
188
|
- 发送 Markdown 消息到群聊
|
|
314
189
|
- 发送图文消息到群聊
|
|
315
190
|
|
|
316
|
-
###
|
|
191
|
+
### 通讯录管理
|
|
317
192
|
|
|
318
|
-
>
|
|
193
|
+
> [官方文档:通讯录管理](https://developer.work.weixin.qq.com/document/path/90193)
|
|
319
194
|
|
|
320
195
|
#### 成员管理
|
|
321
196
|
|
|
@@ -353,7 +228,7 @@ npm install n8n-nodes-wecom
|
|
|
353
228
|
|
|
354
229
|
#### 账号ID转换
|
|
355
230
|
|
|
356
|
-
>
|
|
231
|
+
> [官方文档:账号 ID](https://developer.work.weixin.qq.com/document/path/98728)
|
|
357
232
|
|
|
358
233
|
- ✅ [用户ID转OpenID](https://developer.work.weixin.qq.com/document/path/90202)
|
|
359
234
|
- ✅ [OpenID转用户ID](https://developer.work.weixin.qq.com/document/path/90202)
|
|
@@ -361,7 +236,7 @@ npm install n8n-nodes-wecom
|
|
|
361
236
|
|
|
362
237
|
#### 异步导入接口
|
|
363
238
|
|
|
364
|
-
>
|
|
239
|
+
> [官方文档:异步导入接口](https://developer.work.weixin.qq.com/document/path/90979)
|
|
365
240
|
|
|
366
241
|
- ✅ [增量更新成员](https://developer.work.weixin.qq.com/document/path/90980)
|
|
367
242
|
- ✅ [全量覆盖成员](https://developer.work.weixin.qq.com/document/path/90981)
|
|
@@ -370,7 +245,7 @@ npm install n8n-nodes-wecom
|
|
|
370
245
|
|
|
371
246
|
#### 异步导出接口
|
|
372
247
|
|
|
373
|
-
>
|
|
248
|
+
> [官方文档:异步导出接口](https://developer.work.weixin.qq.com/document/path/94850)
|
|
374
249
|
|
|
375
250
|
- ✅ [导出成员](https://developer.work.weixin.qq.com/document/path/94849)
|
|
376
251
|
- ✅ [导出成员详情](https://developer.work.weixin.qq.com/document/path/94851)
|
|
@@ -378,9 +253,9 @@ npm install n8n-nodes-wecom
|
|
|
378
253
|
- ✅ [导出标签成员](https://developer.work.weixin.qq.com/document/path/94853)
|
|
379
254
|
- ✅ [获取导出结果](https://developer.work.weixin.qq.com/document/path/94854)
|
|
380
255
|
|
|
381
|
-
###
|
|
256
|
+
### 素材管理
|
|
382
257
|
|
|
383
|
-
>
|
|
258
|
+
> [官方文档:素材管理](https://developer.work.weixin.qq.com/document/path/91054)
|
|
384
259
|
|
|
385
260
|
- ✅ [上传临时素材](https://developer.work.weixin.qq.com/document/path/90253)
|
|
386
261
|
- ✅ [上传图片](https://developer.work.weixin.qq.com/document/path/90256)
|
|
@@ -390,9 +265,9 @@ npm install n8n-nodes-wecom
|
|
|
390
265
|
- ✅ 上传永久素材
|
|
391
266
|
- ✅ 获取永久素材
|
|
392
267
|
|
|
393
|
-
###
|
|
268
|
+
### 企业互联
|
|
394
269
|
|
|
395
|
-
>
|
|
270
|
+
> [官方文档:企业互联](https://developer.work.weixin.qq.com/document/path/93360)
|
|
396
271
|
|
|
397
272
|
#### 企业互联基础接口
|
|
398
273
|
|
|
@@ -402,7 +277,7 @@ npm install n8n-nodes-wecom
|
|
|
402
277
|
|
|
403
278
|
#### 上下游基础接口
|
|
404
279
|
|
|
405
|
-
>
|
|
280
|
+
> [官方文档:上下游](https://developer.work.weixin.qq.com/document/path/97213)
|
|
406
281
|
|
|
407
282
|
- ✅ [获取应用共享信息](https://developer.work.weixin.qq.com/document/path/95813)
|
|
408
283
|
- ✅ [获取下级/下游企业的access_token](https://developer.work.weixin.qq.com/document/path/95816)
|
|
@@ -427,25 +302,16 @@ npm install n8n-nodes-wecom
|
|
|
427
302
|
- ✅ [新增对接规则](https://developer.work.weixin.qq.com/document/path/95634)
|
|
428
303
|
- ✅ [更新对接规则](https://developer.work.weixin.qq.com/document/path/95635)
|
|
429
304
|
|
|
430
|
-
###
|
|
305
|
+
### 系统
|
|
431
306
|
|
|
432
|
-
>
|
|
307
|
+
> [官方文档:获取企业微信服务器IP段](https://developer.work.weixin.qq.com/document/path/92520)
|
|
433
308
|
|
|
434
309
|
- ✅ [获取企业微信接口IP段](https://developer.work.weixin.qq.com/document/path/92520)
|
|
435
310
|
- ✅ [获取企业微信回调IP段](https://developer.work.weixin.qq.com/document/path/92521)
|
|
436
311
|
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
这些接口用于获取企业微信服务器的IP地址段,可用于:
|
|
440
|
-
|
|
441
|
-
- **安全配置**:将获取到的IP段添加到防火墙白名单,只允许企业微信服务器访问
|
|
442
|
-
- **接口调用安全**:配置API接口IP段白名单,防止非法调用
|
|
443
|
-
- **回调安全**:配置回调服务器IP段白名单,确保只接收来自企业微信官方服务器的回调请求
|
|
444
|
-
- **网络隔离**:在专网或VPN环境中,只开放对企业微信服务器IP段的访问权限
|
|
445
|
-
|
|
446
|
-
### 🤝 客户联系
|
|
312
|
+
### 客户联系
|
|
447
313
|
|
|
448
|
-
>
|
|
314
|
+
> [官方文档:客户联系](https://developer.work.weixin.qq.com/document/path/92109)
|
|
449
315
|
|
|
450
316
|
#### 企业服务人员管理
|
|
451
317
|
|
|
@@ -498,7 +364,7 @@ npm install n8n-nodes-wecom
|
|
|
498
364
|
|
|
499
365
|
#### 客户朋友圈
|
|
500
366
|
|
|
501
|
-
>
|
|
367
|
+
> [官方文档:客户朋友圈概述](https://developer.work.weixin.qq.com/document/path/93506)
|
|
502
368
|
|
|
503
369
|
- ✅ [企业发表内容到客户的朋友圈](https://developer.work.weixin.qq.com/document/path/95094)
|
|
504
370
|
- ✅ [停止发表企业朋友圈](https://developer.work.weixin.qq.com/document/path/97612)
|
|
@@ -530,9 +396,9 @@ npm install n8n-nodes-wecom
|
|
|
530
396
|
- ✅ [获客助手](https://developer.work.weixin.qq.com/document/path/97297)(链接管理、客户信息、额度统计)
|
|
531
397
|
- ✅ [获取已服务的外部联系人](https://developer.work.weixin.qq.com/document/path/99434)
|
|
532
398
|
|
|
533
|
-
###
|
|
399
|
+
### 电子发票
|
|
534
400
|
|
|
535
|
-
>
|
|
401
|
+
> [官方文档:电子发票](https://developer.work.weixin.qq.com/document/path/90283)
|
|
536
402
|
|
|
537
403
|
- ✅ [查询电子发票](https://developer.work.weixin.qq.com/document/path/90284)
|
|
538
404
|
- ✅ [更新发票状态](https://developer.work.weixin.qq.com/document/path/90285)
|
|
@@ -543,9 +409,9 @@ npm install n8n-nodes-wecom
|
|
|
543
409
|
|
|
544
410
|
## 二、办公功能(企业微信-办公 节点)
|
|
545
411
|
|
|
546
|
-
###
|
|
412
|
+
### 邮件管理
|
|
547
413
|
|
|
548
|
-
>
|
|
414
|
+
> [官方文档:邮件](https://developer.work.weixin.qq.com/document/path/95486)
|
|
549
415
|
|
|
550
416
|
#### 发送邮件
|
|
551
417
|
|
|
@@ -597,7 +463,7 @@ npm install n8n-nodes-wecom
|
|
|
597
463
|
- ✅ [更改用户功能属性](https://developer.work.weixin.qq.com/document/path/98008)
|
|
598
464
|
- ✅ [获取邮件未读数](https://developer.work.weixin.qq.com/document/path/95514)
|
|
599
465
|
|
|
600
|
-
###
|
|
466
|
+
### 文档管理
|
|
601
467
|
|
|
602
468
|
#### 管理文档
|
|
603
469
|
|
|
@@ -666,9 +532,9 @@ npm install n8n-nodes-wecom
|
|
|
666
532
|
|
|
667
533
|
- ✅ [上传文档图片](https://developer.work.weixin.qq.com/document/path/99933)
|
|
668
534
|
|
|
669
|
-
###
|
|
535
|
+
### 日程管理
|
|
670
536
|
|
|
671
|
-
>
|
|
537
|
+
> [官方文档:日程](https://developer.work.weixin.qq.com/document/path/93647)
|
|
672
538
|
|
|
673
539
|
#### 管理日历
|
|
674
540
|
|
|
@@ -688,9 +554,9 @@ npm install n8n-nodes-wecom
|
|
|
688
554
|
- ✅ [获取日程详情](https://developer.work.weixin.qq.com/document/path/97724)
|
|
689
555
|
- ✅ [取消日程](https://developer.work.weixin.qq.com/document/path/97725)
|
|
690
556
|
|
|
691
|
-
###
|
|
557
|
+
### 会议管理
|
|
692
558
|
|
|
693
|
-
>
|
|
559
|
+
> [官方文档:会议](https://developer.work.weixin.qq.com/document/path/99104)
|
|
694
560
|
|
|
695
561
|
#### 预约会议基础管理
|
|
696
562
|
|
|
@@ -730,9 +596,9 @@ npm install n8n-nodes-wecom
|
|
|
730
596
|
- ✅ [取消高级功能账号](https://developer.work.weixin.qq.com/document/path/99509)
|
|
731
597
|
- ✅ [获取高级功能账号列表](https://developer.work.weixin.qq.com/document/path/99510)
|
|
732
598
|
|
|
733
|
-
###
|
|
599
|
+
### 微盘管理
|
|
734
600
|
|
|
735
|
-
>
|
|
601
|
+
> [官方文档:微盘](https://developer.work.weixin.qq.com/document/path/93654)
|
|
736
602
|
|
|
737
603
|
#### 空间管理
|
|
738
604
|
|
|
@@ -765,9 +631,9 @@ npm install n8n-nodes-wecom
|
|
|
765
631
|
- ✅ [获取文件权限信息](https://developer.work.weixin.qq.com/document/path/97979)
|
|
766
632
|
- ✅ [文件安全设置](https://developer.work.weixin.qq.com/document/path/97980)
|
|
767
633
|
|
|
768
|
-
###
|
|
634
|
+
### 打卡管理
|
|
769
635
|
|
|
770
|
-
>
|
|
636
|
+
> [官方文档:打卡](https://developer.work.weixin.qq.com/document/path/90262)
|
|
771
637
|
|
|
772
638
|
- ✅ [获取企业所有打卡规则](https://developer.work.weixin.qq.com/document/path/93384)
|
|
773
639
|
- ✅ [获取员工打卡规则](https://developer.work.weixin.qq.com/document/path/90263)
|
|
@@ -782,9 +648,9 @@ npm install n8n-nodes-wecom
|
|
|
782
648
|
- ✅ [获取设备打卡数据](https://developer.work.weixin.qq.com/document/path/94126)
|
|
783
649
|
- ✅ [管理打卡规则](https://developer.work.weixin.qq.com/document/path/98041)
|
|
784
650
|
|
|
785
|
-
###
|
|
651
|
+
### 审批管理
|
|
786
652
|
|
|
787
|
-
>
|
|
653
|
+
> [官方文档:审批](https://developer.work.weixin.qq.com/document/path/91854)
|
|
788
654
|
|
|
789
655
|
- ✅ [获取审批模板详情](https://developer.work.weixin.qq.com/document/path/91982)
|
|
790
656
|
- ✅ [提交审批申请](https://developer.work.weixin.qq.com/document/path/91853)
|
|
@@ -796,26 +662,26 @@ npm install n8n-nodes-wecom
|
|
|
796
662
|
- ✅ [创建审批模板](https://developer.work.weixin.qq.com/document/path/97437)
|
|
797
663
|
- ✅ [更新审批模板](https://developer.work.weixin.qq.com/document/path/97438)
|
|
798
664
|
|
|
799
|
-
###
|
|
665
|
+
### 汇报管理
|
|
800
666
|
|
|
801
|
-
>
|
|
667
|
+
> [官方文档:汇报](https://developer.work.weixin.qq.com/document/path/93496)
|
|
802
668
|
|
|
803
669
|
- ✅ [批量获取汇报记录单号](https://developer.work.weixin.qq.com/document/path/93393)
|
|
804
670
|
- ✅ [获取汇报记录详情](https://developer.work.weixin.qq.com/document/path/93394)
|
|
805
671
|
- ✅ [获取汇报统计数据](https://developer.work.weixin.qq.com/document/path/93395)
|
|
806
672
|
- ✅ [下载微盘文件](https://developer.work.weixin.qq.com/document/path/98021)
|
|
807
673
|
|
|
808
|
-
###
|
|
674
|
+
### 人事助手
|
|
809
675
|
|
|
810
|
-
>
|
|
676
|
+
> [官方文档:人事助手](https://developer.work.weixin.qq.com/document/path/99130)
|
|
811
677
|
|
|
812
678
|
- ✅ [获取员工字段配置](https://developer.work.weixin.qq.com/document/path/99131)
|
|
813
679
|
- ✅ [获取员工花名册信息](https://developer.work.weixin.qq.com/document/path/99132)
|
|
814
680
|
- ✅ [更新员工花名册信息](https://developer.work.weixin.qq.com/document/path/99133)
|
|
815
681
|
|
|
816
|
-
###
|
|
682
|
+
### 会议室管理
|
|
817
683
|
|
|
818
|
-
>
|
|
684
|
+
> [官方文档:会议室](https://developer.work.weixin.qq.com/document/path/93618)
|
|
819
685
|
|
|
820
686
|
- ✅ [会议室管理](https://developer.work.weixin.qq.com/document/path/93619)(添加、编辑、删除、查询、列表)
|
|
821
687
|
- ✅ [会议室预定管理](https://developer.work.weixin.qq.com/document/path/93620)(预定、取消、查询、列表)
|
|
@@ -823,9 +689,9 @@ npm install n8n-nodes-wecom
|
|
|
823
689
|
- ✅ [获取申请单详细信息](https://developer.work.weixin.qq.com/document/path/99885)
|
|
824
690
|
- ✅ [设置审批单审批信息](https://developer.work.weixin.qq.com/document/path/99880)
|
|
825
691
|
|
|
826
|
-
###
|
|
692
|
+
### 紧急通知应用
|
|
827
693
|
|
|
828
|
-
>
|
|
694
|
+
> [官方文档:紧急通知](https://developer.work.weixin.qq.com/document/path/91623)
|
|
829
695
|
|
|
830
696
|
- ✅ [发起语音电话](https://developer.work.weixin.qq.com/document/path/91627)
|
|
831
697
|
- ✅ [获取接听状态](https://developer.work.weixin.qq.com/document/path/91628)
|
|
@@ -834,9 +700,9 @@ npm install n8n-nodes-wecom
|
|
|
834
700
|
|
|
835
701
|
## 三、连接微信功能(企业微信-连接微信 节点)
|
|
836
702
|
|
|
837
|
-
###
|
|
703
|
+
### 微信客服
|
|
838
704
|
|
|
839
|
-
>
|
|
705
|
+
> [官方文档:微信客服](https://developer.work.weixin.qq.com/document/path/94638)
|
|
840
706
|
|
|
841
707
|
#### 客服账号管理
|
|
842
708
|
|
|
@@ -875,6 +741,8 @@ npm install n8n-nodes-wecom
|
|
|
875
741
|
## 参考资源
|
|
876
742
|
|
|
877
743
|
- [企业微信开发文档](https://developer.work.weixin.qq.com/document/)
|
|
744
|
+
- [企业微信API全局错误码](https://developer.work.weixin.qq.com/document/path/90313)
|
|
745
|
+
- [常见问题 - FAQ](https://developer.work.weixin.qq.com/document/path/90315)
|
|
878
746
|
- [n8n 官方文档](https://docs.n8n.io/)
|
|
879
747
|
- [n8n 社区节点开发文档](https://docs.n8n.io/integrations/creating-nodes/overview/)
|
|
880
748
|
- [n8n 社区节点开发示例](https://docs.n8n.io/integrations/creating-nodes/build/declarative-style-node/)
|
|
@@ -14,25 +14,28 @@ class WeComApi {
|
|
|
14
14
|
type: 'string',
|
|
15
15
|
default: '',
|
|
16
16
|
required: true,
|
|
17
|
-
description: '企业微信的企业 ID
|
|
17
|
+
description: '企业微信的企业 ID',
|
|
18
|
+
hint: '在"管理后台 - 我的企业 - 企业信息"中查看'
|
|
18
19
|
},
|
|
19
20
|
{
|
|
20
|
-
displayName: '应用
|
|
21
|
-
name: '
|
|
21
|
+
displayName: '应用 ID (Agent ID)',
|
|
22
|
+
name: 'agentId',
|
|
22
23
|
type: 'string',
|
|
23
|
-
typeOptions: { password: true },
|
|
24
24
|
default: '',
|
|
25
25
|
required: true,
|
|
26
|
-
description: '
|
|
26
|
+
description: '应用的唯一标识',
|
|
27
|
+
hint: '在"应用管理 - 自建应用"中查看'
|
|
27
28
|
},
|
|
28
29
|
{
|
|
29
|
-
displayName: '应用
|
|
30
|
-
name: '
|
|
30
|
+
displayName: '应用 Secret',
|
|
31
|
+
name: 'corpSecret',
|
|
31
32
|
type: 'string',
|
|
33
|
+
typeOptions: { password: true },
|
|
32
34
|
default: '',
|
|
33
35
|
required: true,
|
|
34
|
-
description: '
|
|
35
|
-
|
|
36
|
+
description: '应用的密钥',
|
|
37
|
+
hint: '在"应用管理 - 自建应用"中查看,注意应用需要是启用状态'
|
|
38
|
+
}
|
|
36
39
|
];
|
|
37
40
|
this.authenticate = {
|
|
38
41
|
type: 'generic',
|
|
@@ -40,6 +43,7 @@ class WeComApi {
|
|
|
40
43
|
};
|
|
41
44
|
this.test = {
|
|
42
45
|
request: {
|
|
46
|
+
method: 'GET',
|
|
43
47
|
baseURL: 'https://qyapi.weixin.qq.com',
|
|
44
48
|
url: '/cgi-bin/gettoken',
|
|
45
49
|
qs: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WeComApi.credentials.js","sourceRoot":"","sources":["../../credentials/WeComApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,QAAQ;IAArB;QACC,SAAI,GAAG,UAAU,CAAC;QAElB,gBAAW,GAAG,UAAU,CAAC;QAGzB,SAAI,GAAS,EAAE,KAAK,EAAE,yBAAyB,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC;QAExF,qBAAgB,GAAG,0DAA0D,CAAC;QAE9E,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,iBAAiB;gBAC9B,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"WeComApi.credentials.js","sourceRoot":"","sources":["../../credentials/WeComApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,QAAQ;IAArB;QACC,SAAI,GAAG,UAAU,CAAC;QAElB,gBAAW,GAAG,UAAU,CAAC;QAGzB,SAAI,GAAS,EAAE,KAAK,EAAE,yBAAyB,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC;QAExF,qBAAgB,GAAG,0DAA0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
27
27
|
placeholder: 'your_token_here',
|
|
28
|
-
description: '
|
|
29
|
-
hint: '
|
|
28
|
+
description: '企业微信后台"接收消息"配置中自己设置的 Token,两边必须完全一致。用于自动验证消息签名,防止伪造请求',
|
|
29
|
+
hint: '可由企业任意填写,用于生成签名',
|
|
30
30
|
typeOptions: { password: true },
|
|
31
31
|
},
|
|
32
32
|
{
|
|
@@ -39,8 +39,8 @@ class WeComReceiveApi {
|
|
|
39
39
|
default: '',
|
|
40
40
|
required: true,
|
|
41
41
|
placeholder: '43位随机字符串(可在企业微信后台点击"随机生成")',
|
|
42
|
-
description: '
|
|
43
|
-
hint: '
|
|
42
|
+
description: '企业微信后台"接收消息"配置中设置的密钥(43位字符),两边必须完全一致。用于自动解密消息内容',
|
|
43
|
+
hint: '用于消息体的加密,长度固定为43个字符',
|
|
44
44
|
},
|
|
45
45
|
];
|
|
46
46
|
this.authenticate = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WeComReceiveApi.credentials.js","sourceRoot":"","sources":["../../credentials/WeComReceiveApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,eAAe;IAA5B;QACC,SAAI,GAAG,iBAAiB,CAAC;QAEzB,gBAAW,GAAG,cAAc,CAAC;QAE7B,qBAAgB,GAAG,0DAA0D,CAAC;QAE9E,SAAI,GAAG,EAAE,KAAK,EAAE,yBAAyB,EAAE,IAAI,EAAE,8BAA8B,EAAW,CAAC;QAE3F,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,oBAAoB;gBACjC,WAAW,EAAE,oBAAoB;gBACjC,IAAI,EAAE,4BAA4B;aAClC;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,iBAAiB;gBAC9B,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"WeComReceiveApi.credentials.js","sourceRoot":"","sources":["../../credentials/WeComReceiveApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,eAAe;IAA5B;QACC,SAAI,GAAG,iBAAiB,CAAC;QAEzB,gBAAW,GAAG,cAAc,CAAC;QAE7B,qBAAgB,GAAG,0DAA0D,CAAC;QAE9E,SAAI,GAAG,EAAE,KAAK,EAAE,yBAAyB,EAAE,IAAI,EAAE,8BAA8B,EAAW,CAAC;QAE3F,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,oBAAoB;gBACjC,WAAW,EAAE,oBAAoB;gBACjC,IAAI,EAAE,4BAA4B;aAClC;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,iBAAiB;gBAC9B,WAAW,EAAE,uDAAuD;gBACpE,IAAI,EAAE,iBAAiB;gBACvB,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;aAC/B;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,4BAA4B;gBACzC,WAAW,EAAE,iDAAiD;gBAC9D,IAAI,EAAE,qBAAqB;aAC3B;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE,EAAE;SACd,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,6BAA6B;gBACtC,GAAG,EAAE,mBAAmB;gBACxB,MAAM,EAAE,KAAK;gBACb,EAAE,EAAE;oBACH,MAAM,EAAE,0BAA0B;oBAClC,UAAU,EAAE,MAAM;iBAClB;aACD;SACD,CAAC;IACH,CAAC;CAAA;AA9DD,0CA8DC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/externalContact/index.ts"],"names":[],"mappings":";;;AACA,2DAAmE;AACnE,qEAA6E;AAC7E,6DAAqE;AACrE,uEAA+E;AAC/E,+EAAuF;AACvF,qDAA6D;AAC7D,6CAAqD;AACrD,+CAAuD;AACvD,6CAAqD;AACrD,uCAA+C;AAC/C,yDAAiE;AACjE,qDAA6D;AAC7D,2DAAmE;AACnE,2DAAmE;AACnE,yEAAiF;AACjF,qEAA6E;AAC7E,2EAAmF;AACnF,yDAAiE;AACjE,iDAAyD;AACzD,uDAA+D;AAC/D,mDAA2D;AAC3D,mDAA2D;AAC3D,yDAAiE;AACjE,mDAA2D;AAC3D,6CAAqD;AACrD,6CAAqD;AACrD,mDAA2D;AAC3D,6CAAqD;AACrD,mDAA2D;AAC3D,yDAAiE;AACjE,2DAAmE;AACnE,mDAA2D;AAC3D,qDAA6D;AAC7D,6DAAqE;AACrE,6DAAqE;AACrE,2DAAmE;AACnE,qDAA6D;AAC7D,uEAA+E;AAC/E,yEAAiF;AACjF,uEAA+E;AAC/E,uEAA+E;AAC/E,+DAAuE;AACvE,mEAA2E;AAC3E,uDAA+D;AAC/D,+DAAuE;AACvE,uDAA+D;AAC/D,6DAAqE;AACrE,6DAAqE;AACrE,yDAAiE;AACjE,iEAAyE;AACzE,yDAAiE;AACjE,+DAAuE;AACvE,+DAAuE;AACvE,yDAAiE;AACjE,+EAAuF;AACvF,+EAAuF;A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","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/externalContact/index.ts"],"names":[],"mappings":";;;AACA,2DAAmE;AACnE,qEAA6E;AAC7E,6DAAqE;AACrE,uEAA+E;AAC/E,+EAAuF;AACvF,qDAA6D;AAC7D,6CAAqD;AACrD,+CAAuD;AACvD,6CAAqD;AACrD,uCAA+C;AAC/C,yDAAiE;AACjE,qDAA6D;AAC7D,2DAAmE;AACnE,2DAAmE;AACnE,yEAAiF;AACjF,qEAA6E;AAC7E,2EAAmF;AACnF,yDAAiE;AACjE,iDAAyD;AACzD,uDAA+D;AAC/D,mDAA2D;AAC3D,mDAA2D;AAC3D,yDAAiE;AACjE,mDAA2D;AAC3D,6CAAqD;AACrD,6CAAqD;AACrD,mDAA2D;AAC3D,6CAAqD;AACrD,mDAA2D;AAC3D,yDAAiE;AACjE,2DAAmE;AACnE,mDAA2D;AAC3D,qDAA6D;AAC7D,6DAAqE;AACrE,6DAAqE;AACrE,2DAAmE;AACnE,qDAA6D;AAC7D,uEAA+E;AAC/E,yEAAiF;AACjF,uEAA+E;AAC/E,uEAA+E;AAC/E,+DAAuE;AACvE,mEAA2E;AAC3E,uDAA+D;AAC/D,+DAAuE;AACvE,uDAA+D;AAC/D,6DAAqE;AACrE,6DAAqE;AACrE,yDAAiE;AACjE,iEAAyE;AACzE,yDAAiE;AACjE,+DAAuE;AACvE,+DAAuE;AACvE,yDAAiE;AACjE,+EAAuF;AACvF,+EAAuF;AACvF,mFAA2F;AAC3F,mFAA2F;AAC3F,mFAA2F;AAC3F,qFAA6F;AAC7F,yEAAiF;AAEjF,MAAM,0BAA0B,GAAG;IAClC,QAAQ,EAAE,CAAC,iBAAiB,CAAC;CAC7B,CAAC;AAEW,QAAA,0BAA0B,GAAsB;IAC5D;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE,0BAA0B;S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