8
n8n 中文网amn8n.com

Pantry 软库存补货 — Notion → 购物清单 + 电子邮件

中级

这是一个Personal Productivity, Multimodal AI领域的自动化工作流,包含 15 个节点。主要使用 Set, Cron, Notion, Function, EmailSend 等节点。 使用 Notion 和邮件通知自动管理食品储藏室库存

前置要求
  • Notion API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "name": "Pantry 软库存补货 — Notion → 购物清单 + 电子邮件",
  "nodes": [
    {
      "id": "1",
      "name": "每日触发器",
      "type": "n8n-nodes-base.cron",
      "position": [
        260,
        360
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "2",
      "name": "用户配置",
      "type": "n8n-nodes-base.set",
      "position": [
        260,
        220
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "3",
      "name": "获取 Pantry 物品",
      "type": "n8n-nodes-base.notion",
      "position": [
        540,
        360
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "4",
      "name": "获取现有待购项",
      "type": "n8n-nodes-base.notion",
      "position": [
        540,
        540
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "5",
      "name": "计算待购清单",
      "type": "n8n-nodes-base.function",
      "position": [
        820,
        450
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "6",
      "name": "在购物清单中创建",
      "type": "n8n-nodes-base.notion",
      "position": [
        1100,
        450
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "7",
      "name": "撰写电子邮件",
      "type": "n8n-nodes-base.function",
      "position": [
        1380,
        450
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "8",
      "name": "发送电子邮件",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1640,
        450
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9",
      "name": "错误处理器",
      "type": "n8n-nodes-base.errorTrigger",
      "disabled": true,
      "position": [
        260,
        700
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "10",
      "name": "## 描述",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        60
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "11",
      "name": "## 设置清单",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        220
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "12",
      "name": "## 演示与图库",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        380
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "13",
      "name": "## 质量保证/测试计划",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        540
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "14",
      "name": "## 标签与分类",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        700
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "15",
      "name": "## 归属与许可证",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        860
      ],
      "parameters": {
        "content": "Emelia 触发器"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {},
  "versionId": "1.0.0",
  "staticData": null,
  "connections": {
    "User Config": {
      "main": [
        [
          {
            "node": "Get Pantry Items",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Existing To Buy",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compose Email": {
      "main": [
        [
          {
            "node": "Send Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Trigger": {
      "main": [
        [
          {
            "node": "User Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Pantry Items": {
      "main": [
        [
          {
            "node": "Compute To-Buy List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compute To-Buy List": {
      "main": [
        [
          {
            "node": "Create in Grocery List",
            "type": "main",
            "index": 0
          },
          {
            "node": "Compose Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Existing To Buy": {
      "main": [
        [
          {
            "node": "Compute To-Buy List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

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

需要付费吗?

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

工作流信息
难度等级
中级
节点数量15
分类2
节点类型7
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
Shelly-Ann Davy

Shelly-Ann Davy

@shecodesflo

Founder of The Workflow Muse & @SheCodesFlow. I craft elegant, task-focused automations for creators, founders, and soft-tech enthusiasts. “Automate with grace. Scale with power.”

外部链接
在 n8n.io 查看

分享此工作流