Grok-4 カスタマーサポートアジェント[RAG]
中級
これはSupport Chatbot, AI RAG分野の自動化ワークフローで、10個のノードを含みます。主にTelegram, GoogleDocsTool, Agent, TelegramTrigger, LmChatXAiGrokなどのノードを使用。 Grok-4、Google Docs、Telegramを使った顧客サポートアシスタント[RAG]の構築
前提条件
- •Telegram Bot Token
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "",
"meta": {},
"name": "Grok-4 Customer Support Agent [RAG]",
"tags": [],
"nodes": [
{
"id": "c459cd5e-837e-4f32-aef0-af8fd0e2a1e8",
"name": "Telegramトリガー",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-100,
0
],
"webhookId": "6f8fe019-91ed-4a74-a811-edbc6f9b1c16",
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "",
"name": "YOUR_TELEGRAMAPI_CREDENTIAL"
}
},
"typeVersion": 1.2
},
{
"id": "b1ce2d6d-766c-44be-ba05-15af7ad25826",
"name": "xAI Grokチャットモデル",
"type": "@n8n/n8n-nodes-langchain.lmChatXAiGrok",
"position": [
140,
220
],
"parameters": {
"options": {}
},
"credentials": {
"xAiApi": {
"id": "",
"name": "YOUR_XAIAPI_CREDENTIAL"
}
},
"typeVersion": 1
},
{
"id": "034b4be6-f8a0-449f-b4df-6624c0d5419d",
"name": "シンプルメモリ",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
340,
220
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "a9f303d6-f341-4237-ba4a-b871fd98d0e8",
"name": "Google Docs",
"type": "n8n-nodes-base.googleDocsTool",
"position": [
500,
220
],
"parameters": {
"operation": "get",
"documentURL": "https://docs.google.com/document/d/YOUR_DOC_ID/edit"
},
"credentials": {
"googleDocsOAuth2Api": {
"id": "",
"name": "YOUR_GOOGLEDOCSOAUTH2API_CREDENTIAL"
}
},
"typeVersion": 2
},
{
"id": "4ed55e57-7143-4882-bad7-428e56018d54",
"name": "Grok 4カスタマーサポートエージェント",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
220,
0
],
"parameters": {
"options": {}
},
"typeVersion": 2
},
{
"id": "dc23ec70-fb68-4be0-b9ea-cf84209a607a",
"name": "Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
720,
0
],
"webhookId": "be0498a1-712c-4efe-af95-c6ed6dc04e60",
"parameters": {
"text": "YOUR_RESPONSE_TEXT",
"chatId": "YOUR_CHAT_ID",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "",
"name": "YOUR_TELEGRAMAPI_CREDENTIAL"
}
},
"typeVersion": 1.2
},
{
"id": "e225dc2b-60fb-4892-a752-cd967af3c87d",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-200,
-140
],
"parameters": {
"color": 2,
"height": 540,
"content": "Telegram Trigger"
},
"typeVersion": 1
},
{
"id": "5f23ab98-e24c-4298-90ab-066a1510fea0",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
60,
-140
],
"parameters": {
"color": 3,
"width": 580,
"height": 540,
"content": "Grok-4 Customer Support Agent with Preloaded Doc"
},
"typeVersion": 1
},
{
"id": "febe1849-3b12-4470-b9a0-78ee90b661c3",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
660,
-140
],
"parameters": {
"color": 5,
"width": 280,
"height": 540,
"content": "Telegram Output"
},
"typeVersion": 1
},
{
"id": "9700b7cd-f63e-4573-97de-97f396caa67e",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-800,
-140
],
"parameters": {
"width": 580,
"height": 880,
"content": "🤖 Grok-4 Customer Support Agent with Document-Based Intelligence\nTemplate Description:\nThis workflow creates a smart, AI-powered customer support agent using Grok-4 that can answer questions based on a preloaded Google Doc knowledge base. It listens for incoming customer queries via Telegram, then uses Grok-4’s language reasoning + memory features to generate helpful responses pulled directly from the doc.\n\nWatch the Step-by-Step Tutorial of this Workflow: https://www.youtube.com/watch?v=OXzsh-Ba-8Y&t=2s\n\nIt’s perfect for solopreneurs, startups, or businesses that want to:\nAutomate first-level support\nBuild a Telegram-based knowledge agent\nAnswer FAQs using internal docs (like manuals, policies, product details)\n\n🔍 How It Works:\nTelegram Trigger – Listens for incoming messages from users\n\nGoogle Docs Tool – Retrieves a specified doc to serve as the knowledge base\n\nGrok-4 AI Agent – Uses xAI’s latest LLM with built-in memory and the document as a tool\n\nMemory Buffer – Keeps track of ongoing context in the conversation\n\nTelegram Reply – Sends the final response back to the customer\n\n🧠 Tools & Integrations Used:\nxAI Grok-4 Model (via Langchain-compatible node)\n\nGoogle Docs Tool (as a reference knowledge base)\n\nTelegram Bot API (chat interface)\n\nn8n Agent Framework (for chaining memory, model, and tools)\n\n💡 Use Cases:\nAI-powered FAQ assistant for your product\n\nInternal HR bot answering company policy questions\n\nSupport assistant trained on onboarding documents or technical manuals\n\nPrivate support bot for VIP groups on Telegram\n\n"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "",
"connections": {
"a9f303d6-f341-4237-ba4a-b871fd98d0e8": {
"ai_tool": [
[
{
"node": "4ed55e57-7143-4882-bad7-428e56018d54",
"type": "ai_tool",
"index": 0
}
]
]
},
"034b4be6-f8a0-449f-b4df-6624c0d5419d": {
"ai_memory": [
[
{
"node": "4ed55e57-7143-4882-bad7-428e56018d54",
"type": "ai_memory",
"index": 0
}
]
]
},
"c459cd5e-837e-4f32-aef0-af8fd0e2a1e8": {
"main": [
[
{
"node": "4ed55e57-7143-4882-bad7-428e56018d54",
"type": "main",
"index": 0
}
]
]
},
"b1ce2d6d-766c-44be-ba05-15af7ad25826": {
"ai_languageModel": [
[
{
"node": "4ed55e57-7143-4882-bad7-428e56018d54",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"4ed55e57-7143-4882-bad7-428e56018d54": {
"main": [
[
{
"node": "dc23ec70-fb68-4be0-b9ea-cf84209a607a",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - サポートチャットボット, AI RAG検索拡張
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
GPT-5 RAG カスタマーサポートアジェント
GPT-5、Telegram、Pineconeを使った顧客サポートRAGアジボットの構築
Telegram
Agent
Telegram Trigger
+
Telegram
Agent
Telegram Trigger
11 ノードAutomate With Marc
サポートチャットボット
私のワークフロー
GPT4-miniとGoogle Docsの知識ベースを使ってTelegramカスタマーサポートボットを作成
Telegram
Google Docs Tool
Agent
+
Telegram
Google Docs Tool
Agent
10 ノードAutomate With Marc
サポート
コンビネーション画像から動画へアシスタント
Telegram、GPT-4.1、およびSeedance/Veo3統合を使用して画像からビデオを生成
If
Wait
Telegram
+
If
Wait
Telegram
22 ノードAutomate With Marc
コンテンツ作成
法律アシスタントエージェント
🧑⚖️ AI法律アシスタントエージェント — AIに基づいた法律QAとドキュメント検索
Telegram
Agent
Telegram Trigger
+
Telegram
Agent
Telegram Trigger
11 ノードAutomate With Marc
人工知能
Slackプロジェクト更新RAGエージェント
GPTとPineconeベクターRAG文脈を使ってSlackメッセージに自動返信
Slack
Slack Trigger
Agent
+
Slack
Slack Trigger
Agent
11 ノードAutomate With Marc
AI RAG検索拡張
自動入札進捗フォロー
GPT-5、Pinecone、Tavily を使ったパーソナライズされた販売自動フォロー実装
Gmail
Form Trigger
Agent
+
Gmail
Form Trigger
Agent
12 ノードAutomate With Marc
リードナーチャリング
ワークフロー情報
難易度
中級
ノード数10
カテゴリー2
ノードタイプ7
作成者
Automate With Marc
@marconiAutomating Start-Up and Business processes. Helping non-techies understand and leverage Agentic AI with easy to understand step-by-step tutorials. Check out my educational content: https://www.youtube.com/@Automatewithmarc
外部リンク
n8n.ioで表示 →
このワークフローを共有