Telegram用户注册工作流

中级

这是一个Building Blocks领域的自动化工作流,包含 15 个节点。主要使用 If、Set、Telegram、GoogleSheets、ExecuteWorkflowTrigger 等节点。 Telegram用户注册工作流

前置要求
  • Telegram Bot Token
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "257476b1ef58bf3cb6a46e65fac7ee34a53a5e1a8492d5c6e4da5f87c9b82833",
    "templateId": "2406"
  },
  "nodes": [
    {
      "id": "b1ed4be7-c126-48f8-88d6-0b259f964f14",
      "name": "注释3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "78854242-2668-4eb8-b6da-8ec0e1651845",
      "name": "触发器数据",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        420,
        860
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "00a0b352-c773-4138-a7b3-8920b6133db1",
      "name": "注释",
      "type": "n8n-nodes-base.set",
      "position": [
        580,
        860
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "597c5410-599a-4be5-8e31-a4921e298f31",
      "name": "注释4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        780
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8cc446b7-c6d8-460b-96d5-d461567dbdfd",
      "name": "注释2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1560,
        780
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4ad63cc5-15f3-43a1-8a31-d49ffc45a5a7",
      "name": "待保存数据",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        860,
        780
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0aba631e-50a0-435e-b2c3-ef445402e65f",
      "name": "查找用户",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        900,
        860
      ],
      "parameters": {},
      "typeVersion": 4.4,
      "alwaysOutputData": true
    },
    {
      "id": "debb258f-9c1b-4a7f-a04b-7616b46f425e",
      "name": "注释1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1380,
        1200
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0972e590-2db8-4199-9803-4a295555394f",
      "name": "写入数据库",
      "type": "n8n-nodes-base.set",
      "position": [
        1040,
        860
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "dbd93fe7-07fa-4f24-ad69-3054efa68519",
      "name": "欢迎消息",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1660,
        840
      ],
      "parameters": {},
      "typeVersion": 4.4
    },
    {
      "id": "ac26bac6-ac05-431b-b542-398933bb20d4",
      "name": "欢迎回来",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1860,
        840
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1
    },
    {
      "id": "79d81534-f016-4bb6-8631-69484bbd0ff9",
      "name": "新用户?",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1600,
        1280
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1
    },
    {
      "id": "ae302ba0-1802-465d-849a-08d371a3013b",
      "name": "更新状态",
      "type": "n8n-nodes-base.if",
      "position": [
        1180,
        860
      ],
      "parameters": {},
      "typeVersion": 2,
      "alwaysOutputData": false
    },
    {
      "id": "25708e4e-f941-4911-8c4e-af9aafa92027",
      "name": "数据示例",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1440,
        1280
      ],
      "parameters": {},
      "typeVersion": 4.4
    },
    {
      "id": "e4ab92b1-2b03-40ef-ad34-064bad8108a6",
      "name": "AI发票审批与欺诈检测",
      "type": "n8n-nodes-base.set",
      "position": [
        400,
        500
      ],
      "parameters": {},
      "typeVersion": 3.4
    }
  ],
  "pinData": {},
  "connections": {
    "New?": {
      "main": [
        [
          {
            "node": "Write to Data Base",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Update status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find User": {
      "main": [
        [
          {
            "node": "Data to Save",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data to Save": {
      "main": [
        [
          {
            "node": "New?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger_Data": {
      "main": [
        [
          {
            "node": "Find User",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger Start": {
      "main": [
        [
          {
            "node": "Trigger_Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update status": {
      "main": [
        [
          {
            "node": "Welcome back",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write to Data Base": {
      "main": [
        [
          {
            "node": "Welcome message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

这是一个中级难度的工作流,适用于Building Blocks等场景。适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

需要付费吗?

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

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

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

作者
Victor Gold

Victor Gold

@victorlucky

Automation & AI expert with over 7 years of experience in the digital & tech industry. Founder digital design, web & mobile development studio INSAIM.DESIGN. Focusing on startups & tech companies and helping to streamline their processes with AI and automation.

外部链接
在 n8n.io 上查看 →

分享此工作流