菜单导航

探索发现
微信自动化N8N示例-每日新闻—+rss
探索发现

微信自动化N8N示例-每日新闻—+rss

NoiseNoise
2023-10-04

自动化微信

此工作流是基于项目https://github.com/danni-cool/docker-wechatbot-webhook

可以复制代码一键粘贴或复制到N8N,你需要修改基于项目所搭建的URL及微信群

一、微信群每日早报

下载:https://noise.lanzoul.com/i0qxY1apekxe

代码:

{
  "name": "微信群每日早报",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "cronExpression",
              "expression": "38 21 * * *"
            }
          ]
        }
      },
      "id": "349619e3-2a17-4b29-91c7-762f5ee24d50",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.1,
      "position": [
        740,
        420
      ]
    },
    {
      "parameters": {
        "url": "https://news.topurl.cn/api?count=15",
        "options": {}
      },
      "id": "98cba6da-ab7c-467e-9d14-6984659e4647",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        960,
        420
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://example.com/your/url",
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "to",
              "value": "群名称"
            },
            {
              "name": "type",
              "value": "text"
            },
            {
              "name": "content",
              "value": "=上午好,今天是 {{ $json.data.calendar.lYear }}年{{ $json.data.calendar.cMonth }}月 {{$json.data.calendar.cDay }}日 {{ $json.data.calendar.ncWeek }}\n今天的新闻有:\n一、{{ $json.data.newsList[0].title }} {{ $json.data.newsList[0].url }}\n二、{{ $json.data.newsList[1].title }} {{ $json.data.newsList[1].url }}\n三、{{ $json.data.newsList[2].title }} {{ $json.data.newsList[2].url }}\n四、{{ $json.data.newsList[3].title }} {{ $json.data.newsList[3].url }}\n五、{{ $json.data.newsList[4].title }} {{ $json.data.newsList[4].url }}\n六、{{ $json.data.newsList[5].title }} {{ $json.data.newsList[5].url }}\n七、{{ $json.data.newsList[6].title }} {{ $json.data.newsList[6].url }}\n八、{{ $json.data.newsList[7].title }} {{ $json.data.newsList[7].url }}\n九、{{ $json.data.newsList[8].title }} {{ $json.data.newsList[8].url }}\n十、{{ $json.data.newsList[9].title }} {{ $json.data.newsList[9].url }}\n十一、{{ $json.data.newsList[10].title }} {{ $json.data.newsList[10].url }}\n十二、{{ $json.data.newsList[11].title }} {{ $json.data.newsList[11].url }} \n十三、{{ $json.data.newsList[12].title }} {{ $json.data.newsList[12].url }} \n十四、{{ $json.data.newsList[13].title }} {{ $json.data.newsList[13].url }} \n十五、{{ $json.data.newsList[14].title }} {{ $json.data.newsList[14].url }}\n祝您今日生活愉快,工作顺利! "
            },
            {
              "name": "isRoom",
              "value": "{{true}}"
            }
          ]
        },
        "options": {}
      },
      "id": "cd5d3ba1-3787-4c1a-ae62-781ca1e66a7b",
      "name": "HTTP Request1",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        1180,
        420
      ]
    }
  ],
  "pinData": {},
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "HTTP Request1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ed63a25b-d041-4e7e-9003-6ff8400652e4",
  "id": "7AACKLiiyLYDrNbW",
  "meta": {
    "instanceId": "b564d2dcbbb6903bd7687a31d9c30a4a86cf0c12471162842806a07cd3a87483"
  },
  "tags": []
}

二、微信群RSS订阅推送

下载:https://noise.lanzoul.com/ifd3C1apel0h

代码:

{
  "name": "微信rss推送",
  "nodes": [
    {
      "parameters": {
        "method": "POST",
        "url": "https://example.com/your/url",
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "to",
              "value": "群昵称"
            },
            {
              "name": "type",
              "value": "text"
            },
            {
              "name": "content",
              "value": "={{ $json.title }}\n{{ $json.link }}\n📫来自RSS订阅推送"
            },
            {
              "name": "isRoom",
              "value": "{{true}}"
            }
          ]
        },
        "options": {}
      },
      "id": "f5c735ee-ebee-4385-8bb2-0db9f4a0a942",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        1060,
        380
      ]
    },
    {
      "parameters": {
        "url": "https://example.com/your/url",
        "options": {}
      },
      "id": "479580f3-7d8f-427e-85e8-bcd0caec06a9",
      "name": "RSS Read",
      "type": "n8n-nodes-base.rssFeedRead",
      "typeVersion": 1,
      "position": [
        840,
        380
      ]
    },
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "hours"
            }
          ]
        }
      },
      "id": "a41ab53f-aa35-4b34-bb41-5fc6c11d34df",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.1,
      "position": [
        660,
        400
      ]
    }
  ],
  "pinData": {},
  "connections": {
    "RSS Read": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "RSS Read",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "621606c4-783e-45e9-ac6a-0666ec91a25f",
  "id": "8msZnmJH1IiwFIya",
  "meta": {
    "instanceId": "b564d2dcbbb6903bd7687a31d9c30a4a86cf0c12471162842806a07cd3a87483"
  },
  "tags": []
}
版权声明

本文为「Noise」原创内容或编译整理;除特别说明外,文中图片并非个人手绘,可能来源于网络、AI 生成、截图等,后期使用 PhotoMator / Procreate 进行处理,仅用于学习与交流。如涉及版权或来源标注不全,请联系处理。未经授权,禁止用于商业用途,禁止抹除水印。转载请注明出处与链接并保留本声明。

...

评论 (0)

评论功能加载中...
Noise

Noise

执迷不悟

推荐阅读

Memory-不负时光摄影相册程序
探索发现

Memory-不负时光摄影相册程序

Noise | 2025-08-10

简介

一个瀑布流摄影图库,也是专为摄影师做的独立网络相册程序,它是基于[Moment](https://github.com/Robert-Stackflow/M

139
AI Movie Clip - 基于python的智能视频剪辑系统
探索发现

AI Movie Clip - 基于python的智能视频剪辑系统

Noise | 2025-08-10

一个基于人工智能的自动视频剪辑系统,能够自动分析视频内容并根据用户需求生成编辑后的视频。该项目为视频剪辑mcp提供了一个新的研究方向,它使用python脚本来分

75
CrossPaste-跨设备的粘贴神器,在任意设备间复制粘贴
探索发现

CrossPaste-跨设备的粘贴神器,在任意设备间复制粘贴

Noise | 2025-07-26

此前已介绍过多个粘贴软件了,如PasteBar等,它们各有所长,但有没有适合不同设备之间使用的呢,有的,CrossPaste就很好满足了跨设备同时复制粘贴的问题

特性

  • 🔄 实时共享:设备之间实时共享粘贴板内容,操作自然流畅。
  • 🖥️ 跨平台统一体验:Mac、Win
94

标签