The flow
Starts it 2Logic 17Service 9
The steps in the order they run, from what starts it.
- 1When File Added to Drive InboxGoogle Drive triggerStarts it
- 2Manual Execution TriggerManual triggerStarts it
- 3Download Invoice from DriveGoogle DriveService
- 4Set Configuration ParametersSetLogic
- 5Extract Base64 from BinaryCodeLogic
- 6Normalize Invoice DataCodeLogic
- 7Prepare Vision API RequestCodeLogic
- 8Post to Anthropic Vision APIHttp RequestService
- 9Parse Vision API ResponseCodeLogic
- 10Perform Arithmetic CheckCodeLogic
- 11Read Sheets for DuplicatesGoogle SheetsService
- 12Check for Invoice DuplicatesCodeLogic
- 13If Immediate Review NeededIfLogic
- 14Build Approval RequestCodeLogic
- 15If Under Approval ThresholdIfLogic
- 16Post Approval Request NotificationHttp RequestService
- 17Automatically Approve InvoiceCodeLogic
- 18Wait for Approval ActionWaitLogic
- 19Aggregate for LoggingCodeLogic
- 20Process Approval DecisionCodeLogic
- 21Read Vendor Total from SheetsGoogle SheetsService
- 22Calculate Vendor TotalCodeLogic
- 23Construct Ledger EntryCodeLogic
- 24Append Ledger in SheetsGoogle SheetsService
- 25If Invoice ApprovedIfLogic
- 26Move Approved to ProcessedGoogle DriveService
- 27Move Denied to FlaggedGoogle DriveService
- 28Send Final NotificationHttp RequestService