8
n8n 中文网amn8n.com

模板 | Stripe 新购买通知

中级

这是一个Finance领域的自动化工作流,包含 15 个节点。主要使用 Set, Gmail, Filter, SplitOut, Telegram 等节点。 在 Gmail、Telegram 和 Slack 上接收新 Stripe 购买通知

前置要求
  • Google 账号和 Gmail API 凭证
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
  • Stripe API Key

分类

工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "K7FXvO0Gr7Bx5xZ6",
  "meta": {
    "instanceId": "d6b502dfa4d9dd072cdc5c2bb763558661053f651289291352a84403e01b3d1b",
    "templateCredsSetupCompleted": true
  },
  "name": "模板 | Stripe 新购买通知",
  "tags": [
    {
      "id": "61A98AUNFwWZWAfC",
      "name": "template",
      "createdAt": "2024-07-24T22:02:20.533Z",
      "updatedAt": "2024-07-24T22:02:20.533Z"
    }
  ],
  "nodes": [
    {
      "id": "2b7cdc39-0c38-45f0-94ab-db45259d75da",
      "name": "Stripe 触发器",
      "type": "n8n-nodes-base.stripeTrigger",
      "position": [
        720,
        -220
      ],
      "webhookId": "5c5c7e27-2b87-4034-939f-b73045659428",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c943e7c0-4d52-4c4b-83d9-4a0cf504a077",
      "name": "Stripe | 获取结账行项目",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1160,
        -220
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f8c213d2-ad43-4cc5-b838-8d7d94749e66",
      "name": "拆分模板",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1380,
        -220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c8af5ba5-2317-4f9f-9a89-12efa5da954b",
      "name": "聚合",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1820,
        -220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "78815088-236b-42dc-bf45-26b04075638f",
      "name": "Stripe | 获取产品信息",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1600,
        -220
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "576cafef-91a5-4c86-a622-a3655b039e9b",
      "name": "设置字段",
      "type": "n8n-nodes-base.set",
      "position": [
        2040,
        -220
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "71e0bd89-f225-4bd4-86ef-4081a198f35c",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2340,
        -220
      ],
      "webhookId": "2468ec1b-d26d-41fc-ae74-8176c5822eab",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "60967f00-e70e-46ce-a340-f2f0e36802c4",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        -320
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5b5af41e-31c7-40ca-90e7-135ac1265472",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1100,
        -440
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "86a233b2-f6d6-4cab-832f-0de4677b12ad",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1540,
        -440
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e28e28cd-e78d-4461-8397-9547035c1d51",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1980,
        -440
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4b144ee6-0c5a-4a14-8094-86db77c81fb9",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2220,
        -480
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0a69366f-98eb-45c2-b4c0-4e39858efaef",
      "name": "WhatsApp Business Cloud",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        2340,
        180
      ],
      "webhookId": "1ae05470-5f7a-40e7-b458-f5a563b705b0",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2861defe-e620-43d5-a73f-6dc6f935eac5",
      "name": "带 HTML 设计的邮件",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2340,
        -20
      ],
      "webhookId": "74206a90-fea2-410b-b46a-65f7f9757162",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "e1e5d8a3-0f49-4978-a1d1-6f885c52a9c2",
      "name": "仅筛选已付款",
      "type": "n8n-nodes-base.filter",
      "position": [
        940,
        -220
      ],
      "parameters": {},
      "typeVersion": 2.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "f86be57d-f225-4cd5-99de-20fbd991791c",
  "connections": {
    "Aggregate": {
      "main": [
        [
          {
            "node": "Set Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Fields": {
      "main": [
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          },
          {
            "node": "Email with HTML design",
            "type": "main",
            "index": 0
          },
          {
            "node": "WhatsApp Business Cloud",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Stripe Trigger": {
      "main": [
        [
          {
            "node": "Filter by paid only",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "split templates": {
      "main": [
        [
          {
            "node": "Stripe | Get product info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter by paid only": {
      "main": [
        [
          {
            "node": "Stripe | Get checkout line items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Stripe | Get product info": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Stripe | Get checkout line items": {
      "main": [
        [
          {
            "node": "split templates",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 财务

需要付费吗?

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

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

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

作者
Solomon

Solomon

@solomon

Freelance consultant from Brazil, specializing in automations and data analysis. I work with select clients, addressing their toughest projects. For business inquiries, email me at automations.solomon@gmail.com or message me on Telegram for a faster response.

外部链接
在 n8n.io 查看

分享此工作流