The flow
Starts it 2Model 6Logic 10Service 9
The steps in the order they run, from what starts it.
- 1Webhook - Receive InvoiceWebhookStarts it
- 2AI - Extract Invoice Data - Chat ModelLm Chat Open AiModel
- 3AI - Extract Invoice Data - Output ParserOutput Parser StructuredModel
- 4AI - Analyze and Categorize Invoice - Chat ModelLm Chat Open AiModel
- 5AI - Analyze and Categorize Invoice - Output ParserOutput Parser StructuredModel
- 6Error Trigger - Workflow FailureError triggerStarts it
- 7Set - Prepare Invoice MetadataSetLogic
- 8AI - Extract Invoice DataAgentModel
- 9AI - Analyze and Categorize InvoiceAgentModel
- 10Send Email - Notify AdministratorGmailService
- 11Extract From File - Get Invoice TextExtract From FileService
- 12Code - Clean and Normalize DataCodeLogic
- 13Code - Verify Invoice TotalCodeLogic
- 14Code - Validate Required FieldsCodeLogic
- 15Switch - Determine Approval PathSwitchLogic
- 16IF - Is Invoice ValidIfLogic
- 17Code - Auto Approve InvoiceCodeLogic
- 18Send Email - Approval RequestGmailService
- 19Google Sheets - Search Existing InvoiceGoogle SheetsService
- 20Send Email - Request Missing InfoGmailService
- 21Google Sheets - Store Invoice RecordGoogle SheetsService
- 22Wait - Wait for Approval DecisionWaitLogic
- 23IF - Is Duplicate InvoiceIfLogic
- 24Send Email - Final Notification to FinanceGmailService
- 25Code - Process Approval DecisionCodeLogic
- 26Google Sheets - Update Status DuplicateGoogle SheetsService
- 27Send Email - Notify Finance DuplicateGmailService