Enterprise WeChat

Enterprise WeChat sink connector

A sink plugin which use Enterprise WeChat robot send message

For example, if the data from upstream is ["alarmStatus": "firing", "alarmTime": "2022-08-03 01:38:49","alarmContent": "The disk usage exceeds the threshold"], the output content to WeChat Robot is the following:

alarmStatus: firing 
alarmTime: 2022-08-03 01:38:49
alarmContent: The disk usage exceeds the threshold

Tips: WeChat sink only support string webhook and the data from source will be treated as body content in web hook.

Key featuresarrow-up-right

name
type
required
default value

url

String

Yes

-

mentioned_list

array

No

-

mentioned_mobile_list

array

No

-

common-options

no

-

url [string]arrow-up-right

Enterprise WeChat webhook url format is https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=XXXXXX(string)arrow-up-right

mentioned_list [array]arrow-up-right

A list of userids to remind the specified members in the group (@ a member), @ all means to remind everyone. If the developer can't get the userid, he can use called mobile list

mentioned_mobile_list [array]arrow-up-right

Mobile phone number list, remind the group member corresponding to the mobile phone number (@ a member), @ all means remind everyone

common optionsarrow-up-right

Sink plugin common parameters, please refer to Sink Common Options for details

simple:

Last updated