RAG、Gemini、Supabase、Google Docsを使ってナレッジベースWhatsAppアシスタントを構築

中級

これはContent Creation, Multimodal AI分野の自動化ワークフローで、15個のノードを含みます。主にIf, Code, Supabase, WhatsApp, Aggregateなどのノードを使用。 RAG、Gemini、Supabase、Google Docsを使って知識ベースWhatsAppアシスタントを構築

前提条件
  • Supabase URL と API Key
  • ターゲットAPIの認証情報が必要な場合あり
  • Google Gemini API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "93f396852104089b8670e7494b0f3668b420464668ae4a8c1d6b4b5799f8e3ef",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "4472f7d3-fca5-4d88-8afe-11a96316b761",
      "name": "WhatsAppトリガー",
      "type": "n8n-nodes-base.whatsAppTrigger",
      "position": [
        6048,
        -272
      ],
      "webhookId": "685f1ed2-ffac-460b-b2eb-b29891e539d4",
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 1
    },
    {
      "id": "e2af2f35-5830-4e18-a6fa-346e58dd067a",
      "name": "トレーニング用コンテンツ",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        4480,
        -240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9823dd18-7d53-49b1-a8f6-478877e9d753",
      "name": "チャンク分割",
      "type": "n8n-nodes-base.code",
      "position": [
        4704,
        -240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "02970a68-1fdd-4ca0-9346-6e2e25b87af0",
      "name": "アップロード文書の埋め込み",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4928,
        -240
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "676544e3-80a6-45c3-93a8-05ecd35b019a",
      "name": "埋め込みをDBに保存",
      "type": "n8n-nodes-base.supabase",
      "position": [
        5136,
        -240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a27230ed-40be-478e-b383-6c712d980db8",
      "name": "集約",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        6960,
        -256
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3c9c5b54-8ce7-48b2-a424-6f9bf5886e3a",
      "name": "埋め込み検索",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        6736,
        -256
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "7cfe3ce3-8687-4d81-a3c4-39efa4b5d6db",
      "name": "ユーザーメッセージの埋め込み",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        6512,
        -256
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a42c6b9e-2c39-433e-b065-e2a0ea479eb9",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3456,
        -432
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5241c4e5-c630-49a5-bda5-ae5dec630bab",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5456,
        -432
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c534b0d4-3be9-4e8b-866f-a8718814ca02",
      "name": "「ワークフロー実行」クリック時",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        4224,
        -240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a9bec279-7d7d-4a44-a221-e236ae1b7703",
      "name": "Google Geminiチャットモデル",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        7168,
        -32
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c07d0fb0-6752-4f1a-832b-7d01163e2293",
      "name": "メッセージ送信",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        7504,
        -256
      ],
      "webhookId": "2b88030b-0e59-4b3a-8a97-0d1c81695f5b",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "090a8f79-2808-476b-a730-caf2da72d31c",
      "name": "AIエージェント",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        7168,
        -256
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "719a5691-689d-44a8-855f-9eafb8aac9fd",
      "name": "条件分岐",
      "type": "n8n-nodes-base.if",
      "position": [
        6256,
        -272
      ],
      "parameters": {},
      "typeVersion": 2.2
    }
  ],
  "pinData": {},
  "connections": {
    "719a5691-689d-44a8-855f-9eafb8aac9fd": {
      "main": [
        [],
        [
          {
            "node": "7cfe3ce3-8687-4d81-a3c4-39efa4b5d6db",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "090a8f79-2808-476b-a730-caf2da72d31c": {
      "main": [
        [
          {
            "node": "c07d0fb0-6752-4f1a-832b-7d01163e2293",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a27230ed-40be-478e-b383-6c712d980db8": {
      "main": [
        [
          {
            "node": "090a8f79-2808-476b-a730-caf2da72d31c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4472f7d3-fca5-4d88-8afe-11a96316b761": {
      "main": [
        [
          {
            "node": "719a5691-689d-44a8-855f-9eafb8aac9fd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3c9c5b54-8ce7-48b2-a424-6f9bf5886e3a": {
      "main": [
        [
          {
            "node": "a27230ed-40be-478e-b383-6c712d980db8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7cfe3ce3-8687-4d81-a3c4-39efa4b5d6db": {
      "main": [
        [
          {
            "node": "3c9c5b54-8ce7-48b2-a424-6f9bf5886e3a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9823dd18-7d53-49b1-a8f6-478877e9d753": {
      "main": [
        [
          {
            "node": "02970a68-1fdd-4ca0-9346-6e2e25b87af0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e2af2f35-5830-4e18-a6fa-346e58dd067a": {
      "main": [
        [
          {
            "node": "9823dd18-7d53-49b1-a8f6-478877e9d753",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a9bec279-7d7d-4a44-a221-e236ae1b7703": {
      "ai_languageModel": [
        [
          {
            "node": "090a8f79-2808-476b-a730-caf2da72d31c",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "02970a68-1fdd-4ca0-9346-6e2e25b87af0": {
      "main": [
        [
          {
            "node": "676544e3-80a6-45c3-93a8-05ecd35b019a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c534b0d4-3be9-4e8b-866f-a8718814ca02": {
      "main": [
        [
          {
            "node": "e2af2f35-5830-4e18-a6fa-346e58dd067a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

中級 - コンテンツ作成, マルチモーダルAI

有料ですか?

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

関連ワークフロー

AI、JotForm、WhatsApp、カレンダーに基づく自動化された法律事務所のリード管理とスケジューリング
AI、JotForm、WhatsApp、およびカレンダーによる自動化された法律事務所リード管理とスケジューリング
If
Whats App
Google Sheets
+
If
Whats App
Google Sheets
16 ノードiamvaar
コンテンツ作成
コンテンツ集約
Gemini AIを使ってウェブ記事からLinkedInとX/Twitterへのソーシャルメディア投稿を自動化する
If
Set
Xml
+
If
Set
Xml
34 ノードVadim
コンテンツ作成
コンテンツジェネレーター v3
AI驱动ブログ自動化:使用GPT-4生成并公開SEO記事至WordPressとTwitter
If
Set
Code
+
If
Set
Code
144 ノードJay Emp0
コンテンツ作成
WordPressブログの自動化プロフェッショナル版(先端研究)v2.1マーケットプラグイン
GPT-4o、Perplexity AI、そして多言語対応を使ったSEO最適化ブログ作成の自動化
If
Set
Xml
+
If
Set
Xml
125 ノードDaniel Ng
コンテンツ作成
LinkedInおよびXウイルスのなコンテンツ自動エンジン
AIを使ってLinkedInとXにウイルスのなコンテンツを自動生成して公開する
If
Set
Wait
+
If
Set
Wait
156 ノードDiptamoy Barman
コンテンツ作成
Gemini AI、WhatsApp、Stripe、Google Sheets を活用した医師予約管理システム
Gemini AI、WhatsApp、Stripe、Google Sheetsを基にした医師予約管理システム
If
Whats App
Http Request
+
If
Whats App
Http Request
43 ノードGreatStack
コンテンツ作成
ワークフロー情報
難易度
中級
ノード数15
カテゴリー2
ノードタイプ12
難易度説明

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

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34