Chat with a database using AI
This workflow allows you to ask questions about data stored in a database using AI.
Live
Open / InstallLast updated November 24, 2026
Description
This workflow allows you to ask questions about data stored in a database using AI. To use it, you'll need an OpenAI API key (although you could also swap in a model from another service). Supported databases: Postgres MySQL SQLite The workflow uses n8n's embedded chat, but you could also modify it to work with a chat service such as Slack, MS Teams or WhatsApp. Note that to use this template, you need to be on n8n version 1.19.4 or later. An n8n automation workflow template by David Roberts.
Community Metrics
Views
356,051
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—
Author
David Roberts
Platform
web
Pricing model
free
Categories
- Automation
- AI
Tags
- n8n
- workflow
- ai-agent
- openai-chat-model
Capabilities
- 2 nodes
- 356,051 views
Information
TypeWorkflow
Sourcen8n
AddedSeptember 3, 2026