Keep a Google Sheet in sync with a PostgreSQL table and let your team ask data questions in plain English. Great for operations teams that track numbers in Sheets but report from a database. You get fresh data and quick answers without manual exports.
Here is how it works. A Google Drive event watches a specific spreadsheet. The flow pulls a selected tab, checks if the matching PostgreSQL table exists, then drops and rebuilds it with the right columns and types. Rows from the sheet are inserted with parameterized queries. A parallel chat path uses Google Gemini to read the database schema, write the right SQL, run it through a tool workflow, and return results. The mix of file monitoring, type-safe table creation, and AI query support cuts busywork and speeds decisions.
You need Google Drive and Google Sheets access, a PostgreSQL database with write rights, and a Google Gemini API key. Set the sheet name and file URL in the configuration step, and point all Postgres nodes to the same credential. Expect imports to drop from hours to minutes and fewer copy paste errors. Use it for weekly sales tabs, inventory logs, and campaign trackers that must feed a central database.