# Review contract clauses against your playbook: n8n workflow

> Started by an event in a connected app, and works across Google Drive and Google Sheets. It hands the judgement calls to Claude.

Source: https://millionrounds.com/workflow/review-contract-clauses-against-your-playbook (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Documents and files](https://millionrounds.com/workflows?category=Documents+and+files#library)

# Review contract clauses against your playbook

Started by an event in a connected app, and works across Google Drive and Google Sheets. It hands the judgement calls to Claude. 24 steps, 1 branch, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: Claude

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Freview-contract-clauses-against-your-playbook)

**24 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**2** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 3 Logic 14 Service 5

The steps in the order they run, from what starts it.

- 1 **When Contract Uploaded** Google Drive trigger *Starts it*
- 2 **Manual Start Trigger** Manual trigger *Starts it*
- 3 **Claude AI Model for Review** Lm Chat Anthropic *Model*
- 4 **Structure Assessment Results** Output Parser Structured *Model*
- 5 **Retrieve Contract from Drive** Google Drive *Service*
- 6 **Configure Review Settings** Set *Logic*
- 7 **Evaluate Clauses with Agent** Agent *Model*
- 8 **Encode File to Base64** Code *Logic*
- 9 **Store Assessment Outcome** Code *Logic*
- 10 **Prepare Extraction Request** Code *Logic*
- 11 **Batch Process Clauses** Split In Batches *Logic*
- 12 **Post Extraction to Anthropic API** Http Request *Service*
- 13 **Collate Clause Findings** Code *Logic*
- 14 **Process Extracted Clauses** Code *Logic*
- 15 **Determine Escalation Necessity** If *Logic*
- 16 **Craft Escalation Notice** Code *Logic*
- 17 **Auto-Clear Clauses** Code *Logic*
- 18 **Notify via Review Channel** Http Request *Service*
- 19 **Compile Review Report** Code *Logic*
- 20 **Pause for Reviewer Input** Wait *Logic*
- 21 **Assemble Ledger Entry** Code *Logic*
- 22 **Log Reviewer Judgment** Code *Logic*
- 23 **Log to Review Spreadsheet** Google Sheets *Service*
- 24 **Alert Completion of Review** Http Request *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 24, with 1 branch, 2 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Drive, Google Sheets
- **Model:** Claude

## Questions

What does it need to run?

An n8n account, plus your own Google Drive and Google Sheets accounts, and a key for Claude. 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 Claude. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 24 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 it**

Nothing 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 24 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Freview-contract-clauses-against-your-playbook)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also documents and files, with the same services where possible, closest in size first.

- [**Automate document ingestion & RAG system with Google Drive** 24 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automate-document-ingestion-and-rag-system-with-google-drive)
- [**Document Q&A system with OpenAI and Pinecone Vector DB** 24 steps · calls a model · Google Drive, Pinecone](https://millionrounds.com/workflow/document-q-and-a-system-with-openai-and-pinecone-vector-db)
- [**Find weak local Google Business profiles with Bright Data** 24 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/find-weak-local-google-business-profiles-with-bright-data)
- [**Telegram AI chatbot with OpenAI and PGVector RAG** 24 steps · calls a model · Google Drive, Postgres](https://millionrounds.com/workflow/telegram-ai-chatbot-with-openai-and-pgvector-rag)
- [**Chat with Supabase** 23 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/chat-with-supabase)
- [**Document RAG & chat agent: Google Drive to Qdrant with Mistral** 25 steps · calls a model · Google Drive, Qdrant](https://millionrounds.com/workflow/document-rag-and-chat-agent-google-drive-to-qdrant-with-mist)
