8
n8n 한국어amn8n.com

AI 연락처 정보 보강

중급

이것은자동화 워크플로우로, 9개의 노드를 포함합니다.주로 Code, Webhook, Supabase, HttpRequest 등의 노드를 사용하며. OpenAI/Anthropic과 Supabase를 활용한 AI 기반 연락처 지능화 및 정보 보강

사전 요구사항
  • 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": "웹훅 트리거",
      "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)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
중급
노드 수9
카테고리-
노드 유형5
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
Shelly-Ann Davy

Shelly-Ann Davy

@SheCodesFlow

Founder 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에서 보기

이 워크플로우 공유

카테고리

카테고리: 34