OpenAI、Qdrant、CraftMyPDFを使ってAI選定セールスクーポンを生成

中級

これはLead Nurturing, AI RAG分野の自動化ワークフローで、15個のノードを含みます。主にSet, Code, EmailSend, FormTrigger, HttpRequestなどのノードを使用。 OpenAI、Qdrant、CraftMyPDF PDF配送でAI精选販売見積もりを生成する

前提条件
  • ターゲットAPIの認証情報が必要な場合あり
  • OpenAI API Key
  • Qdrantサーバー接続情報
  • Google Gemini API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "783d2046f405cc6ecb20ef185376ed1023323a3da628b9d8156b1fb75c75e037"
  },
  "nodes": [
    {
      "id": "6024e2ec-0a2d-4e0a-9e90-9c20da7bf6c1",
      "name": "付箋ノート",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3c4cf768-02eb-4a2f-830d-389581d94476",
      "name": "付箋ノート1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        480
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e360e245-7dfb-4b50-b8ab-9929ba1b53f6",
      "name": "付箋ノート2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        480
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "58eba77d-a3f2-47c4-98be-c2947c4506c1",
      "name": "フォーム: 見積り依頼",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        32,
        288
      ],
      "webhookId": "FORM-QUOTE-ID",
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "51f3b457-56fb-41dd-921c-89f3c87e4e07",
      "name": "設定: エージェントコンテキスト準備",
      "type": "n8n-nodes-base.set",
      "position": [
        416,
        288
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "84cd898b-994e-4258-a511-c0a524701832",
      "name": "OpenAI チャットモデル (エージェント)",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        704,
        496
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "217a67b4-cc63-46cd-be00-d9ce8331b76a",
      "name": "セールス見積りエージェント",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        784,
        288
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "7596c355-4174-48bb-b612-af217a99f699",
      "name": "Qdrant ベクトルストア (製品)",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        816,
        672
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e1f3367a-7b76-43a2-9fb8-becec399dd6d",
      "name": "Embeddings OpenAI (製品)",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        816,
        816
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "0c4ee604-6b4d-4468-9ff0-7865b6581422",
      "name": "PRODUCTS_QDRANT",
      "type": "@n8n/n8n-nodes-langchain.toolVectorStore",
      "position": [
        976,
        496
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8ab0eaf6-6fac-406e-a030-f83fdead366b",
      "name": "コード: CraftMyPDF用マッピング",
      "type": "n8n-nodes-base.code",
      "position": [
        1280,
        288
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "5035d222-3685-4b71-aa62-8f73e888ac75",
      "name": "PDF作成",
      "type": "n8n-nodes-craftmypdf.craftMyPdf",
      "position": [
        1584,
        288
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c145f87f-38d0-4178-a180-4b94bdfdc1a4",
      "name": "PDFファイル取得",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1856,
        288
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "71a385b1-ddd2-4ee3-92cb-3b03a1b4ca6a",
      "name": "メール: 見積書送信",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        2096,
        288
      ],
      "webhookId": "8934d5d2-fe1f-4b79-9445-c794acf61d3d",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "433c3e34-d5b0-4429-9bb9-98f4884ebab4",
      "name": "Google Gemini チャットモデル",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1120,
        688
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "5035d222-3685-4b71-aa62-8f73e888ac75": {
      "main": [
        [
          {
            "node": "c145f87f-38d0-4178-a180-4b94bdfdc1a4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c145f87f-38d0-4178-a180-4b94bdfdc1a4": {
      "main": [
        [
          {
            "node": "71a385b1-ddd2-4ee3-92cb-3b03a1b4ca6a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0c4ee604-6b4d-4468-9ff0-7865b6581422": {
      "ai_tool": [
        [
          {
            "node": "217a67b4-cc63-46cd-be00-d9ce8331b76a",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "217a67b4-cc63-46cd-be00-d9ce8331b76a": {
      "main": [
        [
          {
            "node": "8ab0eaf6-6fac-406e-a030-f83fdead366b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "58eba77d-a3f2-47c4-98be-c2947c4506c1": {
      "main": [
        [
          {
            "node": "51f3b457-56fb-41dd-921c-89f3c87e4e07",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8ab0eaf6-6fac-406e-a030-f83fdead366b": {
      "main": [
        [
          {
            "node": "5035d222-3685-4b71-aa62-8f73e888ac75",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "433c3e34-d5b0-4429-9bb9-98f4884ebab4": {
      "ai_languageModel": [
        [
          {
            "node": "0c4ee604-6b4d-4468-9ff0-7865b6581422",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "84cd898b-994e-4258-a511-c0a524701832": {
      "ai_languageModel": [
        [
          {
            "node": "217a67b4-cc63-46cd-be00-d9ce8331b76a",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "51f3b457-56fb-41dd-921c-89f3c87e4e07": {
      "main": [
        [
          {
            "node": "217a67b4-cc63-46cd-be00-d9ce8331b76a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e1f3367a-7b76-43a2-9fb8-becec399dd6d": {
      "ai_embedding": [
        [
          {
            "node": "7596c355-4174-48bb-b612-af217a99f699",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "7596c355-4174-48bb-b612-af217a99f699": {
      "ai_vectorStore": [
        [
          {
            "node": "0c4ee604-6b4d-4468-9ff0-7865b6581422",
            "type": "ai_vectorStore",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

中級 - リードナーチャリング, AI RAG検索拡張

有料ですか?

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

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

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

作成者
Cong Nguyen

Cong Nguyen

@cong-nguyen

I’m a developer specialized in building web and mobile applications with AI integration and intelligent automation. With a solid background in data science, I help businesses build smarter digital solutions using cutting-edge technologies.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34