The flow
Starts it 1Model 5Logic 9Service 10
The steps in the order they run, from what starts it.
- 1Output Parser - Invoice fieldsOutput Parser StructuredModel
- 2Chat modelLm Chat Open AiModel
- 3Run every nightSchedule triggerStarts it
- 4Auto-fixing Output ParserOutput Parser AutofixingModel
- 5Read the invoice imageAgentModel
- 6Structure the invoice dataAgentModel
- 7Get invoice links from sheetGoogle SheetsService
- 8Add invoice data to sheetGoogle SheetsService
- 9Keep only today's rowsFilterLogic
- 10Close browser sessionAirtopService
- 11Loop over invoicesSplit In BatchesLogic
- 12Start browser sessionAirtopService
- 13Open the invoice pageAirtopService
- 14Wait for page to loadWaitLogic
- 15Zoom out to fit the pageAirtopService
- 16Wait for zoom to applyWaitLogic
- 17Screenshot the invoiceAirtopService
- 18Is it a PDF or an image?IfLogic
- 19Combine file and folderMergeLogic
- 20Find this month folder in DriveGoogle DriveService
- 21Upload invoice to DriveGoogle DriveService
- 22Pick the month folderCodeLogic
- 23Download invoice backGoogle DriveService
- 24Combine file and linksMergeLogic
- 25Build Drive linksCodeLogic