AI 連絡先情報の充実
中級
これは自動化ワークフローで、9個のノードを含みます。主にCode, Webhook, Supabase, HttpRequestなどのノードを使用。 AIを活用した連絡先のインテリジェントな充実化。OpenAI/AnthropicとSupabaseを使用
前提条件
- •HTTP Webhookエンドポイント(n8nが自動生成)
- •Supabase URL と API Key
- •ターゲットAPIの認証情報が必要な場合あり
カテゴリー
-
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"name": "AI Contact Enrichment",
"tags": [
{
"id": "customer-support",
"name": "customer-support",
"createdAt": "2025-01-14T00:00:00.000Z",
"updatedAt": "2025-01-14T00:00:00.000Z"
},
{
"id": "ai-automation",
"name": "ai-automation",
"createdAt": "2025-01-14T00:00:00.000Z",
"updatedAt": "2025-01-14T00:00:00.000Z"
}
],
"nodes": [
{
"id": "webhook-trigger",
"name": "Webhook トリガー",
"type": "n8n-nodes-base.webhook",
"position": [
250,
300
],
"webhookId": "contact-enrichment-webhook",
"parameters": {
"path": "contact-enrichment",
"options": {}
},
"typeVersion": 1
},
{
"id": "process-data",
"name": "データ処理",
"type": "n8n-nodes-base.code",
"position": [
450,
300
],
"parameters": {
"functionCode": "// Extract and process data\nconst data = {\n id: Date.now().toString(),\n ...$input.item.json,\n timestamp: new Date().toISOString()\n};\nreturn { json: data };"
},
"typeVersion": 2
},
{
"id": "prepare-ai",
"name": "AIリクエスト準備",
"type": "n8n-nodes-base.code",
"position": [
650,
300
],
"parameters": {
"functionCode": "// AI Configuration\nconst aiConfig = {\n provider: $env.AI_PROVIDER || 'openai',\n apiKey: $env.AI_API_KEY,\n model: $env.AI_MODEL || 'gpt-3.5-turbo',\n endpoint: $env.AI_ENDPOINT\n};\nreturn { json: { aiConfig, data: $json } };"
},
"typeVersion": 2
},
{
"id": "call-ai",
"name": "AI呼び出し API",
"type": "n8n-nodes-base.httpRequest",
"position": [
850,
300
],
"parameters": {
"url": "={{$json.aiConfig.provider === 'openai' ? 'https://api.openai.com/v1/chat/completions' : $json.aiConfig.endpoint}}",
"method": "POST",
"sendBody": true,
"sendHeaders": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "model",
"value": "={{$json.aiConfig.model}}"
},
{
"name": "messages",
"value": "={{JSON.stringify([{role: 'user', content: JSON.stringify($json.data)}])}}"
}
]
},
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "=Bearer {{$json.aiConfig.apiKey}}"
}
]
}
},
"typeVersion": 4
},
{
"id": "save-to-db",
"name": "Supabase へ保存",
"type": "n8n-nodes-base.supabase",
"position": [
1050,
300
],
"parameters": {
"table": "workflow_logs",
"values": "=AI Contact Enrichment,={{JSON.stringify($json)}},={{JSON.stringify($json)}},={{new Date().toISOString()}}",
"columns": "workflow_name,data,ai_response,created_at",
"operation": "insert"
},
"credentials": {
"supabaseApi": {
"id": "supabase-credentials",
"name": "Supabase API"
}
},
"typeVersion": 1
},
{
"id": "format-response",
"name": "レスポンス整形",
"type": "n8n-nodes-base.code",
"position": [
1250,
300
],
"parameters": {
"functionCode": "return { json: { success: true, workflow: 'AI Contact Enrichment', timestamp: new Date().toISOString() } };"
},
"typeVersion": 2
},
{
"id": "sticky-overview",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
240,
60
],
"parameters": {
"width": 380,
"height": 380,
"content": "## 🔍 AI Contact Enrichment Workflow\n\n**Purpose:** Automatically enhance contact data with AI-powered insights including job roles, company details, and persona analysis.\n\n**Key Features:**\n✅ Universal AI provider support (OpenAI, Anthropic, etc.)\n✅ Enrich partial contact data\n✅ Generate buyer personas\n✅ Automatic data logging to Supabase\n✅ Perfect for sales & marketing teams"
},
"typeVersion": 1
},
{
"id": "sticky-setup",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
640,
60
],
"parameters": {
"width": 360,
"height": 380,
"content": "## 📋 Setup Required\n\n**Environment Variables:**\n• AI_PROVIDER (openai/anthropic/etc.)\n• AI_API_KEY\n• AI_MODEL (gpt-3.5-turbo/gpt-4)\n• AI_ENDPOINT (for custom providers)\n\n**Credentials:**\n• Supabase API credentials\n\n**Database:**\n• Table: workflow_logs\n• Columns: workflow_name, data, ai_response, created_at"
},
"typeVersion": 1
},
{
"id": "sticky-flow",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1040,
60
],
"parameters": {
"width": 340,
"height": 300,
"content": "## 🔄 Workflow Flow\n\n1️⃣ Webhook receives contact data\n2️⃣ Data is processed and timestamped\n3️⃣ AI configuration prepared from env vars\n4️⃣ AI enriches contact with insights\n5️⃣ Enriched data logged to Supabase\n6️⃣ Success response returned\n\n**Output:** Enhanced contact profile with insights"
},
"typeVersion": 1
}
],
"settings": {
"executionOrder": "v1"
},
"updatedAt": "2025-01-14T00:00:00.000Z",
"versionId": "1",
"staticData": null,
"connections": {
"call-ai": {
"main": [
[
{
"node": "save-to-db",
"type": "main",
"index": 0
}
]
]
},
"process-data": {
"main": [
[
{
"node": "prepare-ai",
"type": "main",
"index": 0
}
]
]
},
"webhook-trigger": {
"main": [
[
{
"node": "process-data",
"type": "main",
"index": 0
}
]
]
},
"save-to-db": {
"main": [
[
{
"node": "format-response",
"type": "main",
"index": 0
}
]
]
},
"prepare-ai": {
"main": [
[
{
"node": "call-ai",
"type": "main",
"index": 0
}
]
]
}
},
"triggerCount": 1
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
企业Redditスマート参与平台
基于AIのReddit潜在顧客生成与社区管理,具备高级评分功能
If
Code
Wait
+
If
Code
Wait
52 ノードShelly-Ann Davy
Notionから自動で顧客育成メールと評価収集を実行
Telegramを使ってGoogleカレンダーとNotion CRMによる会議スケジュールの自動化
If
Set
Code
+
If
Set
Code
19 ノードShelly-Ann Davy
サポートチャットボット
AIを使った求人情報の自動検索
Google Jobs、RemoteOK、GPT-3.5 を使ってAIの求人情報に基づく自動求人検索を行い、AI採用情報に基づく自動求人検索とAI対応の求人情報を提供
If
Set
Code
+
If
Set
Code
17 ノードShelly-Ann Davy
個人の生産性
顧客育成メールの自動化と Notion からの顧客評価収集
WhatsApp、GPT-4V、Google Sheets を活用して領収データを抽出・整理
If
Code
Notion
+
If
Code
Notion
18 ノードShelly-Ann Davy
請求書処理
自動エラー報告:GitHub Issues → AI分析 → Jira チケット、Slack と Discord での通知付き
GPT-4o 分析やチーム リマインダーを含む、GitHub と Jira のエラー同期
If
Code
Jira
+
If
Code
Jira
22 ノードShelly-Ann Davy
コンテンツ作成
保険ニュースアグリゲーションとキーワード分析
Supabaseを用いた保険ニュース集約、キーワード分析、ダブルデータベースストレージ
If
Code
Wait
+
If
Code
Wait
16 ノードShelly-Ann Davy
ワークフロー情報
難易度
中級
ノード数9
カテゴリー-
ノードタイプ5
作成者
Shelly-Ann Davy
@SheCodesFlowFounder of The Workflow Muse & @SheCodesFlow. I craft elegant, task-focused automations for creators, founders, and soft-tech enthusiasts. “Automate with grace. Scale with power.”
外部リンク
n8n.ioで表示 →
このワークフローを共有