Google Sheets trigger: when a row is added
Watch a spreadsheet tab and start a run for each row added at the bottom. Checked every 5 minutes, up to 100 rows a check. What it catches and what it misses.
Updated
When a row is added to Google Sheets watches one tab of a spreadsheet and starts a run for each new row added at the bottom.
How to set it up
- Create a workflow and choose When a row is added to Google Sheets.
- Connect a Google account and choose the spreadsheet and tab. Foliot only sees the spreadsheets you pick.
- Click Get sample data: it reads the tab's last row, so your steps can use its columns.
- Fill your steps with chips like Trigger → Name, then turn the workflow on. It starts from the tab's current end: existing rows never run.
Data it gives
- One value per column, named by the header row, as text, the way the sheet shows it.
rowNumber: the row's number in the tab.
Limits
- The tab is checked every 5 minutes, up to 100 new rows a check; more wait for the next check.
- Only rows added at the bottom count. Rows inserted in the middle, and edits to rows, never start runs.
- Empty rows are skipped. A row typed cell by cell can be read before it's finished, so paste or fill in a row in one go.
- Sorting the tab starts no runs, and deleting as many rows as you add within the same 5 minutes looks like a sort, so those rows are missed. When in doubt, Foliot misses a row rather than running an old one again.
- In tabs past 1,000 rows, rows added while other rows are edited or deleted can be missed.
- Add row to Google Sheets on the watched tab starts the workflow again (the editor warns you); Update row on it doesn't.
- If a check fails, the trigger shows “The last check failed: …” and checking goes on.