diff --git a/1.云大阁邮件.md b/1.云大阁邮件.md
index 88e3c31..bf3ace3 100644
--- a/1.云大阁邮件.md
+++ b/1.云大阁邮件.md
@@ -2,64 +2,161 @@
"nodes": [
{
"parameters": {
- "jsCode": "// 获取新报告的数据\nconst data = $input.first().json.allDocuments;\nconst counter = $input.first().json.totalItems;\nfunction jsonToHtml(reports, counter) {\n let html = `
本次共有 ${counter} 份新报告:
`;\n html += '';\n\n reports.forEach(report => {\n html += `\n - \n \n
${report.summary}
\n \n `;\n });\n\n html += '
';\n return html;\n}\n\n// 生成最终 HTML 输出\nconst htmlOutput = jsonToHtml(data, counter);\n\n// 返回结果\nreturn { htmlOutput };\n"
+ "promptType": "define",
+ "text": "=你是一个专业的前端文案工程师和信息可视化专家。\n以下是一个大模型生成的报告,我觉得存在问题需要改进,以下是修改建议:\n{{ $json.data['修改意见'] }}\n以下是原报告,修改后按照原格式输出\n{{ $('Code2').item.json.html }}",
+ "batching": {}
},
- "type": "n8n-nodes-base.code",
- "typeVersion": 2,
+ "type": "@n8n/n8n-nodes-langchain.chainLlm",
+ "typeVersion": 1.7,
"position": [
- 240,
- 32
+ -112,
+ 944
],
- "id": "783b0b8b-63c6-43ff-b4c3-9a783ffe560f",
- "name": "Code",
- "retryOnFail": true,
- "maxTries": 5
+ "id": "e4ecc2b0-b0aa-4752-b2d3-cac1fd45b296",
+ "name": "Basic LLM Chain1"
},
{
"parameters": {
- "operation": "executeQuery",
- "query": "SELECT id, title, summary, url FROM documents WHERE is_notified = 0;\n",
+ "model": {
+ "__rl": true,
+ "value": "qwen2.5-7b-instruct",
+ "mode": "list",
+ "cachedResultName": "qwen2.5-7b-instruct"
+ },
"options": {}
},
- "type": "n8n-nodes-base.mySql",
- "typeVersion": 2.4,
+ "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
+ "typeVersion": 1.2,
"position": [
- -464,
- 256
+ -112,
+ 1136
],
- "id": "635a3583-537d-456a-a7aa-e4b8826294b8",
- "name": "SQL 查询是否有新文件",
- "alwaysOutputData": true,
+ "id": "e7a335c5-783a-4a59-9c85-140c1cec26e5",
+ "name": "OpenAI Chat Model1",
"credentials": {
- "mySql": {
- "id": "QjSo8Gph2IzJHBDw",
- "name": "MySQL account"
+ "openAiApi": {
+ "id": "vABx27LgrvIpKZze",
+ "name": "OpenAi account"
}
}
},
{
"parameters": {
- "rule": {
- "interval": [
+ "operation": "sendAndWait",
+ "fromEmail": "1594481789@qq.com",
+ "toEmail": "383369080@qq.com",
+ "subject": "本周邮件",
+ "message": "={{ $json.text }}",
+ "responseType": "customForm",
+ "formFields": {
+ "values": [
{
- "field": "weeks",
- "weeksInterval": 4,
- "triggerAtDay": [
- 1
- ],
- "triggerAtHour": 10
+ "fieldLabel": "yes or no ?",
+ "fieldType": "dropdown",
+ "fieldOptions": {
+ "values": [
+ {
+ "option": "yes"
+ },
+ {
+ "option": "no"
+ }
+ ]
+ },
+ "requiredField": true
+ },
+ {
+ "fieldLabel": "修改意见",
+ "fieldType": "textarea"
}
]
- }
+ },
+ "options": {}
},
- "type": "n8n-nodes-base.scheduleTrigger",
- "typeVersion": 1.2,
+ "type": "n8n-nodes-base.emailSend",
+ "typeVersion": 2.1,
"position": [
- -192,
- 16
+ 192,
+ 944
],
- "id": "355061e3-a4fd-4cc0-a505-d2b5caa0a3f7",
- "name": "定时器"
+ "id": "23aff25f-9069-45fb-96ab-71240b8a3c2b",
+ "name": "SendAndWait email1",
+ "webhookId": "ea2f0334-e4f1-4d5f-b5eb-274a26b30027",
+ "credentials": {
+ "smtp": {
+ "id": "XyE7qW0Q0ebTpAD4",
+ "name": "SMTP account"
+ }
+ }
+ },
+ {
+ "parameters": {
+ "conditions": {
+ "options": {
+ "caseSensitive": true,
+ "leftValue": "",
+ "typeValidation": "strict",
+ "version": 2
+ },
+ "conditions": [
+ {
+ "id": "13f4121b-9900-4757-ba38-1e8fbc71697e",
+ "leftValue": "={{ $json.data['yes or no ?'] }}",
+ "rightValue": "yes",
+ "operator": {
+ "type": "string",
+ "operation": "equals",
+ "name": "filter.operator.equals"
+ }
+ }
+ ],
+ "combinator": "and"
+ },
+ "options": {}
+ },
+ "type": "n8n-nodes-base.if",
+ "typeVersion": 2.2,
+ "position": [
+ 336,
+ 944
+ ],
+ "id": "4bc8c773-63fa-4a6d-9f0f-e9a31a7bfedf",
+ "name": "If2"
+ },
+ {
+ "parameters": {
+ "method": "POST",
+ "url": "https://yundage.com/api/statistics/report",
+ "authentication": "genericCredentialType",
+ "genericAuthType": "httpBearerAuth",
+ "sendHeaders": true,
+ "headerParameters": {
+ "parameters": [
+ {
+ "name": "Bearer",
+ "value": "0a1fa2d3016b172bd2fbc302ab6d060f"
+ }
+ ]
+ },
+ "sendBody": true,
+ "specifyBody": "json",
+ "jsonBody": "={\n\"startTime\":\"{{ $now.minus({ weeks: 1 }).toFormat('yyyy-MM-dd') }} 00:00:00\",\n\"endTime\":\"{{ $now.toFormat('yyyy-MM-dd') }} 00:00:00\"\n}\n",
+ "options": {}
+ },
+ "type": "n8n-nodes-base.httpRequest",
+ "typeVersion": 4.2,
+ "position": [
+ -1056,
+ 832
+ ],
+ "id": "f9356690-a82e-4a71-8814-ead6dada53f7",
+ "name": "HTTP Request",
+ "credentials": {
+ "httpBearerAuth": {
+ "id": "oh4QM0WGWwPuhuli",
+ "name": "Bearer Auth account"
+ }
+ }
},
{
"parameters": {
@@ -69,100 +166,51 @@
"type": "n8n-nodes-base.splitInBatches",
"typeVersion": 3,
"position": [
- 448,
- 608
+ 688,
+ 800
],
- "id": "1b16c81a-7a2c-47d4-8ce9-50dd2246b33c",
- "name": "Loop Over Items"
- },
- {
- "parameters": {},
- "type": "n8n-nodes-base.manualTrigger",
- "typeVersion": 1,
- "position": [
- -704,
- 256
- ],
- "id": "e1ebe31f-f172-4c09-87bb-089590d4eaf4",
- "name": "When clicking ‘Execute workflow’"
+ "id": "144d9e1b-5f88-4a9c-954f-8d3c7fa487ea",
+ "name": "Loop Over Items1"
},
{
"parameters": {
"promptType": "define",
- "text": "=你是一个专业的前端文案工程师和信息可视化专家。请基于以下 JSON 格式的报告摘要数据,帮我生成一个高质量的 HTML 页面。\n\n以下是你要展示的内容数据:\n{{ $json.result.allfile }}\n请你按照如下要求设计这个 HTML 页面:\n\n### 📌 页面结构要求:\n1. 页面标题为:**《最新行业报告汇总》**\n2. 页面顶部有一个**简洁的横幅标题**,居中展示。\n3. 每一份报告以**卡片(Card)形式**排布,每张卡片包括:\n - 报告标题(使用 或加粗字体)\n - 报告摘要(一段文字,控制在 3-4 行)\n - 阅读链接(带跳转的超链接,按钮或文字链接格式)\n4. 页面整体采用**响应式设计**,在桌面和移动端上表现良好。\n5. 使用美观的字体配色,建议配色主题为:\n - 主标题颜色:#2c3e50(深蓝色)\n - 正文颜色:#34495e\n - 背景色:#f8f9fa 或白色\n - 链接颜色:#3498db(蓝色)\n6. 页面使用简洁的 CSS 样式,内嵌在 `\n\n\n\n \n
最新技术趋势报告汇总
\n\n \n
\n
身份类型:云计算专家
\n
何宝宏 - 2025云计算十大关键词
\n
\n 本报告系统性地描绘了2025年云计算产业的发展蓝图,指出人工智能(特别是大模型)与云计算的深度融合是驱动行业变革的核心引擎。报告从基础设施(超大规模智算集群)、服务模式(推理云服务、工程化交付)、应用范式(智能体)、部署形态(一体机、云终端),到架构演进(智能混合云、卓越架构),再到市场策略(央国企市场、全球化出海),全方位地解读“云+AI”如何重塑技术栈、商业模式和全球市场格局。\n
\n
点击查看报告原文\n
\n\n \n
\n
身份类型:行业分析报告
\n
AI技术在项目管理中的应用洞察报告
\n
\n 本报告共分六章展开论述,系统分析AI在项目管理中的应用背景、行业痛点、核心能力、关键场景,并结合标杆企业案例具象化呈现AI落地路径与成效。报告从理论到实践构建了完整的认知图谱,是企业高管、项目管理者及研究者的重要参考资料。\n
\n
点击查看报告原文\n
\n\n
\n\n\n