nodered推送企业微信机器人消息

本文介绍如何使用NodeRed集成企业微信机器人,实现自动化任务完成后向企业微信发送通知,包括配置过程和关键步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[
    {
        "id": "38b7d07742cd9d0b",
        "type": "tab",
        "label": "流程 2",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "fccc38e979d17384",
        "type": "inject",
        "z": "38b7d07742cd9d0b",
        "name": "",
        "props": [],
        "repeat": "10",
        "crontab": "",
        "once": true,
        "onceDelay": 0.1,
        "topic": "",
        "x": 110,
        "y": 140,
        "wires": [
            [
                "4f1f0eee5466c8e6"
            ]
        ]
    },
    {
        "id": "ee8db3534f3acc30",
        "type": "http request",
        "z": "38b7d07742cd9d0b",
        "name": "",
        "method": "POST",
        "ret": "txt",
        "paytoqs": "ignore",
        "url": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxxxxxxxxxxx",
        "tls": "",
        "persist": false,
        "proxy": "",
        "insecureHTTPParser": false,
        "authType": "",
        "senderr": false,
        "headers": [
            {
                "keyType": "Content-Type",
                "keyValue": "",
                "valueType": "application/json",
                "valueValue": ""
            }
        ],
        "x": 600,
        "y": 180,
        "wires": [
            [
                "72004129fdecec40"
            ]
        ]
    },
    {
        "id": "72004129fdecec40",
        "type": "debug",
        "z": "38b7d07742cd9d0b",
        "name": "debug 1",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 840,
        "y": 180,
        "wires": []
    },
    {
        "id": "4f1f0eee5466c8e6",
        "type": "template",
        "z": "38b7d07742cd9d0b",
        "name": "JSON数据",
        "field": "payload",
        "fieldType": "msg",
        "format": "handlebars",
        "syntax": "mustache",
        "template": "{\n    \"msgtype\": \"text\",\n    \"text\": {\n        \"content\": \"广州今日天气:29度,大部分多云,降雨概率:60%\",\n        \"mentioned_list\":[\"wangqing\",\"@all\"],\n        \"mentioned_mobile_list\":[\"13800001111\",\"@all\"]\n    }\n}",
        "output": "str",
        "x": 330,
        "y": 160,
        "wires": [
            [
                "ee8db3534f3acc30"
            ]
        ]
    },
    {
        "id": "86db25fabc0affb3",
        "type": "comment",
        "z": "38b7d07742cd9d0b",
        "name": "微信群机器人消息推送",
        "info": "",
        "x": 140,
        "y": 60,
        "wires": []
    }
]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值