Validate incoming file rows and load valid records into a database table.
Track confirmed imports and rows awaiting correction.
Your reporting table gets valid new spreadsheet rows every 15 minutes, with import counts and row-specific fixes waiting in the sheet.
Record the row count or error for each incoming file.
Keep your PostgreSQL table current as CSV files arrive, with a row count or a clear reason when an import needs attention.