The flow
Starts it 1Model 2Logic 11Service 8
The steps in the order they run, from what starts it.
- 1Receive Supplier Submission (Webhook Trigger)WebhookStarts it
- 2Split Documents ArraySplit OutLogic
- 3Process Documents LoopSplit In BatchesLogic
- 4Aggregate All Processed DocumentsAggregateLogic
- 5Download Document FileHttp RequestService
- 6Validate Supplier DocumentsCodeLogic
- 7Extract Text from PDFExtract From FileService
- 8Check Validation StatusIfLogic
- 9AI Extract Structured Data (Gemini)Google GeminiModel
- 10Build Supplier Master RecordCodeLogic
- 11Generate Validation FeedbackCodeLogic
- 12Parse & Normalize AI ResponseCodeLogic
- 13Edit FieldsSetLogic
- 14AI Improve Feedback MessageGoogle GeminiModel
- 15Batch Processing Delay (Loop Control)WaitLogic
- 16Save Supplier to Google SheetsGoogle SheetsService
- 17Send Rejection Email to SupplierGmailService
- 18Create Supplier Folder (Drive)Google DriveService
- 19Prepare Files for UploadCodeLogic
- 20Upload Documents to DriveGoogle DriveService
- 21Notify Internal Team (New Supplier)GmailService
- 22Send Approval Email to SupplierGmailService