Skip to content
Open Source Project2026

RevOps AI

A Revenue Operations app on a Notion CRM. Gemini 2.5 Flash, your AI sales agent, picks its own Notion actions through the Model Context Protocol.

RevOps AI sales pipeline built on Notion with Gemini MCP

Your team already lives in Notion. Your CRM doesn't.

Salesforce, HubSpot, and Pipedrive lock your contacts, deals, and activity history behind proprietary walls. Meanwhile, every proposal, meeting note, and follow-up thread lives in Notion. You maintain two systems, pay twice, and trust neither.

RevOps AI closes the gap. Your data stays in Notion, where you own it, your team edits it, and it links to the rest of your workspace. The AI sits on top as a reasoning layer, not a warden around a proprietary database.

How MCP makes autonomous AI practical

The Notion MCP server exposes all 22 Notion operations as a standardized tool catalog. The mcpToTool() function from @google/genai maps that catalog directly to Gemini function declarations at runtime. The AI then picks which tools to call from the user's plain-English request, with no hardcoded dispatch logic.

// The entire AI-to-Notion bridge
const mcp = new MCPClient({ url: process.env.MCP_SERVER_URL });
const tools = await mcp.getTools();// 22 Notion ops, auto-mapped to Gemini
01

User asks in plain English

"Brief me on the Acme deal before my call tomorrow"

02

Gemini chains MCP calls

Searches the deal, then its activities, contact and company. Four operations, one response.

03

Result syncs to Notion

Lead scores, activity records, and field updates write back to your Notion databases automatically

Everything a revenue team needs

Revenue Dashboard

Total value, win rate, deals by stage and recent team activity, pulled live from Notion.

Visual Deal Pipeline

Drag deals across six stages, from Lead to Closed Won. Every move saves to Notion at once.

AI Lead Scoring

One click weighs role seniority, company size and engagement history. You get a 0–100 score with reasons, saved to Notion.

AI Sales Team Manager

Ask in plain English for pipeline health, a pre-call briefing or a follow-up. The AI chains the Notion steps itself.

Contacts & Companies

Contacts and companies link to deals and activities in Notion. The AI follows those links to build briefings.

AI Email Drafting

Draft a sales email for any deal in one click. The AI reads its stage, contact history and company first.

Four databases. One workspace.

Contacts

Name, Email, Company, Role, Lead Score, Source

Deals

Name, Contact (relation), Stage, Value, Close Date, Priority

Activities

Type, Date, Deal (relation), Summary, Raw Notes

Companies

Name, Industry, Size, Website

Built on open tooling

FrameworkNext.js 15 App Router, TypeScript strict
UITailwind CSS v4, shadcn/ui, Lucide icons
AIGoogle Gemini 2.5 Flash via @google/genai
DataNotion (4 databases) via MCP protocol
MCP@notionhq/notion-mcp-server (HTTP mode)
Drag & Drop@dnd-kit/core + @dnd-kit/sortable
LintingBiome

Running in 15 minutes

You need a Notion integration token, a Gemini API key (free tier works), and four Notion databases created from the schema in the README.

$git clone https://github.com/pooyagolchian/ai-sales-crm.git
$cd ai-sales-crm && pnpm install
$cp .env.example .env.local
$# Add GEMINI_API_KEY and NOTION_TOKEN
$pnpm dev:all