8
n8n 中文网amn8n.com

自动颁发培训证书并通过 Gmail 发送

高级

这是一个Building Blocks领域的自动化工作流,包含 18 个节点。主要使用 Set, Gmail, Crypto, EditImage, HttpRequest 等节点。 自动颁发培训证书并通过 Gmail 发送

前置要求
  • Google 账号和 Gmail API 凭证
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "a8fb7fd31983317952de5fe842ded2643867d47ad03573d086b1bc8ab17aa03b",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "7d656159-546a-4250-b0d8-a32f441ca139",
      "name": "点击\"测试工作流\"时",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -220,
        960
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "fd65ad82-7bb5-4db1-a258-23c5ef5a0ad2",
      "name": "客户数据存储(n8n 培训)",
      "type": "n8n-nodes-base.n8nTrainingCustomerDatastore",
      "position": [
        40,
        960
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d900545f-d640-4c0e-88ec-ce3e35344dde",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        640
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "798ac317-0a5c-4bd5-a420-43cc71da5c7f",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        740,
        880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5dc5127e-92de-490e-af1e-2e654a502857",
      "name": "便签9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1100,
        880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "98ea16c7-804e-4358-8255-b8662fde54f2",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1880,
        880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "02de8ba7-4460-47ac-8def-153d826e5d0b",
      "name": "便签11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        460,
        880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0494d17c-55f2-4899-98b4-42a296984418",
      "name": "便签12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2cfa592f-c392-4c3d-861e-189fbc7c3e16",
      "name": "便签13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1380,
        880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7f7ec25f-95c8-4c51-9238-7e8fece972c5",
      "name": "写入文本(姓名)",
      "type": "n8n-nodes-base.editImage",
      "onError": "continueRegularOutput",
      "position": [
        1440,
        960
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "31e2a831-77fc-40fc-9794-50409e5af0f9",
      "name": "写入文本(uuid)",
      "type": "n8n-nodes-base.editImage",
      "position": [
        1660,
        960
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8a6ac21d-3d1c-4db9-8532-651d0666dc5d",
      "name": "获取邮箱和姓名",
      "type": "n8n-nodes-base.set",
      "position": [
        240,
        960
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c030a257-de4c-4d35-804f-886bce7c7d5c",
      "name": "生成加密",
      "type": "n8n-nodes-base.crypto",
      "position": [
        520,
        960
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f00027db-a66b-4561-94f0-cffc46344fba",
      "name": "加载图像",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        840,
        960
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "67ec87f8-e2e2-4eb7-8be9-12b57a58a844",
      "name": "获取信息",
      "type": "n8n-nodes-base.editImage",
      "onError": "continueRegularOutput",
      "position": [
        1160,
        960
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5f148b64-7ba3-4439-9624-07969c18f7b1",
      "name": "发送邮件",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1960,
        960
      ],
      "webhookId": "ef7b21c5-d760-4192-8c90-f75b8f0e2752",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "e09baae4-c616-49cb-b296-10f9b5484192",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        1140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3663c33c-2de4-4abc-be42-bd71a10c7313",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1640,
        1140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "Get Info": {
      "main": [
        [
          {
            "node": "Write Text(name)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Load Image": {
      "main": [
        [
          {
            "node": "Get Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Crypto": {
      "main": [
        [
          {
            "node": "Load Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Email & Name": {
      "main": [
        [
          {
            "node": "Generate Crypto",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Text(name)": {
      "main": [
        [
          {
            "node": "Write Text(uuid)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Text(uuid)": {
      "main": [
        [
          {
            "node": "Send Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Customer Datastore (n8n training)": {
      "main": [
        [
          {
            "node": "Get Email & Name",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Customer Datastore (n8n training)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 构建模块

需要付费吗?

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

工作流信息
难度等级
高级
节点数量18
分类1
节点类型8
难度说明

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

作者
Nathan Lee

Nathan Lee

@datapopcorn

I'm a creator of n8n automation tool in Korea with 7 years of experience as a data analysis engineer. Currently, I'm running a Korean n8n community with about 200 people. I'm creating more than 20 workflows and promoting n8n tools.

外部链接
在 n8n.io 查看

分享此工作流