8
n8n 中文网amn8n.com

使用 Groq AI 和 Browserflow 自动化的个性化 LinkedIn 网络外展

中级

这是一个Lead Nurturing, Multimodal AI领域的自动化工作流,包含 9 个节点。主要使用 Code, Limit, SplitOut, FormTrigger, Agent 等节点。 使用 Groq AI 和 Browserflow 自动化的个性化 LinkedIn 网络外展

前置要求
  • 无特殊前置要求,导入即可使用
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "f017b44b21ba61cea5dc4f23d9caf22ea07787f59e04d4e1a2c79c65ce2d2d61"
  },
  "nodes": [
    {
      "id": "ca78bdea-09b3-4b1b-a5eb-8dd6951949af",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        768,
        336
      ],
      "parameters": {
        "text": "=Analyze the following automation professional's profile and create personalized LinkedIn and email outreach messages from ObisDev:\n\n**Target Profile:**\n- Name: {{ $json.name }}\n- LinkedIn URL: {{ $json.linkedin_url }}\n- Tagline: {{ $json.tagline }}\n- Location: {{ $json.location }}\n- Summary: {{ $json.summary }}\n\n**Context:**\nObisDev runs an automation agency in Lagos and wants to build relationships with fellow automation professionals for networking, collaboration, and knowledge sharing opportunities.\n\n**Requirements:**\n1. Reference their specific expertise from tagline/summary\n2. Highlight shared tools (n8n, Make.com, AI, automation, etc.)\n3. Mention Lagos automation community connection\n4. Suggest specific next steps (coffee chat, knowledge sharing)\n5. Keep authentic and relationship-focused, not sales-focused\n6. LinkedIn message: 15-30 words max\n7. Email message: 50-80 words max\n8. linkedin_url:{{ $json.linkedin_url }}\n\n**Output Format:**\nReturn as structured JSON:\n```json\n{\n  \"linkedin_message\": {\n    \"linkedin_url\": \"https:example.url\"\n    \"subject\": \"Connection request subject line\",\n    \"message_body\": \"Full LinkedIn message content\",\n    \"personalization_points\": [\"point1\", \"point2\", \"point3\"]\n  },\n  \"email\": {\n    \"subject\": \"Email subject line\", \n    \"message_body\": \"Full email content\",\n    \"personalization_points\": [\"point1\", \"point2\", \"point3\"]\n  },\n  \"outreach_strategy\": \"networking\",\n  \"follow_up_suggestions\": [\"suggestion1\", \"suggestion2\"]\n}\n```\n\nFocus on building genuine professional relationships within the Lagos automation community, not selling services.",
        "options": {
          "systemMessage": "You are an AI agent specializing in crafting personalized outreach messages for networking with automation professionals. You represent ObisDev, an automation agency owner in Lagos who wants to connect with fellow automation specialists for networking, collaboration, and knowledge sharing opportunities.\nYour Core Objectives:\n\nCreate authentic, non-salesy networking messages\nFocus on mutual value and community building\nHighlight relevant commonalities (location, tools, expertise)\nSuggest concrete collaboration or knowledge-sharing opportunities\nMaintain a professional yet approachable tone\n\nOutput Format Requirements:\nYou must return your response as a structured JSON object that can be parsed by n8n agents:\njson{\n  \"linkedin_message\": {\n    \"subject\": \"Connection request subject line\",\n    \"linkedin_url\": \"https://example.com\"\n    \"message_body\": \"Full LinkedIn message content\",\n    \"message_type\": \"connection_request\",\n    \"personalization_points\": [\"point1\", \"point2\", \"point3\"]\n  },\n  \"email\": {\n    \"subject\": \"Email subject line\", \n    \"message_body\": \"Full email content with proper formatting\",\n    \"message_type\": \"networking_email\",\n    \"personalization_points\": [\"point1\", \"point2\", \"point3\"]\n  },\n  \"outreach_strategy\": \"networking|collaboration|knowledge_sharing\",\n  \"follow_up_suggestions\": [\"suggestion1\", \"suggestion2\"]\n}\nMessage Guidelines:\n\nLinkedIn messages: 150-200 words max\nEmail messages: 250-300 words max\nAlways mention specific details from their profile\nInclude a clear, low-pressure call-to-action\nFocus on giving value, not asking for favors\nUse Nigerian professional communication style when appropriate\n\nTone and Style:\n\nProfessional but friendly\nGenuinely interested in their work\nCollaborative, not competitive\nRespectful of their expertise\nEnthusiastic about the Lagos automation community\n\nUser Prompt Template\nAnalyze the following automation professional's profile and create personalized LinkedIn and email outreach messages from ObisDev:\nTarget Profile:\n\nName: {name}\nLinkedIn URL: {linkedin_url}\nTagline: {tagline}\nLocation: {location}\nSummary: {summary}\n\nContext:\nObisDev runs an automation agency and wants to:\n\nBuild relationships with fellow automation professionals in Lagos\nExplore potential collaboration opportunities\nShare knowledge and best practices\nGrow the local automation community\n\nSpecific Instructions:\n\nReference their specific expertise mentioned in tagline/summary\nHighlight shared tools or technologies (n8n, Make.com, AI, etc.)\nMention the Lagos automation community connection\nSuggest a specific, valuable next step (coffee chat, knowledge sharing, etc.)\nKeep it authentic and relationship-focused, not transactional\n\nGenerate the outreach messages following the JSON structure specified in the system prompt.\n\nExample Implementation\nSample Input for John Echendu:\nName: John Echendu\nLinkedIn URL: https://www.linkedin.com/in/john-echendu-223ba1202\nTagline: AI Workflow Automation • Make.com Expert • Vendor + Client Follow-ups • Airtable + Monday.com + n8n Integrations\nLocation: Lagos\nSummary: Current: AI Automation Specialist | No-Code Systems | n8n, Make, Airtable, OpenAI at Freelance\nExpected AI Output:\njson{\n  \"linkedin_message\": {\n    \"subject\": \"Fellow Lagos Automation Specialist - Let's Connect!\",\n    \"message_body\": \"Hi John,\\n\\nI came across your profile and was impressed by your expertise with Make.com and n8n integrations. As a fellow automation specialist here in Lagos, I'd love to connect and share insights about the growing automation landscape in Nigeria.\\n\\nI noticed you're doing great work with vendor/client follow-ups - that's such a crucial use case that many businesses overlook. I'm always interested in learning how other automation experts approach these workflows.\\n\\nWould you be open to a brief coffee chat sometime? I think we could share some valuable insights about building automation solutions for Nigerian businesses.\\n\\nBest regards,\\nObisDev\",\n    \"message_type\": \"connection_request\",\n    \"personalization_points\": [\"Make.com expertise\", \"Lagos location\", \"vendor/client follow-ups specialty\"]\n  },\n  \"email\": {\n    \"subject\": \"Connecting Lagos Automation Experts - Coffee Chat?\",\n    \"message_body\": \"Hi John,\\n\\nI hope this email finds you well. I'm ObisDev, and I run an automation agency here in Lagos. I came across your LinkedIn profile and was really impressed by your work as an AI Automation Specialist.\\n\\nYour expertise with Make.com, n8n, and Airtable caught my attention - these are tools I work with daily, and I'm always excited to meet fellow automation experts in our city. The vendor and client follow-up systems you've built sound particularly interesting.\\n\\nI believe there's tremendous potential for automation specialists in Lagos to collaborate and learn from each other. The market is growing, and sharing knowledge benefits all of us.\\n\\nWould you be interested in grabbing coffee sometime this week or next? I'd love to:\\n- Share insights about automation trends we're seeing locally\\n- Discuss challenges and solutions in the Nigerian market\\n- Explore potential collaboration opportunities\\n\\nNo agenda other than connecting with a fellow professional and building our automation community here in Lagos.\\n\\nLooking forward to hearing from you!\\n\\nBest regards,\\nObisDev\\nAutomation Agency Owner\\n[Your contact details]\",\n    \"message_type\": \"networking_email\", \n    \"personalization_points\": [\"Make.com and n8n expertise\", \"Lagos automation market\", \"vendor/client follow-up systems\"]\n  },\n  \"outreach_strategy\": \"networking\",\n  \"follow_up_suggestions\": [\"Follow up in 1 week if no response\", \"Share a valuable automation resource as a soft follow-up\"]\n}"
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "6e2a9af3-9dda-44c5-a002-0be04126e2b4",
      "name": "Groq 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatGroq",
      "position": [
        768,
        496
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "groqApi": {
          "id": "gfoeFNgs3poLdnF9",
          "name": "empty"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "11ddd0fc-2a4e-44b6-80f9-d566c00f57f0",
      "name": "从LinkedIn搜索中抓取个人资料",
      "type": "n8n-nodes-browserflow.browserflow",
      "position": [
        112,
        328
      ],
      "parameters": {
        "city": "={{ $json.City }}",
        "country": "={{ $json.Counrty }}",
        "nrOfPages": 4,
        "operation": "scrapeProfilesFromSearch",
        "searchTerm": "={{ $json[\"Search Term\"] }}",
        "requestOptions": {}
      },
      "credentials": {
        "browserflowApi": {
          "id": "adu3iu2yNVYDvQnM",
          "name": "empty"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "ba0b87a8-e66a-4790-bb9f-2ffca1776ade",
      "name": "表单提交时",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -112,
        328
      ],
      "webhookId": "dff20317-f32b-4e75-ab1c-7413dd8335da",
      "parameters": {
        "options": {},
        "formTitle": "Linkedin job form",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Search Term",
              "placeholder": "Search term",
              "requiredField": true
            },
            {
              "fieldLabel": "City",
              "placeholder": "Job City name",
              "requiredField": true
            },
            {
              "fieldLabel": "Counrty",
              "placeholder": "Job Country",
              "requiredField": true
            }
          ]
        },
        "formDescription": "search job"
      },
      "typeVersion": 2.2
    },
    {
      "id": "7019792a-c5c3-46f2-bfb9-20851e62bb6d",
      "name": "拆分输出1",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        336,
        328
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "data"
      },
      "typeVersion": 1
    },
    {
      "id": "a55274bd-a3ba-4485-9a32-11407b1b0ca3",
      "name": "发送LinkedIn消息1",
      "type": "n8n-nodes-browserflow.browserflow",
      "position": [
        1328,
        336
      ],
      "parameters": {
        "message": "{{ $json.email.message_body }}",
        "operation": "sendMessage",
        "linkedinUrl": "{{ $json.linkedin_message.linkedin_url }}",
        "requestOptions": {}
      },
      "credentials": {
        "browserflowApi": {
          "id": "adu3iu2yNVYDvQnM",
          "name": "empty"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "531c0294-27b4-4d8f-851d-8ebbbe0d607c",
      "name": "限制",
      "type": "n8n-nodes-base.limit",
      "position": [
        560,
        328
      ],
      "parameters": {
        "maxItems": 3
      },
      "typeVersion": 1
    },
    {
      "id": "34991c7a-5b61-415d-b017-b25a624cba5f",
      "name": "代码1",
      "type": "n8n-nodes-base.code",
      "position": [
        1136,
        328
      ],
      "parameters": {
        "jsCode": "// n8n Code node (JavaScript)\n\nconst results = [];\n\nfor (const item of items) {\n  try {\n    const rawOutput = item.json.output;\n\n    // Extract JSON between ```json and ```\n    const match = rawOutput.match(/```json([\\s\\S]*?)```/);\n\n    if (match && match[1]) {\n      const parsed = JSON.parse(match[1]);\n\n      results.push({ json: parsed });\n    } else {\n      // If no JSON block found, push raw output for debugging\n      results.push({ json: { error: \"No JSON found\", raw: rawOutput } });\n    }\n\n  } catch (err) {\n    results.push({ json: { error: err.message, raw: item.json.output } });\n  }\n}\n\nreturn results;\n"
      },
      "typeVersion": 2
    },
    {
      "id": "0063298e-f659-4670-a374-73edea4fc2aa",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -208
      ],
      "parameters": {
        "width": 1664,
        "height": 832,
        "content": "手动触发 → 启动流程"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "Code1": {
      "main": [
        [
          {
            "node": "Send a linkedin message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Code1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out1": {
      "main": [
        [
          {
            "node": "Limit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Groq Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Scrape profiles from a linkedin search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a linkedin message1": {
      "main": [
        []
      ]
    },
    "Scrape profiles from a linkedin search": {
      "main": [
        [
          {
            "node": "Split Out1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

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

需要付费吗?

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

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

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

作者
ObisDev

ObisDev

@obisdev

Let's scale your Business 5x with AI automation. Yes that's my Job. 💻Software Developer 🤖AI Agent Builder | N8N ⛓️Automation and Workflow Engineer. 🤝

外部链接
在 n8n.io 查看

分享此工作流