Content: 02515.zip (39.24 KB)
Uploaded: 15.01.2026

Positive responses: 0
Negative responses: 0

Sold: 0
Refunds: 0

$6.95
# AI chatbot to query MySQL in natural language without SQL

This automation enables users to interact with a MySQL database through chat using natural language instead of SQL. Built on n8n and a LangChain-based AI agent with access to the database schema, it converts questions into accurate SQL queries and returns human-readable responses. Chat history is preserved to maintain context across interactions.

## Who it´s for
- Analysts who need database access without SQL knowledge
- Managers requiring quick operational data from the database
- Developers testing AI-powered access to MySQL schema

## What the automation does
- Triggers on incoming chat messages
- Routes message text to a LangChain-based AI agent
- Agent uses Groq for response generation and executes SQL queries on MySQL
- Maintains chat history for contextual continuity
- Returns results as plain text responses in the chat
- Handles both data retrieval and structural inquiries (e.g., field meanings)

## What´s included
- Ready-to-use n8n workflow
- Trigger and handler logic for chat messages
- Integrations with MySQL and Groq API
- Basic written instructions for setup and adaptation

## Requirements for setup
- Access to an n8n instance
- Groq API account and credentials
- MySQL database access (host, port, login, password, database name)
- Compatible chat interface (e.g., Telegram, Slack, or web form) connected via n8n

## Benefits and outcomes
- Faster data access without developer involvement
- Reduced dependency on SQL experts
- User-friendly interface for non-technical staff
- Context-aware responses through dialogue history
- Quick exploration of database structure
- Increased team productivity with direct data access
- Automated handling of repetitive data requests

## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet