フォーム経由でのLinkedInプロフィール検索(Bright DataとGPT-4o-mini)

上級

これはHR, AI分野の自動化ワークフローで、19個のノードを含みます。主にIf, Set, Form, Html, Limitなどのノードを使用、AI技術を活用したスマート自動化を実現。 フォームからLinkedInプロフィールを検索(Bright DataとGPT-4o-mini)

前提条件
  • OpenAI API Key

カテゴリー

ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "nmVATBvrztDxZX6z",
  "meta": {
    "instanceId": "b1f85eae352fde76d801a1a612661df6824cc2e68bfd6741e31305160a737e6e",
    "templateCredsSetupCompleted": true
  },
  "name": "LinkedIn Profile Finder via Form using Bright Data & GPT-4o-mini",
  "tags": [],
  "nodes": [
    {
      "id": "ff6d4985-8b42-46d8-95c8-e80ff102440c",
      "name": "ウェブサイトから本文とタイトルを抽出",
      "type": "n8n-nodes-base.html",
      "position": [
        1600,
        -1120
      ],
      "parameters": {
        "options": {
          "trimValues": true
        },
        "operation": "extractHtmlContent",
        "dataPropertyName": "body",
        "extractionValues": {
          "values": [
            {
              "key": "title",
              "cssSelector": "title"
            },
            {
              "key": "body",
              "cssSelector": "body"
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "4da21d9c-59d2-4151-a1ca-5e7a85cf0316",
      "name": "ユーザーがフォームを完了した時",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        580,
        -1120
      ],
      "webhookId": "41d0bffa-f5ca-4df7-b757-ca5a1e472b8a",
      "parameters": {
        "options": {
          "path": "search-user",
          "ignoreBots": true,
          "buttonLabel": "Get References"
        },
        "formTitle": "Sales prospecting",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Person Fullname",
              "placeholder": "Complete the fullname",
              "requiredField": true
            },
            {
              "fieldLabel": "Person's company",
              "placeholder": "Complete the company",
              "requiredField": true
            }
          ]
        },
        "responseMode": "lastNode",
        "formDescription": "Complete the data of the prospect you want to analyze.\n\nA personalized follow-up email with insights and suggested outreach steps will be sent to you:"
      },
      "typeVersion": 2.2
    },
    {
      "id": "644fab8f-66c6-4ae5-984b-7e1e66c265a2",
      "name": "GoogleでLinkedInエントリを取得",
      "type": "n8n-nodes-brightdata.brightData",
      "position": [
        1280,
        -1120
      ],
      "parameters": {
        "url": "={{ $json.google_search }}",
        "zone": {
          "__rl": true,
          "mode": "list",
          "value": "web_unlocker1",
          "cachedResultName": "web_unlocker1"
        },
        "format": "json",
        "country": {
          "__rl": true,
          "mode": "list",
          "value": "us",
          "cachedResultName": "us"
        },
        "requestOptions": {}
      },
      "credentials": {
        "brightdataApi": {
          "id": "jk945kIuAFAo9bcg",
          "name": "BrightData account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "e226ea33-a643-4396-9cbf-53901eeef89f",
      "name": "Google結果を解析",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1920,
        -1120
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini",
          "cachedResultName": "GPT-4O-MINI"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "role": "system",
              "content": "=Extract Linkedin profiles from google results (link, fullname, position, company if possible). \n\nReturn a results property with all the parsed results including a property \"match\" if user matches the data entry values \"{{ $('When User Completes Form').item.json[\"Person Fullname\"].trim() }} {{ $('When User Completes Form').item.json[\"Person Position\"].trim() }} {{ $('When User Completes Form').item.json[\"Person's company\"].trim() }}\""
            },
            {
              "content": "=The input text is:\n{{ $json.body }}"
            },
            {
              "content": "=Categories to filter: {{ $('When User Completes Form').item.json.Category.join(',') }}"
            }
          ]
        },
        "jsonOutput": true
      },
      "credentials": {
        "openAiApi": {
          "id": "oKzfvOwieOm4upQ2",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "8018f6c1-037b-4577-ae4c-d2129fe2ecf4",
      "name": "フォームが見つかりません",
      "type": "n8n-nodes-base.form",
      "position": [
        2280,
        -800
      ],
      "webhookId": "a509f577-231f-435f-b3c2-0fed718f0cc8",
      "parameters": {
        "operation": "completion",
        "respondWith": "showText",
        "responseText": "=We didn't found a person for \"{{ $('When User Completes Form').item.json[\"Person Fullname\"] }} {{ $('When User Completes Form').item.json[\"Person Fullname\"] }} {{ $('When User Completes Form').item.json[\"Person's company\"] }}\""
      },
      "typeVersion": 1
    },
    {
      "id": "3de33b35-63b5-419d-9719-b217c92767c6",
      "name": "一致するプロフィールのみ取得",
      "type": "n8n-nodes-base.filter",
      "position": [
        1460,
        -820
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "51a15ff2-457c-4a96-bfad-fe6d29a8cd9f",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.match }}",
              "rightValue": "true"
            }
          ]
        },
        "looseTypeValidation": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "b7e925b1-3b67-4b17-bcc1-10111ed41c32",
      "name": "1プロフィールに制限",
      "type": "n8n-nodes-base.limit",
      "position": [
        1740,
        -820
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d4a6a867-6e9b-48d3-9ba2-0d9d2e803e67",
      "name": "解析結果を抽出",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        2340,
        -1120
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "message.content.results"
      },
      "typeVersion": 1
    },
    {
      "id": "daf17e0e-0fc9-45e4-9393-8ba3a60f868e",
      "name": "LinkedInプロフィールは見つかりましたか?",
      "type": "n8n-nodes-base.if",
      "position": [
        1960,
        -820
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "645d85d3-c5cc-4e51-a989-075c0a851449",
              "operator": {
                "type": "object",
                "operation": "exists",
                "singleValue": true
              },
              "leftValue": "={{ $json }}",
              "rightValue": 1
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "300da9f8-6c24-4081-af96-ae09a1b513f8",
      "name": "URL LinkedInを編集",
      "type": "n8n-nodes-base.set",
      "position": [
        940,
        -1120
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "6b95685b-3286-4643-bfa1-6335d3f8cb39",
              "name": "google_search",
              "type": "string",
              "value": "=https://www.google.com/search?q=site%3Alinkedin.com%2Fin+{{ encodeURIComponent($json[\"Person Fullname\"].trim() + \" \" + $json[\"Person's company\"].trim()) }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "3ffaef02-ee98-4663-9a64-37907943427d",
      "name": "企業検索を編集",
      "type": "n8n-nodes-base.set",
      "position": [
        300,
        -860
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "6b95685b-3286-4643-bfa1-6335d3f8cb39",
              "name": "google_search",
              "type": "string",
              "value": "=https://www.google.com/search?q={{ encodeURIComponent($json[\"Person's company\"].trim()) }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "29294eaa-4692-4c1b-806a-11bd32428fdd",
      "name": "ウェブサイトから本文とタイトルを抽出1",
      "type": "n8n-nodes-base.html",
      "position": [
        860,
        -860
      ],
      "parameters": {
        "options": {
          "trimValues": true
        },
        "operation": "extractHtmlContent",
        "dataPropertyName": "body",
        "extractionValues": {
          "values": [
            {
              "key": "title",
              "cssSelector": "title"
            },
            {
              "key": "body",
              "cssSelector": "body"
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "e5232b69-eefe-4875-b339-54f7d2787863",
      "name": "Googleで企業を取得",
      "type": "n8n-nodes-brightdata.brightData",
      "position": [
        540,
        -860
      ],
      "parameters": {
        "url": "={{ $json.google_search }}",
        "zone": {
          "__rl": true,
          "mode": "list",
          "value": "web_unlocker1",
          "cachedResultName": "web_unlocker1"
        },
        "format": "json",
        "country": {
          "__rl": true,
          "mode": "list",
          "value": "us",
          "cachedResultName": "us"
        },
        "requestOptions": {}
      },
      "credentials": {
        "brightdataApi": {
          "id": "jk945kIuAFAo9bcg",
          "name": "BrightData account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "a8696ab3-76f0-4b58-93d6-1b73f4c1d83a",
      "name": "企業用にGoogle結果を解析",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        720,
        -420
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini",
          "cachedResultName": "GPT-4O-MINI"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "role": "system",
              "content": "=Get first entry matching company {{ $('When User Completes Form').item.json[\"Person's company\"] }}\n\nOutput first entry data in a content property"
            },
            {
              "content": "=The input text is:\n{{ $json.body }}"
            },
            {
              "content": "=Categories to filter: {{ $('When User Completes Form').item.json.Category.join(',') }}"
            }
          ]
        },
        "jsonOutput": true
      },
      "credentials": {
        "openAiApi": {
          "id": "oKzfvOwieOm4upQ2",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "4b4a6ef2-92ae-4dee-aac1-081fb1a2dbd9",
      "name": "分割",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1080,
        -420
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "message.content"
      },
      "typeVersion": 1
    },
    {
      "id": "cbf625d0-097d-47e7-8ab0-fb2da9dc3f7c",
      "name": "企業と人物のフォローアップを作成",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1500,
        -440
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini",
          "cachedResultName": "GPT-4O-MINI"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "role": "system",
              "content": "=Use data to analyze as a buyer persona. Find the best approach to connect for future champion in his company. Give recommendations and a concrete outreach steps.\n\nOutput report as raw html in a propety called content. Use tailwind for styles."
            },
            {
              "content": "=The input text is:\n{{ JSON.stringify($json)}}"
            }
          ]
        },
        "jsonOutput": true
      },
      "credentials": {
        "openAiApi": {
          "id": "oKzfvOwieOm4upQ2",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "6347e20c-b3f0-42ff-bc31-ddf4d13a4398",
      "name": "結合",
      "type": "n8n-nodes-base.merge",
      "position": [
        1320,
        -440
      ],
      "parameters": {
        "mode": "combine",
        "options": {},
        "combineBy": "combineByPosition"
      },
      "typeVersion": 3.1
    },
    {
      "id": "4df0fb38-dad4-4eda-876c-591111e98807",
      "name": "メールを送信",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1880,
        -440
      ],
      "webhookId": "1e6e9588-2bc6-4f05-8531-2d7ca8348d0c",
      "parameters": {
        "html": "={{ $json.message.content.content }}",
        "options": {},
        "subject": "Next followup",
        "toEmail": "miquel@n8nhackers.com",
        "fromEmail": "miquel@n8nhackers.com"
      },
      "credentials": {
        "smtp": {
          "id": "z3kiLWNZTH4wQaGy",
          "name": "SMTP account"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "5d28cc94-3193-48e6-9bad-f15baf403645",
      "name": "フォームメール送信済み",
      "type": "n8n-nodes-base.form",
      "position": [
        2120,
        -440
      ],
      "webhookId": "a509f577-231f-435f-b3c2-0fed718f0cc8",
      "parameters": {
        "options": {},
        "operation": "completion",
        "completionTitle": "Thank you!",
        "completionMessage": "We have sent you an email"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ea9dab20-4b74-45d0-9bf9-b0c1a884fe81",
  "connections": {
    "6347e20c-b3f0-42ff-bc31-ddf4d13a4398": {
      "main": [
        [
          {
            "node": "cbf625d0-097d-47e7-8ab0-fb2da9dc3f7c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4b4a6ef2-92ae-4dee-aac1-081fb1a2dbd9": {
      "main": [
        [
          {
            "node": "6347e20c-b3f0-42ff-bc31-ddf4d13a4398",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "4df0fb38-dad4-4eda-876c-591111e98807": {
      "main": [
        [
          {
            "node": "5d28cc94-3193-48e6-9bad-f15baf403645",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "300da9f8-6c24-4081-af96-ae09a1b513f8": {
      "main": [
        [
          {
            "node": "644fab8f-66c6-4ae5-984b-7e1e66c265a2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b7e925b1-3b67-4b17-bcc1-10111ed41c32": {
      "main": [
        [
          {
            "node": "daf17e0e-0fc9-45e4-9393-8ba3a60f868e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3ffaef02-ee98-4663-9a64-37907943427d": {
      "main": [
        [
          {
            "node": "e5232b69-eefe-4875-b339-54f7d2787863",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e226ea33-a643-4396-9cbf-53901eeef89f": {
      "main": [
        [
          {
            "node": "d4a6a867-6e9b-48d3-9ba2-0d9d2e803e67",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e5232b69-eefe-4875-b339-54f7d2787863": {
      "main": [
        [
          {
            "node": "29294eaa-4692-4c1b-806a-11bd32428fdd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d4a6a867-6e9b-48d3-9ba2-0d9d2e803e67": {
      "main": [
        [
          {
            "node": "3de33b35-63b5-419d-9719-b217c92767c6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4da21d9c-59d2-4151-a1ca-5e7a85cf0316": {
      "main": [
        [
          {
            "node": "300da9f8-6c24-4081-af96-ae09a1b513f8",
            "type": "main",
            "index": 0
          },
          {
            "node": "3ffaef02-ee98-4663-9a64-37907943427d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3de33b35-63b5-419d-9719-b217c92767c6": {
      "main": [
        [
          {
            "node": "b7e925b1-3b67-4b17-bcc1-10111ed41c32",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "daf17e0e-0fc9-45e4-9393-8ba3a60f868e": {
      "main": [
        [
          {
            "node": "6347e20c-b3f0-42ff-bc31-ddf4d13a4398",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "8018f6c1-037b-4577-ae4c-d2129fe2ecf4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "644fab8f-66c6-4ae5-984b-7e1e66c265a2": {
      "main": [
        [
          {
            "node": "ff6d4985-8b42-46d8-95c8-e80ff102440c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a8696ab3-76f0-4b58-93d6-1b73f4c1d83a": {
      "main": [
        [
          {
            "node": "4b4a6ef2-92ae-4dee-aac1-081fb1a2dbd9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ff6d4985-8b42-46d8-95c8-e80ff102440c": {
      "main": [
        [
          {
            "node": "e226ea33-a643-4396-9cbf-53901eeef89f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "29294eaa-4692-4c1b-806a-11bd32428fdd": {
      "main": [
        [
          {
            "node": "a8696ab3-76f0-4b58-93d6-1b73f4c1d83a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "cbf625d0-097d-47e7-8ab0-fb2da9dc3f7c": {
      "main": [
        [
          {
            "node": "4df0fb38-dad4-4eda-876c-591111e98807",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

上級 - 人事, 人工知能

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
上級
ノード数19
カテゴリー2
ノードタイプ12
難易度説明

上級者向け、16ノード以上の複雑なワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34