Skip to content
S

Sales Intelligence Engine

AI-powered sales ops automation for CRM

Created on 24th April 2026

•

S

Sales Intelligence Engine

AI-powered sales ops automation for CRM

The problem Sales Intelligence Engine solves

Sales teams at B2B companies waste hours every week on repetitive operational tasks: manually generating quotations, proposals, and pricing documents for each deal; updating CRM records after client meetings; monitoring deal health across pipelines; and coordinating across Gmail, Google Drive, Slack, and their CRM. These fragmented workflows create bottlenecks, slow down deal velocity, and introduce human error — especially for lean sales teams managing multiple enterprise deals simultaneously.

Challenges we ran into

Integrating multiple external APIs (Monday.com GraphQL, Google Drive, Gmail, Slack) into a cohesive pipeline required careful orchestration — especially handling template-based document generation (Excel quotations, PowerPoint proposals) while preserving formatting and merged cells. Parsing unstructured MoM documents with Claude to extract structured CRM updates reliably was another challenge, requiring prompt engineering to produce consistent JSON output. Building a real-time deal health scoring system that weighs pipeline stages, stale contacts, and missing data into actionable alerts also required iterating on the scoring model.

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

  1. 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
  2. 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
  3. 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
  4. 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

Tracks Applied (1)

Hackathon Prizes

Sales Intelligence Engine solves a real internal workflow problem at Sembuh AI — automating B2B sales operations across ...Read More

Discussion

Builders also viewed

See more projects on Devfolio