Sync timesheet corrections on schedule for Collenda
Recipe ToolsDeveloper ToolAPI Integration
What it does
When a scheduled interval triggers, this automation fetches timesheet data and checks its approval status. It logs details to the job report and updates a lookup table when timesheets are approved or waiting.
Who it's for
Finance teams who need to track timesheet corrections and approval status automatically.
Apps used
How teams use this
Track timesheet approval status daily
Run this automation each morning to fetch all timesheets and log which ones are approved or waiting. The team sees a complete record in the lookup table without manual checks.
Escalate timesheets stuck in waiting
Extend this automation to send a notification when a timesheet has been waiting for approval longer than a set number of days. Add a condition to check the timestamp and only notify for overdue records.
Sync corrections to payroll system
Retarget this automation to push approved timesheets to a payroll platform instead of just logging them. The same schedule and approval logic apply to a different downstream system.
How it works
- Run on a set schedule. The automation starts at a specified interval to check for timesheet corrections that need attention.
- Fetch timesheet data via HTTP. Call GetTimesheetForDate2 via HTTP to retrieve timesheet records for the current date, month, and year from the source system.
- Check approval status via HTTP. Call GetTimesheetSummary via HTTP and check if the response contains Approved or Waiting status for each timesheet record.
- Record approved timesheets. Add an entry to the lookup table when a timesheet is approved or waiting for approval so the team has a complete audit trail.
- Reopen timesheet via HTTP. Call Reopen via HTTP to update the timesheet record based on the approval outcome and sync the change back to the system.