top of page

AI SQL Query Generator from DB Schema

An n8n workflow using MySQL, OpenAI GPT-4o, and LangChain to convert database schema into executable SQL queries via AI chat. It extracts schema from MySQL, stores locally, then generates SQL on chat input, executing queries and returning results seamlessly.

bottom of page