1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
| { "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": [] }
|