The flow
Starts it 3Logic 11Service 12
The steps in the order they run, from what starts it.
- 1Weekly Trigger, Fri 5pm (Timesheet Review)Schedule triggerStarts it
- 2Daily Trigger, Billable Hours Check (6pm)Schedule triggerStarts it
- 3Hourly Trigger, Poll Paid InvoicesSchedule triggerStarts it
- 4Compute This Week WindowSetLogic
- 5Get Project Timesheet Entries (Last 90 Days)OdooService
- 6Client Billing Map (Config, Ops-Maintained)CodeLogic
- 7Search Recently Paid InvoicesOdooService
- 8Get Timesheet Entries This WeekOdooService
- 9Get Active EmployeesOdooService
- 10Match to Billing Map & Compute Unbilled HoursCodeLogic
- 11Alert Ops, Billing Data Fetch FailedGmailService
- 12Notify PM, Invoice PaidSlackService
- 13Alert Ops, Payment Poll FailedGmailService
- 14Aggregate Hours by Employee & Flag GapsCodeLogic
- 15Aggregate Hours by Project This WeekCodeLogic
- 16Alert Ops, Timesheet/Employee Fetch FailedGmailService
- 17Projects Crossing 10h ThresholdFilterLogic
- 18Log Payment Notify FailuresNo OpLogic
- 19Keep Employees Needing ReminderFilterLogic
- 20Send Weekly Hours Summary to PMGmailService
- 21Create Draft Invoice in OdooOdooService
- 22Send Timesheet ReminderSlackService
- 23Log Path A Notification FailuresNo OpLogic
- 24Email Draft Invoice to ClientGmailService
- 25Log Invoice Create/Send FailuresNo OpLogic
- 26Mark Project as Invoiced (Update Cursor)CodeLogic