AutomationFlowsAI & RAG › AI Agent Chat with Memory and Postgres

AI Agent Chat with Memory and Postgres

Original n8n title: My Workflow 3 (agent)

My workflow 3. Uses agent, memoryManager, memoryBufferWindow, postgres. Webhook trigger; 40 nodes.

Webhook trigger★★★★★ complexityAI-powered40 nodesAgentMemory ManagerMemory Buffer WindowPostgresOpenAI ChatLm Chat Deep Seek
AI & RAG Trigger: Webhook Nodes: 40 Complexity: ★★★★★ AI nodes: yes Added:

This workflow follows the Agent → Lmchatdeepseek 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

My workflow 3. Uses agent, memoryManager, memoryBufferWindow, postgres. Webhook trigger; 40 nodes.

Source: https://github.com/Wilsonoonn/n8n_nl2sql/blob/fa7c4204d690b1817aa4f916267d8a2f48c5c136/nl2sql_2.0.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

nl2sql. Uses stickyNote, agent, lmChatDeepSeek, respondToWebhook. Webhook trigger; 25 nodes.

Agent, Lm Chat Deep Seek, Memory Manager +3
AI & RAG

Aura-bot. Uses postgres, lmChatOpenAi, memoryBufferWindow, httpRequest. Webhook trigger; 82 nodes.

Postgres, OpenAI Chat, Memory Buffer Window +6
AI & RAG

Telegram Ai Bot. Uses openAi, httpRequest, agent, memoryBufferWindow. Webhook trigger; 38 nodes.

OpenAI, HTTP Request, Agent +3
AI & RAG

Logos · Telegram Support Bot. Uses postgres, telegram, telegramTrigger, agent. Webhook trigger; 35 nodes.

Postgres, Telegram, Telegram Trigger +5
AI & RAG

bebo-chat. Uses agent, lmChatOpenAi, memoryBufferWindow, outputParserStructured. Webhook trigger; 12 nodes.

Agent, OpenAI Chat, Memory Buffer Window +3