What it does
An n8n template that loads data from Google Sheets or CSV files into a PostgreSQL table, inferring the schema along the way. An AI agent then turns questions written in plain language into SQL queries and returns the numerical results, instead of relying on a vector database.
Use cases
- 01Ask totals and averages from a financial sheet
- 02Load a CSV export into PostgreSQL
- 03Turn plain questions into SQL queries
Connects
Google Sheets · Postgres · Code · AI Agent · Call n8n Workflow Tool · Google Gemini Chat Model