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

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

OpenAI, HTTP Request, Agent +3
AI & RAG

The idea for app came since I wanted to build a unique gift for my niece because she gets excited for her birthday (which Im going to miss this year). The web app has a simple countdown (in html and J

Agent, OpenAI Chat, Postgres +1
AI & RAG

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

Mailgun, OpenAI, OpenAI Chat +8
AI & RAG

L&D_AgentsAI_ATIVO. Uses httpRequest, agent, googleCalendarTool, toolSerpApi. Webhook trigger; 93 nodes.

HTTP Request, Agent, Google Calendar Tool +9