Gmail カスタマーサービス自動返信システム(Ollama LLM+Pinecone RAG)
これはSupport, AI分野の自動化ワークフローで、11個のノードを含みます。主にGmail, GmailTrigger, Agent, LmOllama, LmChatOllamaなどのノードを使用、AI技術を活用したスマート自動化を実現。 Gmailカスタマーサポート自動返信システム(Ollama LLM+Pinecone RAG)
- •Googleアカウント + Gmail API認証情報
- •Pinecone API Key
使用ノード (11)
{
"meta": {
"instanceId": "473ff4054f1a6c3ed6f17a2b4a2e55676fe5b921cceb87b2256e6c416c158559",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "fcc4f02d-1e29-4079-97ba-c5d79120b3bc",
"name": "付箋ノート",
"type": "n8n-nodes-base.stickyNote",
"position": [
-240,
80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "6cdc9627-679f-4450-a16f-6ae1b90b92c0",
"name": "Gmailトリガー",
"type": "n8n-nodes-base.gmailTrigger",
"position": [
-180,
200
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "be28ff9c-da0b-47e4-bf1b-c0dd7db660cc",
"name": "テキスト分類器",
"type": "@n8n/n8n-nodes-langchain.textClassifier",
"position": [
40,
200
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3b9d2f14-730a-48c7-a211-8fa64e9dc869",
"name": "AIエージェント",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
280,
380
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "3145c4bd-e7a0-4da0-ba24-221de1796a77",
"name": "Pinecone Vector Store",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
620,
400
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "8c68df50-e781-4605-9ef7-0cd14e33530a",
"name": "ラベル",
"type": "n8n-nodes-base.gmail",
"position": [
580,
200
],
"webhookId": "c0c7c2b3-31f9-4cd1-8216-b5862601ddc7",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "4730d2dc-97c7-49a6-a75b-1cdb458277fb",
"name": "送信",
"type": "n8n-nodes-base.gmail",
"position": [
780,
200
],
"webhookId": "63fe17a2-3eca-4444-9cea-34b80b57ee49",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "f51d6efd-d426-470b-994a-e8d33aa4325d",
"name": "Ollamaモデル",
"type": "@n8n/n8n-nodes-langchain.lmOllama",
"position": [
100,
380
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9c1f601b-cb58-41d6-aebc-1f7be0b0269a",
"name": "埋め込みOllama",
"type": "@n8n/n8n-nodes-langchain.embeddingsOllama",
"position": [
640,
560
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1f2a81de-2c6b-4394-a32e-47a49a220f73",
"name": "Ollamaチャットモデル",
"type": "@n8n/n8n-nodes-langchain.lmChatOllama",
"position": [
280,
560
],
"parameters": {},
"typeVersion": 1
},
{
"id": "951189a8-9a0d-4d78-91d9-0ebfa444f0c7",
"name": "シンプルメモリ",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
80,
520
],
"parameters": {},
"typeVersion": 1.3
}
],
"pinData": {},
"connections": {
"8c68df50-e781-4605-9ef7-0cd14e33530a": {
"main": [
[
{
"node": "4730d2dc-97c7-49a6-a75b-1cdb458277fb",
"type": "main",
"index": 0
}
]
]
},
"3b9d2f14-730a-48c7-a211-8fa64e9dc869": {
"main": [
[
{
"node": "8c68df50-e781-4605-9ef7-0cd14e33530a",
"type": "main",
"index": 0
}
]
]
},
"f51d6efd-d426-470b-994a-e8d33aa4325d": {
"ai_languageModel": [
[
{
"node": "be28ff9c-da0b-47e4-bf1b-c0dd7db660cc",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"6cdc9627-679f-4450-a16f-6ae1b90b92c0": {
"main": [
[
{
"node": "be28ff9c-da0b-47e4-bf1b-c0dd7db660cc",
"type": "main",
"index": 0
}
]
]
},
"951189a8-9a0d-4d78-91d9-0ebfa444f0c7": {
"ai_memory": [
[
{
"node": "3b9d2f14-730a-48c7-a211-8fa64e9dc869",
"type": "ai_memory",
"index": 0
}
]
]
},
"be28ff9c-da0b-47e4-bf1b-c0dd7db660cc": {
"main": [
[
{
"node": "3b9d2f14-730a-48c7-a211-8fa64e9dc869",
"type": "main",
"index": 0
}
],
[]
]
},
"9c1f601b-cb58-41d6-aebc-1f7be0b0269a": {
"ai_embedding": [
[
{
"node": "3145c4bd-e7a0-4da0-ba24-221de1796a77",
"type": "ai_embedding",
"index": 0
}
]
]
},
"1f2a81de-2c6b-4394-a32e-47a49a220f73": {
"ai_languageModel": [
[
{
"node": "3b9d2f14-730a-48c7-a211-8fa64e9dc869",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"3145c4bd-e7a0-4da0-ba24-221de1796a77": {
"ai_tool": [
[
{
"node": "3b9d2f14-730a-48c7-a211-8fa64e9dc869",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - サポート, 人工知能
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Aashit Sharma
@aashitsharmaWith a strong background in AI agent systems, RAG pipelines, and open-source automation tools like n8n, LangChain, and Ollama, Aashit specializes in crafting end-to-end solutions that merge intelligence with efficiency. He has developed multiple production-ready n8n templates — from personalized interview prep systems and document generators to AI-powered support agents — all designed to empower teams with scalable, low-code automation.
このワークフローを共有