Back to Alchemy
Alchemy RecipeIntermediateworkflow

Legal contract analysis to risk summary and compliance checklist in minutes

A contract lands in your inbox. It's from a vendor you've never worked with before, and you need to understand the liability clauses, payment terms, termination conditions, and whether it complies with your company's standard requirements. You spend the next six hours reading, highlighting, cross-referencing, and typing up a summary. By day two, you've produced a two-page risk assessment and a compliance checklist. By day three, you're doing the same thing again with another contract. This is where most in-house legal teams operate. Manual review consumes weeks of billable time each month, even though the actual cognitive work is repetitive. The contract always contains the same kinds of information: parties, obligations, risks, and legal jargon. A human reads it, a human extracts the meaning, a human writes it down. What if that middle step didn't need a human at all? Using a combination of document interaction tools, AI-powered copywriting, and a simple orchestration layer, you can automate 70% of this work. Upload a contract, trigger a workflow, and receive a structured risk summary plus a compliance checklist within minutes. Your solicitors then spend their time evaluating detailed business decisions rather than hunting for missing clauses. For more on this, see Legal contract review and executive summary generation fo.... For more on this, see Legal contract extraction and compliance checklist genera....

The Automated Workflow

This workflow uses Zapier as the orchestration backbone because it integrates smoothly with document tools and doesn't require deployment overhead. The process runs in four stages: document intake, key term extraction, risk flagging, and checklist generation.

Stage 1: Document Upload Trigger

Start by setting up a Zapier webhook that fires whenever someone uploads a contract to a designated folder in Google Drive or Dropbox.

POST https://hooks.zapier.com/hooks/catch/YOUR_WEBHOOK_ID/ { "file_name": "vendor_agreement_2026.pdf", "file_url": "https://drive.google.com/file/d/...", "contract_type": "vendor_agreement", "upload_timestamp": "2026-03-15T09:30:00Z"
}

The webhook captures the file URL, filename, and optional contract category (vendor, NDA, employment, etc.). This metadata guides downstream steps.

Stage 2: Extract Key Terms with Chat With PDF

Chat With PDF by Copilot.us accepts file URLs and interprets PDFs through language models. Use it to perform the first extraction pass. You'll send the document to Chat With PDF and request structured output: parties involved, key dates, payment terms, termination clauses, and limitation of liability language. In Zapier, add a "Webhooks by Zapier" action that calls Chat With PDF's API endpoint:

POST https://api.chatwithpdf.com/v1/extract { "document_url": "{{trigger.file_url}}", "extract_fields": [ "parties", "execution_date", "payment_terms", "termination_clauses", "liability_limitations", "indemnification", "governing_law", "confidentiality_provisions" ], "output_format": "json", "api_key": "YOUR_API_KEY"
}

Chat With PDF will return structured JSON containing the extracted clauses. Store this in a Zapier storage object for the next step.

Stage 3: Generate Risk Flags with Claude Opus 4.6

Now that you have structured contract terms, send them to Claude Opus 4.6 for risk analysis. Claude excels at reasoning about legal language and spotting buried assumptions. Use Zapier's native Anthropic integration or call the API directly:

POST https://api.anthropic.com/v1/messages { "model": "claude-opus-4.6", "max_tokens": 2000, "system": "You are a contract review specialist. Analyse the extracted contract terms and identify business and legal risks. For each risk, provide: (1) the specific clause or term, (2) the business impact, (3) severity (high/medium/low), (4) recommended action.", "messages": [ { "role": "user", "content": "Here are the extracted contract terms:\n\n{{extracted_terms}}\n\nIdentify all material risks and flag anything unusual or potentially unfavourable." } ]
}

Store Claude's response as your risk summary. Flag high-severity items for manual review.

Stage 4: Build a Compliance Checklist with Copy.ai

Simultaneously, feed the extracted terms to Copy.ai to generate a compliance checklist. Copy.ai specialises in content generation and can quickly produce structured checklists that your team uses for sign-off.

POST https://api.copy.ai/v1/generate { "template": "compliance_checklist", "input": { "contract_type": "{{trigger.contract_type}}", "extracted_terms": "{{extracted_terms}}", "company_policies": "liability_cap_minimum_500k, mandatory_insurance_proof, 30_day_termination_notice" }, "output_format": "markdown", "api_key": "YOUR_COPY_AI_KEY"
}

