workflows.fit
Back to n8n workflows
n8n template$10By Gegenfeld

AI-powered chatbot workflow with MySQL database integration

AI-Powered Chatbot Workflow with MySQL Integration This guide shows you how to deploy a chatbot that lets you query your database using natural language. You will build a system that accepts chat messages, retains con...

AILangchainCore NodesChat TriggerMemory Buffer WindowMy Sql ToolAgent
Open checkout
Loading interactive preview...

Template notes

AI-Powered Chatbot Workflow with MySQL Integration

This guide shows you how to deploy a chatbot that lets you query your database using natural language. You will build a system that accepts chat messages, retains conversation history, constructs dynamic SQL queries, and returns responses generated by an AI model. By following these instructions, you will have a working solution that integrates n8n’s AI Agent capabilities with MySQL.

---

Prerequisites

Before you begin, ensure that you have the following:

1. An active n8n instance (self-hosted or cloud) running version 1.50.0 or later. 2. Valid MySQL credentials configured in n8n. 3. API credentials for the Groq Chat Model (or your preferred AI language model). 4. Basic familiarity with SQL and n8n node concepts such as chat triggers and memory buffers. 5. Access to the [n8n Docs on AI Agents](https://docs.n8n.io/advanced-ai/) for further reference.

---

Workflow Setup