AIリードスコアリングとルーティング(Google Gemini、Sheets、Slack通知)
中級
これはContent Creation, Multimodal AI分野の自動化ワークフローで、13個のノードを含みます。主にSet, Merge, Slack, Webhook, GoogleSheetsなどのノードを使用。 AIリードスコアリングとルーティング(Google Gemini、Sheets、Slack通知)
前提条件
- •Slack Bot Token または Webhook URL
- •HTTP Webhookエンドポイント(n8nが自動生成)
- •Google Sheets API認証情報
- •Google Gemini API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"meta": {
"instanceId": "0a25db4fd0692af64b58f35e01611f2ef0b5bb9d6654c57ef3741021e7d8cc11",
"templateId": "4322",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "e74de2ca-d3e1-499b-893c-972bb6bd9ad0",
"name": "Google Gemini チャットモデル",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
1424,
736
],
"parameters": {
"options": {}
},
"credentials": {
"googlePalmApi": {
"id": "MOufOXyoLNgKIzCu",
"name": "Google Gemini(PaLM) Api account 2"
}
},
"typeVersion": 1
},
{
"id": "01b4b86b-8798-405e-93c9-5881f3d27d20",
"name": "新規リードを受信",
"type": "n8n-nodes-base.webhook",
"position": [
896,
480
],
"webhookId": "20426827-714d-4a48-ab87-4a3216665bde",
"parameters": {
"path": "lead-webhook",
"options": {},
"httpMethod": "POST"
},
"typeVersion": 2
},
{
"id": "b4007cc1-6332-42d3-a7d1-12db9bc35fec",
"name": "リードデータを準備",
"type": "n8n-nodes-base.set",
"position": [
1120,
480
],
"parameters": {
"options": {}
},
"typeVersion": 3.4
},
{
"id": "d274436b-f5f6-4c13-948d-f1e2f822e85c",
"name": "感情を分類 (Gemini またはその他のAIモデル)",
"type": "@n8n/n8n-nodes-langchain.sentimentAnalysis",
"position": [
1344,
480
],
"parameters": {
"options": {},
"inputText": "={{$json[\"message\"] || $json[\"mensagem\"] || $json[\"resposta\"]}}\n"
},
"typeVersion": 1
},
{
"id": "20839991-6176-4485-98fe-1d188ac552f1",
"name": "リードデータを結合",
"type": "n8n-nodes-base.merge",
"position": [
1920,
464
],
"parameters": {
"numberInputs": 3
},
"typeVersion": 3.1
},
{
"id": "31b9506f-0537-4b58-9c51-fbdfcf05a3f0",
"name": "メッセージを送信",
"type": "n8n-nodes-base.slack",
"position": [
2144,
480
],
"webhookId": "17d27255-fdc2-4b45-ab04-b35b00fabc99",
"parameters": {
"text": "wefwe",
"select": "channel",
"channelId": {
"__rl": true,
"mode": "list",
"value": "C09BP1AGRT9",
"cachedResultName": "alle-in-meakcodes"
},
"otherOptions": {},
"authentication": "oAuth2"
},
"credentials": {
"slackOAuth2Api": {
"id": "BFRW6GiYcJw58eeZ",
"name": "Slack account"
}
},
"typeVersion": 2.3
},
{
"id": "52a61391-f621-484a-b395-e72bffed9654",
"name": "ニュートラルリードを保存",
"type": "n8n-nodes-base.googleSheets",
"position": [
1696,
480
],
"parameters": {
"columns": {
"value": {},
"schema": [
{
"id": "Full Name",
"type": "string",
"display": true,
"required": false,
"displayName": "Full Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "First Name",
"type": "string",
"display": true,
"required": false,
"displayName": "First Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Last Name",
"type": "string",
"display": true,
"required": false,
"displayName": "Last Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Email ",
"type": "string",
"display": true,
"required": false,
"displayName": "Email ",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Phone",
"type": "string",
"display": true,
"required": false,
"displayName": "Phone",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Submitted",
"type": "string",
"display": true,
"required": false,
"displayName": "Submitted",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "appendOrUpdate",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1EAA7t2lal9462X_CHmfZQ7LbAVsbrrkpGN1hpDI0p8o/edit#gid=0",
"cachedResultName": "Tabellenblatt1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1EAA7t2lal9462X_CHmfZQ7LbAVsbrrkpGN1hpDI0p8o",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1EAA7t2lal9462X_CHmfZQ7LbAVsbrrkpGN1hpDI0p8o/edit?usp=drivesdk",
"cachedResultName": "Founders Academy Waitlist"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "cjPjcwa3RdiMAu79",
"name": "Google Sheets account"
}
},
"typeVersion": 4.7
},
{
"id": "4cae6f1b-e73f-4497-9ded-2cf241fb2dfd",
"name": "コールドリードを保存",
"type": "n8n-nodes-base.googleSheets",
"position": [
1696,
672
],
"parameters": {
"columns": {
"value": {},
"schema": [
{
"id": "Full Name",
"type": "string",
"display": true,
"required": false,
"displayName": "Full Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "First Name",
"type": "string",
"display": true,
"required": false,
"displayName": "First Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Last Name",
"type": "string",
"display": true,
"required": false,
"displayName": "Last Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Email ",
"type": "string",
"display": true,
"required": false,
"displayName": "Email ",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Phone",
"type": "string",
"display": true,
"required": false,
"displayName": "Phone",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Submitted",
"type": "string",
"display": true,
"required": false,
"displayName": "Submitted",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "appendOrUpdate",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1EAA7t2lal9462X_CHmfZQ7LbAVsbrrkpGN1hpDI0p8o/edit#gid=0",
"cachedResultName": "Tabellenblatt1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1EAA7t2lal9462X_CHmfZQ7LbAVsbrrkpGN1hpDI0p8o",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1EAA7t2lal9462X_CHmfZQ7LbAVsbrrkpGN1hpDI0p8o/edit?usp=drivesdk",
"cachedResultName": "Founders Academy Waitlist"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "cjPjcwa3RdiMAu79",
"name": "Google Sheets account"
}
},
"typeVersion": 4.7
},
{
"id": "8d4b6ad0-6ba4-48c2-9662-91bcdfbf7ded",
"name": "ホットリードを保存",
"type": "n8n-nodes-base.googleSheets",
"position": [
1696,
288
],
"parameters": {
"columns": {
"value": {},
"schema": [
{
"id": "Full Name",
"type": "string",
"display": true,
"required": false,
"displayName": "Full Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "First Name",
"type": "string",
"display": true,
"required": false,
"displayName": "First Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Last Name",
"type": "string",
"display": true,
"required": false,
"displayName": "Last Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Email ",
"type": "string",
"display": true,
"required": false,
"displayName": "Email ",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Phone",
"type": "string",
"display": true,
"required": false,
"displayName": "Phone",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Submitted",
"type": "string",
"display": true,
"required": false,
"displayName": "Submitted",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "appendOrUpdate",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1EAA7t2lal9462X_CHmfZQ7LbAVsbrrkpGN1hpDI0p8o/edit#gid=0",
"cachedResultName": "Tabellenblatt1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1EAA7t2lal9462X_CHmfZQ7LbAVsbrrkpGN1hpDI0p8o",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1EAA7t2lal9462X_CHmfZQ7LbAVsbrrkpGN1hpDI0p8o/edit?usp=drivesdk",
"cachedResultName": "Founders Academy Waitlist"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "cjPjcwa3RdiMAu79",
"name": "Google Sheets account"
}
},
"typeVersion": 4.7
},
{
"id": "23596639-84c4-438f-a820-1809957a6cdf",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
896,
192
],
"parameters": {
"color": 4,
"height": 256,
"content": "## STEP 1 · Intake (Webhook)\n**Receive New Lead (Typeform):** POST /lead-webhook\n**Prepare Lead Data:** clean/map fields you need (name, email, message, timestamp).\nTip: Ensure the Typeform payload keys match what you reference later."
},
"typeVersion": 1
},
{
"id": "b5c93a1c-55df-47d9-b9bc-b97831a331fa",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
1328,
176
],
"parameters": {
"color": 5,
"height": 272,
"content": "## STEP 2 · Sentiment Classification\n**Sentiment node** analyzes message text (fallbacks: message | mensagem | resposta).\n**Gemini model** (via LLM node) powers the classifier.\nOutput branches: Hot / Neutral / Cold (used for routing)."
},
"typeVersion": 1
},
{
"id": "c25b0dc7-9bf5-463c-bfb4-b03f5c24960d",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1632,
0
],
"parameters": {
"color": 6,
"height": 256,
"content": "## STEP 3 · Store by Segment (Sheets)\nEach branch writes to Google Sheets (appendOrUpdate).\nTip: Set **matchingColumns** (e.g., Email or Submitted) to avoid duplicates.\nIf no mapping is defined, enable auto-map or define column mapping explicitly."
},
"typeVersion": 1
},
{
"id": "34e7fb02-48d3-43ff-ab15-bab12a60f3ea",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1968,
176
],
"parameters": {
"color": 7,
"height": 256,
"content": "## STEP 4 · Combine & Notify\n**Merge (3 inputs)** recombines Hot/Neutral/Cold.\n**Slack message** posts to the channel.\nTip: Replace placeholder text with a formatted summary (name, sentiment, link to row)."
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"8d4b6ad0-6ba4-48c2-9662-91bcdfbf7ded": {
"main": [
[
{
"node": "20839991-6176-4485-98fe-1d188ac552f1",
"type": "main",
"index": 0
}
]
]
},
"4cae6f1b-e73f-4497-9ded-2cf241fb2dfd": {
"main": [
[
{
"node": "20839991-6176-4485-98fe-1d188ac552f1",
"type": "main",
"index": 2
}
]
]
},
"20839991-6176-4485-98fe-1d188ac552f1": {
"main": [
[
{
"node": "31b9506f-0537-4b58-9c51-fbdfcf05a3f0",
"type": "main",
"index": 0
}
]
]
},
"b4007cc1-6332-42d3-a7d1-12db9bc35fec": {
"main": [
[
{
"node": "d274436b-f5f6-4c13-948d-f1e2f822e85c",
"type": "main",
"index": 0
}
]
]
},
"52a61391-f621-484a-b395-e72bffed9654": {
"main": [
[
{
"node": "20839991-6176-4485-98fe-1d188ac552f1",
"type": "main",
"index": 1
}
]
]
},
"e74de2ca-d3e1-499b-893c-972bb6bd9ad0": {
"ai_languageModel": [
[
{
"node": "d274436b-f5f6-4c13-948d-f1e2f822e85c",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"01b4b86b-8798-405e-93c9-5881f3d27d20": {
"main": [
[
{
"node": "b4007cc1-6332-42d3-a7d1-12db9bc35fec",
"type": "main",
"index": 0
}
]
]
},
"d274436b-f5f6-4c13-948d-f1e2f822e85c": {
"main": [
[
{
"node": "8d4b6ad0-6ba4-48c2-9662-91bcdfbf7ded",
"type": "main",
"index": 0
}
],
[
{
"node": "52a61391-f621-484a-b395-e72bffed9654",
"type": "main",
"index": 0
}
],
[
{
"node": "4cae6f1b-e73f-4497-9ded-2cf241fb2dfd",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - コンテンツ作成, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
リード呼出を自動化:VAPI、Googleスheetsへの記録、カレンダー予約
リード呼出の自動化:VAPI、Googleスプレッドシートへの記録とカレンダー予約
Set
Code
Webhook
+
Set
Code
Webhook
13 ノードMeak
コンテンツ作成
自動リードフォローアップ:GPT-4o miniを使ったGmail、HubSpot、Slackの解析
自動化されたリードフォローアップ:GPT-4o miniを使用したGmail、HubSpot、Slackでの分析
If
Set
Code
+
If
Set
Code
14 ノードMeak
コンテンツ作成
ローカルなリード検索とコールドメール送信の自動化
Apify、AI、Gmail を使って地元のリードを自動検出してブルーノートを送信する
If
Set
Wait
+
If
Set
Wait
18 ノードMeak
コンテンツ作成
AIを活用したリードの資格評価とパーソナライズドアウトリーチ(Relevance AI使用)
AIを活用したリードの資格評価とパーソナライズドアウトリーチ:Relevance AIを使用
Set
Code
Gmail
+
Set
Code
Gmail
34 ノードDiptamoy Barman
コンテンツ作成
Groq、Gemini、Slack承認システムを使用してRSSからMediumへの公開を自動化
Groq、Gemini、Slack承認システムを用いたRSSからMediumへの自動公開プロセス
If
Set
Code
+
If
Set
Code
41 ノードObisDev
コンテンツ作成
詐欺防止型リードキャプチャ・育成千リードシステム
AIによるスコアリング、テーブル追跡、マルチチャネルアラートを使って詐欺対策リードをキャプチャーし育成
If
Set
Code
+
If
Set
Code
28 ノードJitesh Dugar
コンテンツ作成