Complete Case Study Back to Home

The Problem & The Solution

The Problem

Contract review costs **$300–$600 per hour**. Most small businesses, startups, and freelancers simply cannot afford it.

Because of this high entry barrier, most people end up signing complex legal contracts blindly, without fully understanding what clauses they are agreeing to.

The Solution

RedlineAI reads any legal contract, identifies every risky clause, explains each one in plain English, assigns a risk level of Low, Medium, or High, and delivers a full professional risk report to the user's inbox in **under 30 seconds**.

Runs fully autonomously for **under 5 cents** per analysis.

How It Works

Two Modes. Two AI Approaches.

RedlineAI operates under two distinct models: an automated web-based serverless pipeline and a local developer agent mode.

Option A — Automated Pipeline
User
Fillout Form
n8n Webhook
Download Contract
PDF Text Extractor
GPT-4.1 Mini
Airtable
Gmail
Option B — Agent Mode
User
Claude Desktop
MCP Filesystem Tool
Contracts Folder
Risk Report in Chat

The n8n Workflow

The Automated Pipeline — Inside n8n

The entire backend runs inside n8n — a visual workflow automation tool. Six nodes run in sequence, fully automatically, without any human involvement.

Node 01

Webhook

Receives the contract submission payload from Fillout. The entry point of the entire workflow.

Node 02

Download Contract

Downloads the PDF file from Fillout storage as binary data privately inside n8n.

Node 03

PDF Text Extractor

Converts the binary PDF into plain readable text using n8n's native extraction tool. No external service. Completely private.

Node 04

Risk Analyzer

GPT-4.1 Mini reads the full contract text and produces a structured risk report with clause-by-clause analysis and an overall risk level.

Node 05

Save to Airtable

The full report, contract name, date, and risk level are saved permanently to the Airtable database.

Node 06

Send a Message

A personalized professional email with the full risk report is delivered automatically to the user's inbox.

Tool Breakdown

The Stack — Every Tool and Why

Tool Role Why We Chose It
n8n Workflow orchestration Visual, production-grade, no code required
GPT-4.1 Mini AI contract analysis Cost efficient — under 5 cents per analysis
Claude Desktop + MCP Agent mode Autonomous file access via Model Context Protocol
Airtable Database No-code, visual, instant setup
Fillout Form and file upload Webhook native, embeds directly into website
Netlify Website hosting Free tier, instant deployment, custom domain support
Antigravity AI Frontend generation AI-generated landing page from a single prompt
HTML · CSS · JavaScript Frontend code Standard web technologies

Production Ready

Built for Production. Not Just Portfolio.

  • Privacy: contract files never leave n8n — no third party service touches user documents
  • Cost: under 5 cents per analysis using GPT-4.1 Mini
  • Speed: full risk report delivered in under 30 seconds
  • Scale: runs 24/7 automatically in Active mode with zero human involvement
  • Audit trail: every analysis permanently stored in Airtable with timestamp and risk level
  • No account needed: users receive their full report by email instantly

MCP Explained

What Is MCP and Why Does It Matter?

MCP stands for Model Context Protocol. It is a standard that gives AI models like Claude access to external tools — file systems, databases, and APIs.

Without MCP, Claude can only respond to text you paste into the chat. With MCP, Claude can reach out and use tools autonomously. MCP is the pair of hands for Claude. In RedlineAI Option B, Claude uses the Filesystem MCP tool to find and read a contract file directly from a folder on the user's Mac — without any manual uploading or copy-pasting. That is the difference between a chatbot and a true AI agent.

User types request
Claude Desktop
MCP Filesystem Tool
Contracts Folder on Mac
Claude reads and analyzes
Risk Report appears in chat

Watch the Demo

See RedlineAI in Action

Watch RedlineAI analyze a real NDA contract — automated pipeline and Claude MCP agent mode.

Ready to analyze your contract?

Analyze My Contract Complete Case Study

RedlineAI — Know what you're signing before you sign it. Built by Rani Neog Adhikary under BuildSmart AI.

Back to Home