AutomationFlowsAI & RAG › Chat with a Database Using AI (chat Trigger) (chat Trigger)

Chat with a Database Using AI (chat Trigger) (chat Trigger)

Chat with a database using AI. Uses chatTrigger, postgresTool, agent, lmChatOllama. Chat trigger; 5 nodes.

Chat trigger trigger★★☆☆☆ complexityAI-powered5 nodesChat TriggerPostgres ToolAgentOllama Chat
AI & RAG Trigger: Chat trigger Nodes: 5 Complexity: ★★☆☆☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #2090 — we link there as the canonical source.

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

Chat with a database using AI. Uses chatTrigger, postgresTool, agent, lmChatOllama. Chat trigger; 5 nodes.

Source: https://github.com/ATHARVISM2804/n8n_workflow_main/blob/main/workflows/chat-with-a-database-using-ai-.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

Chat with a Postgress using AI. Uses chatTrigger, postgresTool, agent, lmChatOllama. Chat trigger; 6 nodes.

Chat Trigger, Postgres Tool, Agent +1
AI & RAG

Becomex v2. Uses chatTrigger, lmChatOllama, agent, toolWorkflow. Chat trigger; 17 nodes.

Chat Trigger, Ollama Chat, Agent +9
AI & RAG

NGSS Agent v2.2 github. Uses memoryBufferWindow, toolWorkflow, chatTrigger, agent. Chat trigger; 13 nodes.

Memory Buffer Window, Tool Workflow, Chat Trigger +2
AI & RAG

Orquestador Normativa. Uses chatTrigger, textClassifier, lmChatOllama, agent. Chat trigger; 12 nodes.

Chat Trigger, Text Classifier, Ollama Chat +3
AI & RAG

Chat with Postgresql Database. Uses chatTrigger, agent, lmChatOpenAi, postgresTool. Chat trigger; 11 nodes.

Chat Trigger, Agent, OpenAI Chat +2