The flow
Starts it 1Model 9Logic 10Service 5
The steps in the order they run, from what starts it.
- 1Groq Chat Model3Lm Chat GroqModel
- 2Structured Output Parser3Output Parser StructuredModel
- 3Groq Chat Model4Lm Chat GroqModel
- 4Structured Output Parser4Output Parser StructuredModel
- 5Trigger – Contract UploadGoogle Drive triggerStarts it
- 6Parse Rewritten Clause OutputOutput Parser StructuredModel
- 7LLMLm Chat GroqModel
- 8Extract Contract ClausesChain LlmModel
- 9AI Risk Analysis & Executive ReportChain LlmModel
- 10Download FileGoogle DriveService
- 11AI Rewrite Risky ClausesChain LlmModel
- 12Merge Vendor + StandardsMergeLogic
- 13Prepare Clause Comparison DatasetCodeLogic
- 14Check if PDFIfLogic
- 15Loop Through ClausesSplit In BatchesLogic
- 16Compare Vendor vs Standard ClausesCodeLogic
- 17Extract content from PDFExtract From FileService
- 18Extract ContentCodeLogic
- 19Combine All Revised ClausesCodeLogic
- 20Check If Clause Needs RewriteIfLogic
- 21Fetch Standard ClausesNotionService
- 22Format Final Contract Review RecordSetLogic
- 23Check If Contract Is RiskyIfLogic
- 24Send Slack Risk AlertSlackService
- 25Create Contract Review RecordNotionService