TikTok のインフルエンサーを自動発見・分析してメールで通知
上級
これはAI, Marketing分野の自動化ワークフローで、22個のノードを含みます。主にCode, Wait, Gmail, Filter, FormTriggerなどのノードを使用、AI技術を活用したスマート自動化を実現。 Bright Data、Claude AI、メールマーケティングを使ってTikTokインフルエンサーの発見・分析
前提条件
- •Googleアカウント + Gmail API認証情報
- •ターゲットAPIの認証情報が必要な場合あり
- •Google Sheets API認証情報
- •Anthropic API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "GA1HTM4YyIidEJb3",
"meta": {
"instanceId": "bc8ca75c203589705ae2e446cad7181d6f2a7cc1766f958ef9f34810e53b8cb2",
"templateCredsSetupCompleted": true
},
"name": "Automated TikTok Influencer Discovery & Analysis via Bright Data and Anthropic AI and Send Email Notification",
"tags": [],
"nodes": [
{
"id": "cb75134b-4746-4715-87b4-c2bb596d4366",
"name": "Anthropic Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
"position": [
1460,
300
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "claude-sonnet-4-20250514",
"cachedResultName": "Claude 4 Sonnet"
},
"options": {}
},
"credentials": {
"anthropicApi": {
"id": "YOUR_ANTHROPIC_CREDENTIAL_ID",
"name": "Anthropic API Account"
}
},
"typeVersion": 1.3
},
{
"id": "aef0b016-6017-4b2a-8bcc-56e78b9a5cc1",
"name": "Code",
"type": "n8n-nodes-base.code",
"position": [
1680,
0
],
"parameters": {
"jsCode": "// N8N Code Node to extract data from AI output\nconst items = $input.all();\n\nreturn items.map(item => {\n try {\n // Get the output string from the item\n const outputString = item.json.output;\n \n // Extract JSON from the markdown code block\n const jsonMatch = outputString.match(/```json\\n([\\s\\S]*?)\\n```/);\n \n if (jsonMatch && jsonMatch[1]) {\n // Parse the extracted JSON\n const parsedData = JSON.parse(jsonMatch[1]);\n \n // Return the extracted data as separate columns\n return {\n json: {\n Collaboration: parsedData.Collaboration || '',\n Analysis: parsedData.Analysis || '',\n Profile_ID: parsedData['Profile ID'] || '',\n // Keep original data as well if needed\n original_output: outputString\n }\n };\n } else {\n // If no JSON found, return empty values\n return {\n json: {\n Collaboration: '',\n Analysis: '',\n Profile_ID: '',\n original_output: outputString,\n error: 'No JSON found in output'\n }\n };\n }\n } catch (error) {\n // Handle any parsing errors\n return {\n json: {\n Collaboration: '',\n Analysis: '',\n Profile_ID: '',\n original_output: item.json.output || '',\n error: `Parsing error: ${error.message}`\n }\n };\n }\n});"
},
"typeVersion": 2
},
{
"id": "51d9eee9-63c0-43a4-bb03-d94a1d9ceb2a",
"name": "Google Sheets1",
"type": "n8n-nodes-base.googleSheets",
"position": [
1980,
0
],
"parameters": {
"columns": {
"value": {
"Analysis": "={{ $json.Analysis }}",
"Profile ID": "={{ $json.Profile_ID }}",
"Collaboration": "={{ $json.Collaboration }}"
},
"schema": [
{
"id": "Profile ID",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Profile ID",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Username",
"type": "string",
"display": true,
"required": false,
"displayName": "Username",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "URL",
"type": "string",
"display": true,
"required": false,
"displayName": "URL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Description",
"type": "string",
"display": true,
"required": false,
"displayName": "Description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Followers",
"type": "string",
"display": true,
"required": false,
"displayName": "Followers",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Collaboration",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Collaboration",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Analysis",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Analysis",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"Profile ID"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "YOUR_GOOGLE_SHEET_URL",
"cachedResultName": "TikTok"
},
"documentId": {
"__rl": true,
"mode": "url",
"value": "YOUR_GOOGLE_SHEET_URL"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "YOUR_GOOGLE_SHEETS_CREDENTIAL_ID",
"name": "Google Sheets OAuth2 Account"
}
},
"typeVersion": 4.6
},
{
"id": "4db5fe1f-9038-4746-859b-7b38a2b3056d",
"name": "Filter",
"type": "n8n-nodes-base.filter",
"position": [
2240,
0
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "7c4c648b-a7df-41d6-bc6c-b6d05221f7bf",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.Collaboration }}",
"rightValue": "Highly Relevant"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "50db5760-83fe-4119-bb18-27d637acbee9",
"name": "Gmail",
"type": "n8n-nodes-base.gmail",
"position": [
2520,
0
],
"webhookId": "76506181-2a59-4275-9277-219134868750",
"parameters": {
"sendTo": "demo@example.com",
"message": "=Hi,\nI wanted to share some of the best TikTok creators perfectly matched to collaborate with your business. These influencers align closely with your brand and audience, helping you maximize your reach and impact.\nUsername: {{ $('Update Data in the Google Sheet').item.json.Username }}\nTikTok Profile: {{ $('Update Data in the Google Sheet').item.json.URL }}\nFollowers: {{ $('Update Data in the Google Sheet').item.json.Followers }}\n\nLet me know if you'd like more details or to explore specific collaboration opportunities.\n\nBest regards",
"options": {},
"subject": "Top TikTok Influencer Match for Your Business Collaboration",
"emailType": "text"
},
"credentials": {
"gmailOAuth2": {
"id": "YOUR_GMAIL_CREDENTIAL_ID",
"name": "Gmail OAuth2 Account"
}
},
"typeVersion": 2.1
},
{
"id": "a6067955-adf4-4926-8082-81459d5aff1d",
"name": "BrightDataによるキーワード経由のTikTokからのデータスクレイピング",
"type": "n8n-nodes-base.httpRequest",
"position": [
240,
0
],
"parameters": {
"url": "https://api.brightdata.com/datasets/v3/trigger",
"method": "POST",
"options": {},
"jsonBody": "={\n \"input\": [\n {\n \"search_keyword\": \"{{ $json['Search Keyword'] }}\",\n \"country\": \"\"\n }\n ],\n \"custom_output_fields\": [\n \"url\",\n \"description\",\n \"profile_id\",\n \"profile_username\",\n \"profile_url\",\n \"profile_followers\"\n ]\n}",
"sendBody": true,
"sendQuery": true,
"sendHeaders": true,
"specifyBody": "json",
"queryParameters": {
"parameters": [
{
"name": "dataset_id",
"value": "YOUR_BRIGHTDATA_DATASET_ID"
},
{
"name": "include_errors",
"value": "true"
},
{
"name": "type",
"value": "discover_new"
},
{
"name": "discover_by",
"value": "keyword"
},
{
"name": "limit_per_input",
"value": "5"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer YOUR_BRIGHTDATA_API_TOKEN"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "fbc8f8b2-5e63-4914-b4b8-a44fa5163cda",
"name": "3分間の待機時間",
"type": "n8n-nodes-base.wait",
"position": [
520,
0
],
"webhookId": "168ac9b9-ea3f-4aab-b8f1-a3ef6109c70e",
"parameters": {
"unit": "minutes",
"amount": 3
},
"typeVersion": 1.1
},
{
"id": "9ad6728c-2136-46bb-9ddf-0d445b28be22",
"name": "BrightDataが生成したスナップショットからのデータ抽出",
"type": "n8n-nodes-base.httpRequest",
"position": [
800,
0
],
"parameters": {
"url": "=https://api.brightdata.com/datasets/v3/snapshot/{{ $json.snapshot_id }}",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"queryParameters": {
"parameters": [
{
"name": "format",
"value": "json"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer YOUR_BRIGHTDATA_API_TOKEN"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "8e3577fb-1077-44d4-bada-ca9f5f2aa141",
"name": "Googleシートのデータ更新",
"type": "n8n-nodes-base.googleSheets",
"position": [
1040,
0
],
"parameters": {
"columns": {
"value": {
"URL": "={{ $json.profile_url }}",
"Username": "={{ $json.profile_username }}",
"Followers": "={{ $json.profile_followers }}",
"Profile ID": "={{ $json.profile_id }}",
"Description": "={{ $json.description }}"
},
"schema": [
{
"id": "Profile ID",
"type": "string",
"display": true,
"required": false,
"displayName": "Profile ID",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Username",
"type": "string",
"display": true,
"required": false,
"displayName": "Username",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "URL",
"type": "string",
"display": true,
"required": false,
"displayName": "URL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Description",
"type": "string",
"display": true,
"required": false,
"displayName": "Description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Followers",
"type": "string",
"display": true,
"required": false,
"displayName": "Followers",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Collaboration",
"type": "string",
"display": true,
"required": false,
"displayName": "Collaboration",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Analysis",
"type": "string",
"display": true,
"required": false,
"displayName": "Analysis",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "YOUR_GOOGLE_SHEET_URL",
"cachedResultName": "TikTok"
},
"documentId": {
"__rl": true,
"mode": "url",
"value": "YOUR_GOOGLE_SHEET_URL"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "YOUR_GOOGLE_SHEETS_CREDENTIAL_ID",
"name": "Google Sheets OAuth2 Account"
}
},
"typeVersion": 4.6
},
{
"id": "16bfd75e-fc30-4e6f-94f2-5e554d25cf64",
"name": "コラボレーターの発見",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1300,
0
],
"parameters": {
"text": "=Assume you are a social media expert and you find the best influencers based on the business and industry by analyzing the below data.\nHere are the Details of the Influencers.\nProfile URL: {{ $json.URL }}\nDescription: {{ $json.Description }}\nFollowers: {{ $json.Followers }}\nProfile ID: {{ $json['Profile ID'] }}\n\nMy Business Details:\nAbout my business: {{ $('Submit Form with Keyword, Business Info, Industry').item.json['About My Business'] }}\nIndustry: {{ $('Submit Form with Keyword, Business Info, Industry').item.json.Industry }}\n\nRequirements:\nFollowers should be more than 5000\nand Influencer should be in my industry.\nand Just Provide the Output according to below format\n\nFormat:\nOutput should be in Json\nCollaboration: Not Relevant, Highly Relevant\nAnalysis: Explain in 50 words\nProfile ID: Just add the Profile ID without any change\n",
"options": {},
"promptType": "define"
},
"typeVersion": 2
},
{
"id": "6d482ee5-fd98-4ed3-bfac-dc1ca014769f",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
-80
],
"parameters": {
"color": 2,
"width": 220,
"height": 260,
"content": "Triggers the workflow when user submits keyword, business info & industry via form."
},
"typeVersion": 1
},
{
"id": "2b3f2a04-cee9-4fae-8199-2c5cef6969cd",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
180,
-80
],
"parameters": {
"color": 3,
"height": 260,
"content": "Calls Bright Data API to fetch TikTok profiles by keyword."
},
"typeVersion": 1
},
{
"id": "3aed623a-1827-4641-96dc-d652332946e9",
"name": "キーワード、ビジネス情報、業種によるフォーム送信",
"type": "n8n-nodes-base.formTrigger",
"position": [
0,
0
],
"webhookId": "f1b746de-9cc3-4218-a9a0-45ff142f5bc7",
"parameters": {
"options": {},
"formTitle": "TikTok Profile Scraper",
"formFields": {
"values": [
{
"fieldLabel": "Search Keyword"
},
{
"fieldLabel": "About My Business"
},
{
"fieldLabel": "Industry"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "c8434c0a-5df9-43e6-924e-6078bbf13c3f",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
460,
-80
],
"parameters": {
"color": 4,
"height": 260,
"content": "Waits 3 minutes to allow Bright Data to complete scraping."
},
"typeVersion": 1
},
{
"id": "951080be-56e7-4616-a8f3-4bdf6e29be06",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
720,
-80
],
"parameters": {
"color": 5,
"height": 260,
"content": "Fetches snapshot data (scraped influencer profiles) from Bright Data."
},
"typeVersion": 1
},
{
"id": "2fe42472-7b93-41f3-b2d9-ddf6a1472c32",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
980,
-80
],
"parameters": {
"color": 6,
"height": 260,
"content": "Stores raw influencer data (ID, followers, description, etc.) in Google Sheets."
},
"typeVersion": 1
},
{
"id": "c6340b5e-bd02-469c-909c-5300430fcba8",
"name": "付箋5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1260,
-80
],
"parameters": {
"color": 2,
"width": 360,
"height": 260,
"content": "Uses Claude AI to evaluate each influencer's relevance to your business. Returns profile ID, relevance, and a 50-word analysis."
},
"typeVersion": 1
},
{
"id": "3c94de79-c64d-4d89-ad9d-387314d84d2b",
"name": "付箋6",
"type": "n8n-nodes-base.stickyNote",
"position": [
1380,
200
],
"parameters": {
"color": 6,
"height": 240,
"content": "Claude Sonnet 4 model that powers the influencer analysis."
},
"typeVersion": 1
},
{
"id": "eb61e536-d234-450c-94db-896d24757ad5",
"name": "付箋7",
"type": "n8n-nodes-base.stickyNote",
"position": [
1640,
-80
],
"parameters": {
"color": 4,
"height": 260,
"content": "Parses Claude AI's markdown output and extracts structured JSON fields for further use."
},
"typeVersion": 1
},
{
"id": "d08dd360-e26f-421a-bf1f-95976adce3a2",
"name": "付箋8",
"type": "n8n-nodes-base.stickyNote",
"position": [
1900,
-80
],
"parameters": {
"color": 3,
"width": 260,
"height": 260,
"content": "Logs Claude's insights (Profile ID, Collaboration status, Analysis) into Google Sheets."
},
"typeVersion": 1
},
{
"id": "02d41818-b12f-4b45-9e93-f3b7162cd6f6",
"name": "付箋9",
"type": "n8n-nodes-base.stickyNote",
"position": [
2180,
-80
],
"parameters": {
"height": 260,
"content": "Filters results to retain only Highly Relevant influencers for email outreach."
},
"typeVersion": 1
},
{
"id": "873b1c8a-fb26-40ca-9885-51c80eb1bd61",
"name": "付箋11",
"type": "n8n-nodes-base.stickyNote",
"position": [
2440,
-80
],
"parameters": {
"color": 5,
"width": 260,
"height": 260,
"content": "Sends personalized collaboration email to your target contact with top influencer information."
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "18042508-1631-4802-8863-d015a36bed62",
"connections": {
"aef0b016-6017-4b2a-8bcc-56e78b9a5cc1": {
"main": [
[
{
"node": "51d9eee9-63c0-43a4-bb03-d94a1d9ceb2a",
"type": "main",
"index": 0
}
]
]
},
"4db5fe1f-9038-4746-859b-7b38a2b3056d": {
"main": [
[
{
"node": "50db5760-83fe-4119-bb18-27d637acbee9",
"type": "main",
"index": 0
}
]
]
},
"51d9eee9-63c0-43a4-bb03-d94a1d9ceb2a": {
"main": [
[
{
"node": "4db5fe1f-9038-4746-859b-7b38a2b3056d",
"type": "main",
"index": 0
}
]
]
},
"fbc8f8b2-5e63-4914-b4b8-a44fa5163cda": {
"main": [
[
{
"node": "9ad6728c-2136-46bb-9ddf-0d445b28be22",
"type": "main",
"index": 0
}
]
]
},
"cb75134b-4746-4715-87b4-c2bb596d4366": {
"ai_languageModel": [
[
{
"node": "16bfd75e-fc30-4e6f-94f2-5e554d25cf64",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"16bfd75e-fc30-4e6f-94f2-5e554d25cf64": {
"main": [
[
{
"node": "aef0b016-6017-4b2a-8bcc-56e78b9a5cc1",
"type": "main",
"index": 0
}
]
]
},
"8e3577fb-1077-44d4-bada-ca9f5f2aa141": {
"main": [
[
{
"node": "16bfd75e-fc30-4e6f-94f2-5e554d25cf64",
"type": "main",
"index": 0
}
]
]
},
"3aed623a-1827-4641-96dc-d652332946e9": {
"main": [
[
{
"node": "a6067955-adf4-4926-8082-81459d5aff1d",
"type": "main",
"index": 0
}
]
]
},
"9ad6728c-2136-46bb-9ddf-0d445b28be22": {
"main": [
[
{
"node": "8e3577fb-1077-44d4-bada-ca9f5f2aa141",
"type": "main",
"index": 0
}
]
]
},
"a6067955-adf4-4926-8082-81459d5aff1d": {
"main": [
[
{
"node": "fbc8f8b2-5e63-4914-b4b8-a44fa5163cda",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級 - 人工知能, マーケティング
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
キーワードを使って X や他のソーシャルメディアプラットフォームに最新のニュースを投稿する
キーワードと Bright Data を使って AI によるコンテンツ生成と共に最新のニュースを X に自動投稿する
If
Code
Wait
+
If
Code
Wait
16 ノードDvir Sharon
デザイン
Google My Business リード抽出
Bright Dataを使用してGoogle My Businessからサービス別または場所別のリードを抽出
If
Code
Wait
+
If
Code
Wait
23 ノードDvir Sharon
営業
テスト動画短视频ジェネレーター
Sonnet 3.5、Pinecone、Creatomateを使用して、YouTubeへなぞなぞの動画ビデオを生成
If
Code
Wait
+
If
Code
Wait
32 ノードJoseph
その他
リード generationワークフロー:YelpおよびTrustpilotのクローリングにBrightDataを使用し、OpenAIで分析を実施
Yelp と Trustpilot からスクレイビング + AI 駆動のメールアウトレーチでリードを生成します
If
Code
Wait
+
If
Code
Wait
32 ノードIncrementors
営業
Meta広告ライブラリをスクレイピングし、Geminiで動画広告を分析し、データをGoogle Sheetsに保存
GeminiでMeta広告ライブラリの動画広告を分析し、結果をGoogle Sheetsに保存する
Set
Code
Sort
+
Set
Code
Sort
24 ノードDaniel Setzermann
人工知能
LinkedIn オートメーション - Archit Jain
GPT-4 と Google Sheets を使って Twitter AI 投稿から LinkedIn コンテンツを自動作成
Code
Wait
Limit
+
Code
Wait
Limit
35 ノードArchit Jain
人工知能