The output should be a markdown-formatted checklist with tick-boxes for each compliance requirement. Zapier stores this in a document or sends it directly to your legal team.

Stage 5: Summarisation and Delivery

Use Smmry to condense the risk summary into a one-paragraph executive overview if it exceeds 300 words. Then assemble the final output:

POST https://api.smmry.com/v1/summarise { "text": "{{claude_risk_summary}}", "length": 5, "api_key": "YOUR_SMMRY_KEY"
}

Finally, create a Zapier action that sends the complete package (executive summary, risk list, and compliance checklist) to a designated Slack channel or email address. Use a document template to format everything consistently:

POST https://slack.com/api/chat.postMessage { "channel": "#legal-workflow", "text": "Contract Review Complete: {{file_name}}", "blocks": [ { "type": "section", "text": { "type": "mrkdwn", "text": "*Executive Summary*\n{{smmry_output}}" } }, { "type": "section", "text": { "type": "mrkdwn", "text": "*Risk Flags*\n{{claude_risks}}" } }, { "type": "section", "text": { "type": "mrkdwn", "text": "*Compliance Checklist*\n{{copy_ai_checklist}}" } } ]
}

The entire workflow executes in under two minutes, with no manual handoff between stages.

The Manual Alternative

Some teams prefer tighter control over the risk assessment. You can run this process semi-automatically by creating a Zapier workflow that stops at each stage and asks for human input before proceeding. Use Zapier's "Review Step" feature to pause after Chat With PDF extraction. A solicitor reviews the extracted terms, corrects any parsing errors, and approves before Claude sees it. This takes five minutes instead of thirty seconds but ensures accuracy for high-stakes contracts. Alternatively, use n8n instead of Zapier. n8n allows you to build a custom UI form where legal staff can upload contracts directly, watch the extraction happen in real time, and manually flag specific clauses for extra scrutiny before the risk analysis runs. This gives you visibility without slowing down the core workflow.

Pro Tips

Handle PDF Parsing Errors Gracefully.

Chat With PDF sometimes struggles with unusual formatting, scanned images, or non-English contracts.

Build in error handling: if Chat With PDF returns fewer than three extracted fields, send an alert to Slack asking for manual review. Don't let a parsing failure stall the entire workflow.

Rate Limit Claude Requests.

If you're processing multiple contracts per hour, Claude's rate limits may become a bottleneck. Stagger requests by 2–3 seconds using Zapier's delay action. For high volume, contact Anthropic about a dedicated API tier.

Track Extracted Terms in a Spreadsheet.

Create a Google Sheets log where each contract gets one row containing the file name, contract type, risk level, and a link to the full output. Over time this becomes a searchable database of contracts your company has reviewed. Use Zapier's built-in Google Sheets integration to auto-populate rows.

Customise Your Risk Taxonomy.

Modify the Claude prompt to match your company's specific concerns. If you're risk-averse on indemnification, ask Claude to flag any indemnity clause that doesn't explicitly exclude intellectual property. If you care about data protection, request GDPR and data breach language analysis. The prompt is your configuration file.

Test on Known Contracts First.

Before running live contracts through the workflow, test it on five contracts you've already reviewed manually. Compare the AI-generated risk summary against your own. Tune the prompts based on mismatches. You'll often find that Claude highlights risks you missed.

Cost Breakdown

ToolPlan NeededMonthly CostNotes
ZapierPro or Team£20–£300Pay-as-you-go for API calls; Pro tier includes Zapier Tables for storage.
Chat With PDF by Copilot.usStandard£15–£50Usage-based; £0.10 per document extraction typically.
Claude Opus 4.6 (via API)Pay-as-you-go£5–£30~£0.015 per 1K input tokens, £0.06 per 1K output tokens. Extraction prompts are usually 500–1500 tokens.
Copy.aiStarter or Growth£35–£120Includes monthly API credits; additional credits at £0.05–£0.10 per generation.
SmmryPremium£4One-time summarisation; minimal cost if used infrequently.
Total (low volume)-£79–£229/monthSuitable for 5–10 contracts per week.
Total (high volume)-£200–£600+/monthFor 50+ contracts per week; Claude costs dominate. Consider batch API for discounts.