top of page

Email Natural Language to SQL Query

An n8n workflow that converts natural language questions about a PostgreSQL email metadata database into SQL queries using the Ollama language model. It automates schema extraction, enforces strict schema adherence, and returns query results from the emails_metadata table.

bottom of page