8
n8n 中文网amn8n.com

基于账户的完整触达自动化,搭载Octave上下文引擎

高级

这是一个Lead Nurturing, Multimodal AI领域的自动化工作流,包含 19 个节点。主要使用 Filter, Webhook, SplitOut, Octave, HttpRequest 等节点。 使用Octave、AI和Instantly.ai自动化从ABM研究到触达的流程

前置要求
  • HTTP Webhook 端点(n8n 会自动生成)
  • 可能需要目标 API 的认证凭证
  • Anthropic API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "name": "基于账户的完整触达自动化,搭载 Octave 上下文引擎",
  "tags": [],
  "nodes": [
    {
      "id": "sticky-note-main",
      "name": "便利贴 - 主概览",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        600,
        -750
      ],
      "parameters": {
        "color": 1,
        "width": 450,
        "height": 520,
        "content": "🎯 完整的基于账户的触达流程"
      },
      "typeVersion": 1
    },
    {
      "id": "sticky-note-webhook",
      "name": "便利贴 - 账户输入",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        -150
      ],
      "parameters": {
        "color": 2,
        "width": 180,
        "height": 100,
        "content": "🚀 账户输入"
      },
      "typeVersion": 1
    },
    {
      "id": "sticky-note-research",
      "name": "便利贴 - 上下文研究",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        -150
      ],
      "parameters": {
        "color": 4,
        "width": 180,
        "height": 100,
        "content": "🔍 上下文研究"
      },
      "typeVersion": 1
    },
    {
      "id": "sticky-note-qualify",
      "name": "便利贴 - 公司资质审核",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        -150
      ],
      "parameters": {
        "color": 5,
        "width": 180,
        "height": 100,
        "content": "🏢 公司资质审核"
      },
      "typeVersion": 1
    },
    {
      "id": "sticky-note-filter",
      "name": "便利贴 - 筛选器",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        840,
        -150
      ],
      "parameters": {
        "color": 3,
        "width": 180,
        "height": 100,
        "content": "🔍 筛选器"
      },
      "typeVersion": 1
    },
    {
      "id": "sticky-note-prospector",
      "name": "便利贴 - 潜在客户挖掘器",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1040,
        -150
      ],
      "parameters": {
        "color": 6,
        "width": 180,
        "height": 100,
        "content": "👥 潜在客户挖掘器"
      },
      "typeVersion": 1
    },
    {
      "id": "sticky-note-split",
      "name": "便利贴 - 拆分联系人",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1240,
        -150
      ],
      "parameters": {
        "color": 2,
        "width": 180,
        "height": 100,
        "content": "📋 拆分联系人"
      },
      "typeVersion": 1
    },
    {
      "id": "sticky-note-sequence",
      "name": "便利贴 - 序列生成",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1440,
        -150
      ],
      "parameters": {
        "color": 4,
        "width": 180,
        "height": 100,
        "content": "⚡ 运行时序列"
      },
      "typeVersion": 1
    },
    {
      "id": "sticky-note-deploy",
      "name": "便利贴 - 营销活动部署",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1640,
        -150
      ],
      "parameters": {
        "color": 5,
        "width": 180,
        "height": 100,
        "content": "📧 营销活动部署"
      },
      "typeVersion": 1
    },
    {
      "id": "sticky-note-llm",
      "name": "便利贴 - LLM模型",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        -300
      ],
      "parameters": {
        "color": 3,
        "width": 180,
        "height": 100,
        "content": "🧠 LLM模型"
      },
      "typeVersion": 1
    },
    {
      "id": "14bf51ef-8396-41e5-955d-47c6e1098ae6",
      "name": "账户数据Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        120,
        0
      ],
      "webhookId": "your-webhook-id-here",
      "parameters": {
        "path": "your-webhook-path-here",
        "options": {}
      },
      "typeVersion": 2
    },
    {
      "id": "531d7403-6ea3-4ff9-82a5-43ca23058519",
      "name": "研究外部上下文",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        320,
        0
      ],
      "parameters": {
        "text": "=Output the name of an open role that {{ $json.body.companyDomain }} is hiring for. If you can't find a role they are hiring for, make up a basic one that would make sense for them to hire for. Normalize the job title to something that would be used in an internal email (i.e \"software engineer\" instead of \"Sr. Software Engineer II\"). Output just the name of the role and nothing else, with no pretext or posttext. Do NOT make any justification if you can't find a role, just give a dummy role and nothing else. No \"I wasn't able to find...\" BS.",
        "options": {},
        "promptType": "define"
      },
      "typeVersion": 2.1
    },
    {
      "id": "57ef7b44-6c4f-4712-9ca3-32681ca974a7",
      "name": "LLM模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        220,
        200
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "your-llm-model",
          "cachedResultName": "Your LLM Model"
        },
        "options": {}
      },
      "credentials": {
        "anthropicApi": {
          "name": "Your LLM API Credentials"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "6a3a0248-24fc-4060-9525-3a40b5b5fcfe",
      "name": "使用Octave审核公司资质",
      "type": "n8n-nodes-octavehq.octave",
      "position": [
        720,
        0
      ],
      "parameters": {
        "agentOId": "your-octave-company-qualification-agent-id",
        "operation": "qualifyCompany",
        "companyName": "={{ $('Account Data Webhook').item.json.body.companyName }}",
        "companyDomain": "={{ $('Account Data Webhook').item.json.body.companyDomain }}",
        "runtimeContext": ""
      },
      "credentials": {
        "octaveApi": {
          "name": "Octave API Credentials"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "779f6a70-90e7-4f5d-b5a1-706001d4bf86",
      "name": "筛选合格公司",
      "type": "n8n-nodes-base.filter",
      "position": [
        920,
        0
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "a28bb3f4-fb9c-4fb8-985e-9a4cd45be865",
              "operator": {
                "type": "number",
                "operation": "gt"
              },
              "leftValue": "={{ $json.score }}",
              "rightValue": 1
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "f93081d6-d31f-4367-b80c-db3657d9c71d",
      "name": "发现相关联系人",
      "type": "n8n-nodes-octavehq.octave",
      "position": [
        1120,
        0
      ],
      "parameters": {
        "agentOId": "your-octave-prospector-agent-id",
        "operation": "runProspector",
        "companyDomain": "={{ $json.company.domain }}"
      },
      "credentials": {
        "octaveApi": {
          "name": "Octave API Credentials"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "afd4f2df-07d8-4176-9dbd-023ca62999f8",
      "name": "拆分联系人进行处理",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1320,
        0
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "contacts"
      },
      "typeVersion": 1
    },
    {
      "id": "87d07490-c82e-4d6c-9f71-b2e543925949",
      "name": "生成情境化序列",
      "type": "n8n-nodes-octavehq.octave",
      "position": [
        1520,
        0
      ],
      "parameters": {
        "agentOId": "your-octave-sequence-agent-id",
        "jobTitle": "={{ $json.contact.title }}",
        "firstName": "={{ $json.contact.firstName }}",
        "operation": "runSequence",
        "companyName": "={{ $json.contact.companyName }}",
        "companyDomain": "={{ $json.contact.companyDomain }}",
        "linkedInProfile": "={{ $json.contact.profileUrl }}",
        "runtimeContextStep1": "=they are hiring a {{ $('Research External Context').item.json.output }}",
        "runtimeInstructionsStep1": "mention the role they're hiring for and tie it into why you are reaching out"
      },
      "credentials": {
        "octaveApi": {
          "name": "Octave API Credentials"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "90e13ffe-5012-42bb-b9eb-0e4574abd5fc",
      "name": "部署到邮件营销活动",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1720,
        0
      ],
      "parameters": {
        "url": "https://api.instantly.ai/api/v2/leads",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "campaign",
              "value": "your-campaign-id-here"
            },
            {
              "name": "email",
              "value": "={{ $('Split Contacts for Processing').item.json.contact.email || 'demo_' + $('Split Contacts for Processing').item.json.contact.slug + '@example.com' }}"
            },
            {
              "name": "first_name",
              "value": "={{ $('Split Contacts for Processing').item.json.contact.firstName }}"
            },
            {
              "name": "last_name",
              "value": "={{ $('Split Contacts for Processing').item.json.contact.lastName }}"
            },
            {
              "name": "company_name",
              "value": "={{ $('Split Contacts for Processing').item.json.contact.companyName }}"
            },
            {
              "name": "custom_variables",
              "value": "={{ { \"email1\": $json.emails[0].email || \"\", \"subject1\": $json.emails[0].subject || \"\", \"email2\": $json.emails[1].email || \"\", \"subject2\": $json.emails[1].subject || \"\", \"email3\": $json.emails[2].email || \"\", \"subject3\": $json.emails[2].subject || \"\" } }}"
            }
          ]
        },
        "genericAuthType": "httpBearerAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "credentials": {
        "httpBearerAuth": {
          "name": "Email Platform API Key"
        }
      },
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "connections": {
    "LLM Model": {
      "ai_languageModel": [
        [
          {
            "node": "Research External Context",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Account Data Webhook": {
      "main": [
        [
          {
            "node": "Research External Context",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Research External Context": {
      "main": [
        [
          {
            "node": "Qualify Company with Octave",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Discover Relevant Contacts": {
      "main": [
        [
          {
            "node": "Split Contacts for Processing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Qualified Companies": {
      "main": [
        [
          {
            "node": "Discover Relevant Contacts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Qualify Company with Octave": {
      "main": [
        [
          {
            "node": "Filter Qualified Companies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Contacts for Processing": {
      "main": [
        [
          {
            "node": "Generate Contextualized Sequences",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Contextualized Sequences": {
      "main": [
        [
          {
            "node": "Deploy to Email Campaign",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

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

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流