8
n8n 中文网amn8n.com

肯定发送器 + 每周感恩摘要(健康)v2

高级

这是一个Personal Productivity, Multimodal AI领域的自动化工作流,包含 26 个节点。主要使用 If, Set, Cron, Wait, Slack 等节点。 使用Notion、邮件和Telegram的每日肯定语和每周感恩摘要

前置要求
  • Slack Bot Token 或 Webhook URL
  • Notion API Key
  • Discord Bot Token 或 Webhook
  • Telegram Bot Token
工作流预览
可视化展示节点连接关系,支持缩放和平移

无法加载工作流预览

导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "name": "肯定发送器 + 每周感恩摘要(健康)v2",
  "nodes": [
    {
      "name": "自述文件",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1080,
        -60
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "name": "Cron:每日肯定",
      "type": "n8n-nodes-base.cron",
      "position": [
        -1060,
        240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "Cron:每周摘要",
      "type": "n8n-nodes-base.cron",
      "position": [
        -1060,
        520
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "便签:设置",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1080,
        60
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "name": "设置:用户配置",
      "type": "n8n-nodes-base.set",
      "position": [
        -830,
        240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "name": "设置:摘要配置",
      "type": "n8n-nodes-base.set",
      "position": [
        -830,
        520
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "name": "函数:构建肯定消息",
      "type": "n8n-nodes-base.function",
      "position": [
        -580,
        240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "name": "IF:发送电子邮件?",
      "type": "n8n-nodes-base.if",
      "position": [
        -360,
        120
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "IF:发送 Telegram?",
      "type": "n8n-nodes-base.if",
      "position": [
        -360,
        360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "电子邮件:发送肯定",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        -140,
        120
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "name": "Telegram:发送肯定",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -140,
        360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "Notion:记录肯定",
      "type": "n8n-nodes-base.notion",
      "position": [
        80,
        240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "函数:设置周窗口",
      "type": "n8n-nodes-base.function",
      "position": [
        -830,
        610
      ],
      "parameters": {},
      "typeVersion": 2,
      "parametersUi": {},
      "parametersJson": "",
      "parametersBrowser": {
        "functionCode": "const iso=new Date(Date.now()-7*24*60*60*1000).toISOString();return [{json:{oneWeekAgoISO:iso}}];"
      },
      "parametersOptions": {},
      "parametersDefaults": {},
      "parametersPromises": {}
    },
    {
      "name": "Notion:查询感恩(7天)",
      "type": "n8n-nodes-base.notion",
      "position": [
        -580,
        520
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "函数:过滤和格式化感恩(7天)",
      "type": "n8n-nodes-base.function",
      "position": [
        -360,
        520
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "name": "函数:构建摘要消息",
      "type": "n8n-nodes-base.function",
      "position": [
        -140,
        520
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "name": "电子邮件:发送每周摘要",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        80,
        460
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "name": "Telegram:发送每周摘要",
      "type": "n8n-nodes-base.telegram",
      "position": [
        80,
        580
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "出错时:任何节点",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        -1080,
        900
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "设置:警报配置",
      "type": "n8n-nodes-base.set",
      "position": [
        -830,
        900
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "name": "函数:构建警报消息",
      "type": "n8n-nodes-base.function",
      "position": [
        -600,
        900
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "name": "等待5秒",
      "type": "n8n-nodes-base.wait",
      "position": [
        -380,
        900
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "IF:Slack?",
      "type": "n8n-nodes-base.if",
      "position": [
        -140,
        820
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "IF:Discord?",
      "type": "n8n-nodes-base.if",
      "position": [
        -140,
        980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "Slack:发布警报",
      "type": "n8n-nodes-base.slack",
      "position": [
        80,
        820
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "Discord:发布警报",
      "type": "n8n-nodes-base.discord",
      "position": [
        80,
        980
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "timezone": "={{$workflow.timezone}}",
    "executionOrder": "v1",
    "saveExecutionProgress": true
  },
  "connections": {
    "Wait 5s": {
      "main": [
        [
          {
            "node": "IF: Slack?",
            "type": "main",
            "index": 0
          },
          {
            "node": "IF: Discord?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF: Slack?": {
      "main": [
        [
          {
            "node": "Slack: Post Alert",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "IF: Discord?": {
      "main": [
        [
          {
            "node": "Discord: Post Alert",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "IF: Send Email?": {
      "main": [
        [
          {
            "node": "Email: Send Affirmation",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Set: User Config": {
      "main": [
        [
          {
            "node": "Fn: Build Affirmation Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set: Alert Config": {
      "main": [
        [
          {
            "node": "Fn: Build Alert Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF: Send Telegram?": {
      "main": [
        [
          {
            "node": "Telegram: Send Affirmation",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "On Error: Any Node": {
      "main": [
        [
          {
            "node": "Set: Alert Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set: Digest Config": {
      "main": [
        [
          {
            "node": "Fn: Set Week Window",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cron: Weekly Digest": {
      "main": [
        [
          {
            "node": "Set: Digest Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fn: Set Week Window": {
      "main": [
        [
          {
            "node": "Notion: Query Gratitude (7d)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cron: Daily Affirmation": {
      "main": [
        [
          {
            "node": "Set: User Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fn: Build Alert Message": {
      "main": [
        [
          {
            "node": "Wait 5s",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fn: Build Digest Message": {
      "main": [
        [
          {
            "node": "Email: Send Weekly Digest",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Telegram: Send Weekly Digest",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notion: Query Gratitude (7d)": {
      "main": [
        [
          {
            "node": "Fn: Filter & Format Gratitude (7d)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fn: Build Affirmation Message": {
      "main": [
        [
          {
            "node": "IF: Send Email?",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "IF: Send Telegram?",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Notion: Log Affirmation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fn: Filter & Format Gratitude (7d)": {
      "main": [
        [
          {
            "node": "Fn: Build Digest Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

高级 - 个人效率, 多模态 AI

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量26
分类2
节点类型12
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者
Shelly-Ann Davy

Shelly-Ann Davy

@shecodesflo

Founder of The Workflow Muse. I design elegant, feminine automations (Notion + n8n) for creators, moms, and women entrepreneurs.

外部链接
在 n8n.io 查看

分享此工作流