This project automates the integration between Google Drive, Google Sheets, and PostgreSQL databases, powered by an AI agent. When a file is uploaded to Google Drive, the workflow automatically validates and extracts data, checks for existing tables, and performs insertions or updates. The AI agent assists with query execution, schema validation, and database optimization. This solution ensures seamless data synchronization, reduces manual effort, and enables intelligent query handling for business or technical use cases.