Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

背景

当问题发关相关事件后,向企业微信发送消息,通知干系人。

解决方案

定时规则 ,在指定事务发生时进行响应

第一次调用规则 :发送WEB请求,获得access_token,并将此值向下传递

第二次调用规则:发送WEB请求,将第一次获得access_token 拼装成URL后,在body值中写入推送消息

配置

第一动作:获得access_token

webhook url中填写调用 的地址,加上谁的相关参数

https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid={corpid}&corpsecret={corpsecret}

在这一步中,我们需要选择等待响应,以便获得响应的结果,从结果中获得 {{webhookResponse.body.access_token}} 这个值将在后续的操作中使用。


第一动作:发送请求数据

在发送的URL上,获得第一步获得的access_token








  • No labels