网站联系表单转Slack及可选邮件确认

初级

这是一个Lead Generation领域的自动化工作流,包含 5 个节点。主要使用 Gmail、Slack、FormTrigger、MicrosoftOutlook 等节点。 网站联系表单转Slack及可选邮件确认

前置要求
  • Google 账号和 Gmail API 凭证
  • Slack Bot Token 或 Webhook URL
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "efb474b59b0341d7791932605bd9ff04a6c7ed9941fdd53dc4a2e4b99a6f9439",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "6f8bd9ae-ad2a-4b4f-8ffe-11f7cefeb517",
      "name": "Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        660,
        160
      ],
      "webhookId": "ec105c6a-9307-4f28-9a16-8fb397ad9396",
      "parameters": {
        "text": "=You have a form submission with these details. Name:  {{ $json.Name }}  Email: {{ $json.Email }}  Phone: {{ $json.Phone }}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "list",
          "value": "C08T2J84F6C",
          "cachedResultName": "leads"
        },
        "otherOptions": {}
      },
      "credentials": {
        "slackApi": {
          "id": "keV27N1Uk30CvNXL",
          "name": "Slack account"
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "7e93109c-23ad-4c52-8fd9-28fb54674a2f",
      "name": "网站表单提交",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        360,
        -240
      ],
      "webhookId": "026479ef-4b5b-4ae1-b74a-cf8a9b29ef5c",
      "parameters": {
        "options": {},
        "formTitle": "Contact Form",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Name"
            },
            {
              "fieldLabel": "Email"
            },
            {
              "fieldLabel": "Phone"
            }
          ]
        },
        "formDescription": "Contact info from website"
      },
      "typeVersion": 2.2
    },
    {
      "id": "b99a663d-3f15-4ab4-8c73-b3662fec8c23",
      "name": "发送邮件 - Outlook",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        740,
        -120
      ],
      "webhookId": "cbe4e556-1c7f-4f07-a81a-4594d90b7990",
      "parameters": {
        "subject": "Thank you for reaching out!",
        "bodyContent": "=Hi  {{ $json.Name }}, \n\nThank you for reaching out on our website. We'll be in touch soon!",
        "toRecipients": "={{ $json.Email }}",
        "additionalFields": {}
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "VmTDwKgAl78H8pek",
          "name": "Microsoft Outlook account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "860c08f4-6d32-4574-bc66-cf21ca020148",
      "name": "发送邮件 - Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        800,
        -340
      ],
      "webhookId": "50ce2f5d-9aee-44b8-83be-0d76bba3c97c",
      "parameters": {
        "sendTo": "={{ $json.Email }}",
        "message": "=Hi  {{ $json.Name }},   Thank you for reaching out on our website. We'll be in touch soon!",
        "options": {},
        "subject": "Thank you for reaching out!"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "EMjErEHIQ6B4LPkk",
          "name": "Gmail account"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "abfbaf11-0427-4793-89d9-b4ac1915ea8d",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        -380
      ],
      "parameters": {
        "width": 1340,
        "height": 800,
        "content": "### 👤 需要更多帮助?"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {
    "Form Submission on Website": [
      {
        "Name": "Robert Breen",
        "Email": "rbreen@ynteractive.com",
        "Phone": "8148821293",
        "formMode": "test",
        "submittedAt": "2025-08-04T19:06:46.864-04:00"
      }
    ]
  },
  "connections": {
    "Slack": {
      "main": [
        []
      ]
    },
    "Send Email - Outlook": {
      "main": [
        []
      ]
    },
    "Form Submission on Website": {
      "main": [
        [
          {
            "node": "Slack",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Email - Outlook",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Email - Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

这是一个初级难度的工作流,适用于Lead Generation等场景。适合 n8n 新手,包含 1-5 个节点的简单工作流

需要付费吗?

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

工作流信息
难度等级
初级
节点数量5
分类1
节点类型5
难度说明

适合 n8n 新手,包含 1-5 个节点的简单工作流

作者
Robert Breen

Robert Breen

@rbreen

Professional services consultant with over 10 years of experience solving complex business problems across industries. I specialize in n8n and process automation—designing custom workflows that integrate tools like Google Calendar, Airtable, GPT, and internal systems. Whether you need to automate scheduling, sync data, or streamline operations, I build solutions that save time and drive results.

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

分享此工作流