top of page

AI SQL Query Generator from Database Schema

This n8n workflow uses MySQL to extract database schemas, stores them locally, and combines with OpenAI's GPT-4o via LangChain AI Agent to generate SQL queries based only on the schema and user chat input. It automates SQL generation without executing queries directly.

bottom of page