AutomationFlowsAI & RAG › Sql Agent with Memory (memory Buffer Window)

Sql Agent with Memory (memory Buffer Window)

SQL agent with memory. Uses memoryBufferWindow, lmChatOpenAi, httpRequest, compression. Event-driven trigger; 13 nodes.

Event trigger★★★☆☆ complexityAI-powered13 nodesMemory Buffer WindowOpenAI ChatHTTP RequestCompressionRead Write FileAgentChat Trigger
AI & RAG Trigger: Event Nodes: 13 Complexity: ★★★☆☆ AI nodes: yes Added:

This workflow follows the Agent → Chat Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json

  

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

SQL agent with memory. Uses memoryBufferWindow, lmChatOpenAi, httpRequest, compression. Event-driven trigger; 13 nodes.

Source: https://github.com/n8nKOR/n8n-shared-workflow/blob/62a671327e906c22a40d290b339ff6d2373f8d75/workflows/n8n-workflows-by-Zie619/ai/AQJ6QnF2yVdCWMnx_SQL_agent_with_memory.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

SQL agent with memory. Uses memoryBufferWindow, lmChatOpenAi, manualTrigger, httpRequest. Event-driven trigger; 13 nodes.

Memory Buffer Window, OpenAI Chat, HTTP Request +4
AI & RAG

This n8n workflow demonstrates how to create an agent using LangChain and SQLite. The agent can understand natural language queries and interact with a SQLite database to provide accurate answers. 💪

Memory Buffer Window, OpenAI Chat, HTTP Request +4
AI & RAG

🔥📈🤖 AI Agent for n8n Creators Leaderboard - Find Popular Workflows. Uses httpRequest, limit, lmChatOpenAi, executeWorkflowTrigger. Event-driven trigger; 43 nodes.

HTTP Request, OpenAI Chat, Execute Workflow Trigger +6
AI & RAG

🔥📈🤖 AI Agent for n8n Creators Leaderboard - Find Popular Workflows. Uses httpRequest, limit, lmChatOpenAi, executeWorkflowTrigger. Event-driven trigger; 43 nodes.

HTTP Request, OpenAI Chat, Execute Workflow Trigger +6
AI & RAG

The n8n Creators Leaderboard Workflow is a powerful tool for analyzing and presenting detailed statistics about workflow creators and their contributions within the n8n community. It provides users wi

HTTP Request, OpenAI Chat, Execute Workflow Trigger +6