潜在のな顧客感情の分類子

中級

これはAI, Marketing分野の自動化ワークフローで、11個のノードを含みます。主にSet, Merge, Webhook, Supabase, WhatsAppなどのノードを使用、AI技術を活用したスマート自動化を実現。 Google Gemini を使用してリードの感情を分類し、Typeform と Supabase を使用して WhatsApp に返信を送信する

前提条件
  • HTTP Webhookエンドポイント(n8nが自動生成)
  • Supabase URL と API Key
  • Google Gemini API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "47132c409ea4cfc382a6c48656c8a35b5da4c1fa7ef892882b424c42ae8a05b2",
    "templateCredsSetupCompleted": true
  },
  "name": "Lead Sentiment Qualifier",
  "tags": [],
  "nodes": [
    {
      "id": "e74de2ca-d3e1-499b-893c-972bb6bd9ad0",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        760,
        580
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "01b4b86b-8798-405e-93c9-5881f3d27d20",
      "name": "新規潜在顧客受信 (Typeform)",
      "type": "n8n-nodes-base.webhook",
      "position": [
        340,
        360
      ],
      "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": [
        560,
        360
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3.4
    },
    {
      "id": "d274436b-f5f6-4c13-948d-f1e2f822e85c",
      "name": "感情分類 (Gemini または他のAIモデル)",
      "type": "@n8n/n8n-nodes-langchain.sentimentAnalysis",
      "position": [
        780,
        360
      ],
      "parameters": {
        "options": {},
        "inputText": "={{$json[\"message\"] || $json[\"mensagem\"] || $json[\"resposta\"]}}\n"
      },
      "typeVersion": 1
    },
    {
      "id": "1322317f-fbc6-4a9d-a764-f6dc68b7a02b",
      "name": "ホットリード保存",
      "type": "n8n-nodes-base.supabase",
      "position": [
        1156,
        160
      ],
      "parameters": {},
      "credentials": {
        "supabaseApi": {
          "id": "",
          "name": ""
        }
      },
      "typeVersion": 1
    },
    {
      "id": "856a57e9-4d21-4a7c-9dd4-90d5df595468",
      "name": "ニュートラルリード保存",
      "type": "n8n-nodes-base.supabase",
      "position": [
        1156,
        360
      ],
      "parameters": {},
      "credentials": {
        "supabaseApi": {
          "id": "",
          "name": ""
        }
      },
      "typeVersion": 1
    },
    {
      "id": "1d3ab942-66f3-4aff-a46e-7cc040e7f6db",
      "name": "コールドリード保存",
      "type": "n8n-nodes-base.supabase",
      "position": [
        1156,
        560
      ],
      "parameters": {},
      "credentials": {
        "supabaseApi": {
          "id": "",
          "name": ""
        }
      },
      "typeVersion": 1
    },
    {
      "id": "20839991-6176-4485-98fe-1d188ac552f1",
      "name": "潜在顧客データ結合",
      "type": "n8n-nodes-base.merge",
      "position": [
        1376,
        360
      ],
      "parameters": {
        "numberInputs": 3
      },
      "typeVersion": 3.1
    },
    {
      "id": "fa4ac251-30a5-4ab4-8bd3-54036b810648",
      "name": "WhatsApp メッセージ送信",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        1596,
        360
      ],
      "webhookId": "b18f6b54-22e1-4989-bbf8-301c1be7d566",
      "parameters": {
        "operation": "send",
        "additionalFields": {}
      },
      "typeVersion": 1
    },
    {
      "id": "1c49034d-c7fe-4f1f-acab-01a1efe0f474",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -220,
        140
      ],
      "parameters": {
        "width": 480,
        "height": 600,
        "content": "## Lead Sentiment Qualifier – Classify incoming leads using AI and reply via WhatsApp\n\n\nShort Description:\nAutomatically classify leads from a Typeform based on sentiment using Google Gemini. Store them in Supabase by category (hot, neutral, cold) and send personalized WhatsApp responses using the official WhatsApp Cloud API.\n\nFull Description:\nThis workflow helps you qualify leads instantly by analyzing the sentiment of their message.\n\nNew leads are captured through a Typeform webhook\n\nThe message is processed and analyzed using Google Gemini (sentiment classification: Positive, Neutral or Negative)\n\nDepending on the result, the lead is stored in Supabase under the appropriate label (hot, neutral, or cold)\n\nA personalized WhatsApp message is sent using the official WhatsApp Cloud API to confirm receipt and provide feedback\n\nIdeal for sales teams, onboarding funnels, and support flows that want to prioritize leads based on tone, urgency, or engagement level."
      },
      "typeVersion": 1
    },
    {
      "id": "e8d20736-9419-445e-ab25-dd63a7605cf2",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        680,
        720
      ],
      "parameters": {
        "content": "## Prompt sugestion \nClassify the sentiment of the message below as Positive, Neutral or Negative:\n\n\"{{$json[\"message\"]}}\"\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "",
  "connections": {
    "1322317f-fbc6-4a9d-a764-f6dc68b7a02b": {
      "main": [
        [
          {
            "node": "20839991-6176-4485-98fe-1d188ac552f1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1d3ab942-66f3-4aff-a46e-7cc040e7f6db": {
      "main": [
        [
          {
            "node": "20839991-6176-4485-98fe-1d188ac552f1",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "20839991-6176-4485-98fe-1d188ac552f1": {
      "main": [
        [
          {
            "node": "fa4ac251-30a5-4ab4-8bd3-54036b810648",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b4007cc1-6332-42d3-a7d1-12db9bc35fec": {
      "main": [
        [
          {
            "node": "d274436b-f5f6-4c13-948d-f1e2f822e85c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "856a57e9-4d21-4a7c-9dd4-90d5df595468": {
      "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": "1322317f-fbc6-4a9d-a764-f6dc68b7a02b",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "856a57e9-4d21-4a7c-9dd4-90d5df595468",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "1d3ab942-66f3-4aff-a46e-7cc040e7f6db",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

中級 - 人工知能, マーケティング

有料ですか?

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

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

経験者向け、6-15ノードの中程度の複雑さのワークフロー

作成者
Danielle Gomes

Danielle Gomes

@daniellegomes

Product Designer | n8n Automation | Practical AI Solutions I turn ideas into smart digital experiences focused on efficiency and personalization. Specialized in building solutions that combine design, n8n workflows, and AI to scale products, optimize processes, and maximize impact.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34