Update timesheets on a schedule in Google Sheets
Recipe ToolsDocument/FileDeveloper ToolAPI Integration
What it does
When a schedule triggers, this automation searches Google Sheets for timesheets not yet submitted. For each timesheet found, it reopens the record and marks it out of date via HTTP calls so the data stays current.
Who it's for
Finance teams who need timesheets refreshed on a recurring basis without manual intervention.
How teams use this
Refresh timesheets on a weekly cycle
Run this automation every Monday morning to reopen and mark all active timesheets out of date. The team starts each week with fresh records ready for recalculation.
Exclude timesheets in a specific status
Adjust the condition to filter out timesheets with an Approved or Archived status so only pending records are reopened. This prevents overwriting finalized data.
Run the process on demand from a dashboard
Replace the schedule trigger with a manual button in Google Sheets so someone can refresh timesheets whenever needed instead of waiting for the interval.
How it works
- Run on a specified interval. This automation starts on a schedule you set, such as daily or weekly, so timesheets update without someone having to start it manually.
- Search for timesheets to update. Search Google Sheets for rows where the Approval Status does not contain Not Submitted so only active timesheets are processed.
- Reopen each timesheet. For each timesheet found, send an HTTP request to reopen the record so it can be edited again and recalculated by the team.
- Mark timesheet out of date. Send an HTTP request to mark each timesheet as out of date so the team knows it needs recalculation and review.