Sync CSV files from SFTP to Google Sheets

File TransferDocument/FileSales Enablement

What it does

When a new or updated CSV file appears in a directory on the SFTP server, this automation reads the file and adds multiple rows to Google Sheets. The spreadsheet stays in sync with the latest data from the server in batches of 500 rows.

Who it's for

Data and analytics teams who need to import SFTP data into Google Sheets without manual file transfers.

How teams use this

Import daily sales data from SFTP

Load a CSV export from an SFTP server into Google Sheets each day so the sales team can analyze updated numbers without downloading files manually.

Sync customer records to a shared sheet

When a customer CSV updates on the SFTP server, push all rows into Google Sheets so the support team always sees the latest contact information.

Filter rows before adding to the sheet

Add a condition to only import rows where a specific column meets a value, so the spreadsheet contains only relevant records from the CSV file.

How it works

  1. Detect new or updated CSV file. Monitor a directory on the SFTP server for new or updated CSV files. When one appears, the automation starts and reads the file contents.
  2. Add rows in batches to the sheet. Parse the CSV data and insert multiple rows into a Google Sheets spreadsheet in batches of 500 to handle large files efficiently without overwhelming the sheet.