The flow
Starts it 1Model 6Logic 9Service 6
The steps in the order they run, from what starts it.
- 1Trigger: New Contract in DriveGoogle Drive triggerStarts it
- 2LLM: Clause Extraction ModelLm Chat GroqModel
- 3LLM: Risk Analysis ModelLm Chat GroqModel
- 4LLM: Final Report ModelLm Chat GroqModel
- 5Validate File is PDFIfLogic
- 6Extract Contract ClausesAgentModel
- 7Analyze Clause RisksAgentModel
- 8Generate Final Risk ReportAgentModel
- 9Download Contract FileGoogle DriveService
- 10Parse Clause OutputCodeLogic
- 11Parse Risk Analysis OutputCodeLogic
- 12Parse Final ReportCodeLogic
- 13Extract Contract NameSetLogic
- 14Extract Text from PDFExtract From FileService
- 15Merge Contract DataMergeLogic
- 16Find Contract in SalesforceSalesforceService
- 17Clean Contract TextSetLogic
- 18Update Contract RecordSalesforceService
- 19Check If Contract ExistsIfLogic
- 20Split Contract into ChunksCodeLogic
- 21Send Slack NotificationSlackService
- 22Create Contract RecordSalesforceService
How it's built
- Starts on
- An event in a connected app
- Steps
- 22, with 2 branches
- Size
- Large: read it before trusting it with anything live
- Connects to
- Google Drive, Salesforce, Slack
- Model
- Groq
Questions
What does it need to run?
An n8n account, plus your own Google Drive, Salesforce and Slack accounts, and a key for Groq. You connect your own accounts after importing it; none are included.
What starts it?
It starts on an event in a connected app.
Does it use AI?
Yes. It calls Groq. Model calls are billed by the provider, not by n8n.
How long does it take to set up?
Take your time. At 22 steps it is large: read it before trusting it with anything live.
How do I import it?
Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.
Before you run itNothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 22 steps before you point it at anything that matters.