8
n8n 中文网amn8n.com

表单提交到Notion CRM设置

中级

这是一个Lead Generation领域的自动化工作流,包含 7 个节点。主要使用 Code, Notion, Webhook 等节点。 将网站表单提交捕获到Notion CRM数据库

前置要求
  • Notion API Key
  • HTTP Webhook 端点(n8n 会自动生成)

使用的节点 (7)

工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "mSRodggo80JpZWPj",
  "meta": {
    "instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc",
    "templateCredsSetupCompleted": true
  },
  "name": "表单提交到 Notion CRM 设置",
  "tags": [],
  "nodes": [
    {
      "id": "ed25fd44-5ca1-424d-8dd5-115aa8d2812a",
      "name": "表单提交钩子",
      "type": "n8n-nodes-base.webhook",
      "position": [
        140,
        220
      ],
      "webhookId": "34e9fb3f-f6bd-4a44-bb58-6fe58ffe4a78",
      "parameters": {
        "path": "34e9fb3f-f6bd-4a44-bb58-6fe58ffe4a78",
        "options": {},
        "httpMethod": "POST"
      },
      "typeVersion": 2
    },
    {
      "id": "cbbb8ead-001c-4f1c-8445-5163f43ee1ad",
      "name": "解析 + 清理潜在客户数据",
      "type": "n8n-nodes-base.code",
      "position": [
        460,
        220
      ],
      "parameters": {
        "jsCode": "const items = $input.all();\n\nconst updatedItems = items.map((item) => {\n  const { name, email, businessName, message, timeline, budget } =\n    item.json.body;\n  return {\n    name,\n    email,\n    businessName,\n    \"project intent/need\": message,\n    timeline,\n    budget,\n  };\n});\n\nreturn updatedItems;\n"
      },
      "typeVersion": 2
    },
    {
      "id": "ff79100c-45d8-4661-88ac-beff4ddd4b3f",
      "name": "Notion",
      "type": "n8n-nodes-base.notion",
      "position": [
        860,
        220
      ],
      "parameters": {
        "pageId": {
          "__rl": true,
          "mode": "url",
          "value": ""
        },
        "blockUi": {
          "blockValues": [
            {},
            {},
            {}
          ]
        },
        "options": {}
      },
      "typeVersion": 2.2
    },
    {
      "id": "f9efaa89-1f30-4da5-aeee-077f1fb13d32",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -340,
        -20
      ],
      "parameters": {
        "color": 3,
        "width": 360,
        "height": 460,
        "content": "## 网站表单提交到 Notion CRM 设置"
      },
      "typeVersion": 1
    },
    {
      "id": "b01db7fa-a46a-4e0f-a1f4-b3a11770fe25",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        -40
      ],
      "parameters": {
        "color": 7,
        "height": 420,
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e5825406-7f14-4054-94d3-d67c66e3b317",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        -40
      ],
      "parameters": {
        "color": 6,
        "width": 280,
        "height": 420,
        "content": "**解析数据**"
      },
      "typeVersion": 1
    },
    {
      "id": "869bed10-0e6e-4d3a-b217-f0998c2be462",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        620,
        -40
      ],
      "parameters": {
        "width": 360,
        "height": 440,
        "content": "## 映射到 Notion"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "3fb4d00a-60b9-4907-8bd4-157ed67d33b1",
  "connections": {
    "Form Submission Hook": {
      "main": [
        [
          {
            "node": "Parse + Clean Lead Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse + Clean Lead Data": {
      "main": [
        [
          {
            "node": "Notion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 潜在客户开发

需要付费吗?

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

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

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

作者
David Olusola

David Olusola

@dae221

AI automation consultant working with ambitious businesses on their most complex operational challenges. For project inquiries, reach me at david@daexai.com

外部链接
在 n8n.io 查看

分享此工作流