MySQLデータベース統合AIチャットボットワークフロー
これはEngineering, DevOps, Product, AI, IT Ops分野の自動化ワークフローで、11個のノードを含みます。主にMySqlTool, Agent, LmChatGroq, ChatTrigger, MemoryBufferWindowなどのノードを使用、AI技術を活用したスマート自動化を実現。 MySQLデータベースを統合したAI駆動チャットボットのワークフロー
- •MySQLデータベース接続情報
{
"meta": {
"instanceId": "f0daacbbece4d36ce73ed214e506ba3899410c0e00a1b6cd1d93e012465d1082"
},
"nodes": [
{
"id": "e1055031-f1f1-44dd-8e3b-18b9f543aac2",
"name": "チャットメッセージ受信時",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-60,
-80
],
"webhookId": "cf1de04f-3e38-426c-89f0-3bdb110a5dcf",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "88eaaf60-aed6-4e9d-9667-d2838a8e7f78",
"name": "チャット履歴",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
280,
120
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "a5b49dee-d5e4-4324-a7f8-1638e4e41abd",
"name": "MySQL",
"type": "n8n-nodes-base.mySqlTool",
"position": [
460,
120
],
"parameters": {},
"typeVersion": 2.4
},
{
"id": "7abfcdc7-dfc5-4627-a479-82dd38404c88",
"name": "MySQL スキーマ",
"type": "n8n-nodes-base.mySqlTool",
"position": [
640,
120
],
"parameters": {},
"typeVersion": 2.4
},
{
"id": "bc9dfb90-0696-4801-a5c2-741c2fd27855",
"name": "MySQL 定義",
"type": "n8n-nodes-base.mySqlTool",
"position": [
820,
120
],
"parameters": {},
"typeVersion": 2.4
},
{
"id": "fd8344a4-ee89-4365-ae36-cc39f26c47df",
"name": "AIエージェント",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
360,
-80
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "4849ec08-2ab9-46f2-bc8c-f9dad3196246",
"name": "Groqチャットモデル",
"type": "@n8n/n8n-nodes-langchain.lmChatGroq",
"position": [
100,
120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "400a5f98-60af-4acb-950a-085402f3502d",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
60,
300
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "5859cd82-9d6c-4783-8ef9-44cd4d800148",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
240,
300
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "599c02ac-7246-4cab-8bdd-1f6565ece04d",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
420,
300
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "33cbfb73-10e5-428b-ba71-539be16e7bc7",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
-300
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"a5b49dee-d5e4-4324-a7f8-1638e4e41abd": {
"ai_tool": [
[
{
"node": "fd8344a4-ee89-4365-ae36-cc39f26c47df",
"type": "ai_tool",
"index": 0
}
]
]
},
"88eaaf60-aed6-4e9d-9667-d2838a8e7f78": {
"ai_memory": [
[
{
"node": "fd8344a4-ee89-4365-ae36-cc39f26c47df",
"type": "ai_memory",
"index": 0
}
]
]
},
"7abfcdc7-dfc5-4627-a479-82dd38404c88": {
"ai_tool": [
[
{
"node": "fd8344a4-ee89-4365-ae36-cc39f26c47df",
"type": "ai_tool",
"index": 0
}
]
]
},
"4849ec08-2ab9-46f2-bc8c-f9dad3196246": {
"ai_languageModel": [
[
{
"node": "fd8344a4-ee89-4365-ae36-cc39f26c47df",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"bc9dfb90-0696-4801-a5c2-741c2fd27855": {
"ai_tool": [
[
{
"node": "fd8344a4-ee89-4365-ae36-cc39f26c47df",
"type": "ai_tool",
"index": 0
}
]
]
},
"e1055031-f1f1-44dd-8e3b-18b9f543aac2": {
"main": [
[
{
"node": "fd8344a4-ee89-4365-ae36-cc39f26c47df",
"type": "main",
"index": 0
}
]
]
}
}
}このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - エンジニアリング, DevOps, プロダクト, 人工知能, IT運用
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Gegenfeld
@gegenfeldWe at Gegenfeld are an EdTech platform dedicated to delivering high-quality on-demand courses and interactive training sessions for professional development at all skill levels. With our commitment to "Accelerate your future," we empower professionals to enhance their expertise through engaging, industry-focused learning experiences. On n8n, we share some of the workflows used in our interactive training to provide deeper insights and practical applications.
このワークフローを共有