Workflows / Data & Reporting / Databases
Generate SQL queries from your database schema
Starts from a chat message and works with OpenAI, MySQL. Uses AI.
Main steps
- List all tables in a database
- Extract database schema
- Add table name to output
- Convert data to binary
- Save file locally
- Extract data from file
What you get
workflow.json– import into n8n (20 steps, starts from a chat message)- README setup guide and an in-workflow setup note
You need
- n8n (Cloud or self-hosted)
- OpenAI account
- MySQL account