Sales Intelligence Engine

AI-powered sales ops automation for CRM

Repo
Sales Intelligence Engine banner

About

## The problem your project solves

## The Problem

Sales teams at B2B SaaS companies face a **fragmented, manual workflow** that kills productivity:

  • **Document generation is tedious** — quotations, proposals, and internal pricing docs must be manually created for every deal, pulling data from CRM and filling templates by hand
  • **CRM updates are neglected** — after client meetings, sales reps forget or delay updating deal stages, notes, and follow-ups in Monday.com
  • **Deal health is invisible** — there's no automated way to flag stale deals, missing close dates, or deals stuck in early stages too long
  • **Coordination is scattered** — files live in Google Drive, emails in Gmail, updates in Slack, and deal data in Monday.com — nothing connects automatically

## Why It Matters

For a company like Sembuh AI managing 10+ enterprise insurance deals, each requiring custom proposals and pricing, this manual overhead translates to **hours lost per week per account manager**. Deals slip through cracks, follow-ups are missed, and leadership lacks real-time pipeline visibility.

## Impact

  • **~4,800 hours/year** in document generation time saved across the pipeline
  • **Real-time deal health monitoring** prevents deals from going stale
  • **Automated CRM updates** from meeting minutes ensure data accuracy
  • **End-to-end automation** from CRM → documents → Drive → email drafts → Slack notifications

## How you are solving it

## Our Solution: Sales Intelligence Engine

A unified Python-based automation platform that connects **Monday.com CRM**, **Google Drive**, **Gmail**, **Slack**, and **Claude AI** into a single command-line pipeline.

### Key Features

  • **Automated Document Generation** (`python app.py generate`)
  • Fetches all deals from Monday.com via GraphQL API
  • Generates three documents per deal from templates: **Quotation** (Excel), **Pricing Internal** (Excel with margin analysis), and **Proposal** (PowerPoint)
  • Auto-fills client data, pricing calculations, ROI metrics, and volume projections
  • Uploads to organized Google Drive folders and creates Gmail drafts with attachments
  • Sends summary notification to Slack
  • **AI-Powered MoM Processing** (`python app.py mom <file.docx>`)
  • Extracts text from meeting minutes (.docx)
  • Uses **Claude** to parse unstructured meeting notes into structured CRM data (deal stage, value, next steps)
  • Automatically updates the matching Monday.com deal and adds a comment summary
  • **Deal Health Scoring** (`python app.py health`)
  • Scores each deal on pipeline stage weight, contact recency, and data completeness
  • Flags at-risk deals with specific deductions and reasons
  • Generates a live **dashboard** (HTML) with KPI cards, charts, and deal-level health indicators
  • **Interactive CRM Assistant** (`python app.py interactive`)
  • Chat-based interface powered by Claude for ad-hoc CRM queries and updates

### Architecture

  • **Monday.com** → GraphQL API for CRM data
  • **Claude AI** → MoM analysis, deal intelligence, interactive assistant
  • **Google Drive + Gmail** → Document storage and email drafts via service account
  • **Slack** → Pipeline notifications and deal alerts
  • **SQLite** → Local deal health history and caching

## Use of Genspark

## Use of Genspark

Genspark is integrated as a **research agent** within the Sales Intelligence Engine workflow:

  • **Prospect Intelligence** — Before generating proposals, Genspark is used to research prospective clients, gathering publicly available information about the company, their industry positioning, recent news, and competitive landscape
  • **Market Context** — Genspark helps enrich deal context by providing market intelligence that feeds into more personalized and data-driven proposals
  • **Domain Research** — For insurance-specific deals, Genspark assists in researching regulatory requirements, industry benchmarks, and market trends that inform pricing and solution positioning

This research capability complements Claude's document generation and CRM analysis, giving sales teams a more complete intelligence picture for each deal.

## Use of Claude

## Use of Claude

Claude is the **AI backbone** of the Sales Intelligence Engine, used in three critical ways:

### 1. Meeting Minutes Analysis

Claude processes unstructured `.docx` meeting minutes and extracts structured CRM data: - Deal name, stage, value, close probability - Last interaction date and forecast category - Concise summary with key actions and next steps

This runs via the **Anthropic Python SDK** (`anthropic.Anthropic()`) with `claude-opus-4-6`, using a carefully crafted prompt that outputs clean JSON for direct CRM updates.

### 2. Interactive CRM Assistant

A conversational interface powered by Claude allows sales reps to: - Query deal status and pipeline metrics naturally - Get AI-generated recommendations on deal strategy - Trigger CRM updates through conversation

### 3. Document Intelligence

Claude assists in generating contextual content for proposals — including executive summaries, ROI narratives, and client-specific talking points — ensuring each generated document is tailored rather than generic.

### Technical Integration

- **Model**: `claude-opus-4-6` (configurable via env) - **SDK**: `anthropic` Python package with tool use for CRM operations - **Pattern**: Structured output extraction (JSON) + conversational tool use

Screenshots

Sales Intelligence Engine screenshot 1

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

InsightGenie -AI

Ask Your Data. Get Answers. Take Action.