8
n8n 中文网amn8n.com

针对新Xero联系人的自动化HTML欢迎邮件

中级

这是一个Lead Nurturing, Multimodal AI领域的自动化工作流,包含 11 个节点。主要使用 If, Code, Xero, Webhook, EmailSend 等节点。 通过SMTP向新Xero联系人发送个性化HTML欢迎邮件

前置要求
  • HTTP Webhook 端点(n8n 会自动生成)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "2XAcvf09RnGLlETE",
  "meta": {
    "instanceId": "e727f992f69a44655d3d4d5a1d4a30ca3ec1573139240bc4d84b17b8f66642c8",
    "templateCredsSetupCompleted": true
  },
  "name": "针对新 Xero 联系人的自动化 HTML 欢迎邮件",
  "tags": [],
  "nodes": [
    {
      "id": "c5a1225c-2bdb-4f0f-93ce-34cc97d168ae",
      "name": "发送个性化欢迎邮件",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1632,
        96
      ],
      "webhookId": "0bd83eff-7028-4841-ba18-2981c22b869b",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "13a0960f-33c5-4b8f-bfaf-2a9bd1685386",
      "name": "Xero 中的新联系人",
      "type": "n8n-nodes-base.webhook",
      "position": [
        48,
        96
      ],
      "webhookId": "3482f2ca-1e30-4ad8-a11f-eae9a12adb66",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "3fceaeef-8e73-4eb8-a832-c8dfcce010c1",
      "name": "是新联系人吗?",
      "type": "n8n-nodes-base.if",
      "position": [
        432,
        96
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "8e10d328-c345-425a-8e56-eae5b688a4a4",
      "name": "从 Xero 获取完整联系人详细信息",
      "type": "n8n-nodes-base.xero",
      "position": [
        832,
        96
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "81376ecb-06c3-40e0-9771-243a149e9ca6",
      "name": "构建个性化 HTML 邮件",
      "type": "n8n-nodes-base.code",
      "position": [
        1232,
        96
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "dab34e2e-6780-4f34-8b8c-f655e14c11e6",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1616,
        -784
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c9a68653-e3ce-43fd-9509-560c0cb15802",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -64,
        -96
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bf59f82d-f9ce-4c32-88ae-34f208d076b2",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        336,
        -48
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3e7e0c08-da69-438f-aff9-48562acd08b6",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        -112
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2712a10e-4370-4a4b-9458-c55ca1a51735",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1120,
        -128
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ef6eccdf-8e4f-4a77-8380-538fe487a95e",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1520,
        -80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "6deece4a-150a-4039-9f71-becdeace2ce7",
  "connections": {
    "New Contact in Xero": {
      "main": [
        [
          {
            "node": "Is it a NEW Contact?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is it a NEW Contact?": {
      "main": [
        [
          {
            "node": "Fetch Full Contact Details from Xero",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Build Personalized HTML Email": {
      "main": [
        [
          {
            "node": "Send Personalized Welcome Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Full Contact Details from Xero": {
      "main": [
        [
          {
            "node": "Build Personalized HTML Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 客户培育, 多模态 AI

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流