Skip to content

Repository files navigation

Field Intel - Voice Notes CRM

Transform voice notes into actionable sales data. Automatically transcribe, analyze, and sync to your CRM.

Overview

Field Intel helps sales reps eliminate hours of manual data entry by turning voice notes into structured CRM data. After each client conversation, reps simply record their thoughts - the app instantly transcribes, analyzes, and pushes structured data directly into your existing CRM.

Key Features

  • Voice Recording: Capture meeting notes on the go with our intuitive voice recorder
  • AI Transcription: Automatic speech-to-text conversion with high accuracy
  • Sentiment Analysis: Understand the emotional tone of conversations
  • BANT Analysis: Automatic extraction of Budget, Authority, Need, and Timeline signals
  • Action Items: AI-powered extraction of follow-up tasks with priorities
  • CRM Integration: Seamless sync with Salesforce, HubSpot, and Pipedrive
  • Real-time Dashboard: Track your sales activities and insights

Target Market

  • 5-50 person sales teams
  • Field sales representatives
  • Sales managers and directors
  • Companies using Salesforce, HubSpot, or Pipedrive

Tech Stack

  • Framework: Next.js 15
  • Language: TypeScript
  • Styling: Tailwind CSS v4
  • UI Components: shadcn/ui
  • Icons: Lucide React
  • Date Handling: date-fns

Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

  1. Clone the repository:
git clone <repository-url>
cd yappnotes
  1. Install dependencies:
npm install
  1. Run the development server:
npm run dev
  1. Open http://localhost:3000 in your browser

Building for Production

npm run build
npm start

Project Structure

yappnotes/
├── app/                          # Next.js app directory
│   ├── layout.tsx               # Root layout
│   ├── page.tsx                 # Main dashboard page
│   └── globals.css              # Global styles
├── components/
│   ├── ui/                      # shadcn/ui components
│   │   ├── button.tsx
│   │   ├── card.tsx
│   │   ├── input.tsx
│   │   ├── tabs.tsx
│   │   ├── badge.tsx
│   │   └── dialog.tsx
│   ├── dashboard/               # Dashboard components
│   │   ├── stats-overview.tsx
│   │   ├── recent-notes.tsx
│   │   └── note-detail.tsx
│   └── voice-recorder.tsx       # Voice recording component
├── lib/
│   ├── types.ts                 # TypeScript type definitions
│   ├── mock-data.ts             # Mock data for demo
│   ├── utils.ts                 # Utility functions
│   └── services/                # Service layer
│       ├── transcription.ts     # Audio transcription service
│       ├── ai-analysis.ts       # AI analysis service
│       └── crm-integration.ts   # CRM integration service
└── public/                      # Static assets

Features in Detail

Voice Recording

  • Browser-based audio capture using Web Audio API
  • Real-time audio level visualization
  • Recording time tracker
  • High-quality audio encoding

AI Analysis

The app analyzes voice notes to extract:

  • Sentiment: Positive, neutral, or negative tone with confidence scores
  • Buying Signals: BANT framework analysis
    • Budget indicators
    • Authority/decision-maker identification
    • Need/pain point recognition
    • Timeline signals
  • Action Items: Automatically extracted tasks with priorities and due dates
  • Key Points: Summary of important discussion topics
  • Competitor Mentions: Track competitive intelligence

CRM Integration

Supports integration with:

  • Salesforce
  • HubSpot
  • Pipedrive

Each voice note can be automatically synced to create:

  • Activity records
  • Contact updates
  • Opportunity updates
  • Task creation

Configuration

Environment Variables

Copy .env.example to .env.local and fill in your credentials:

cp .env.example .env.local

Required Environment Variables

  1. OpenAI API Key (Get from https://platform.openai.com/api-keys)

    NEXT_PUBLIC_OPENAI_API_KEY=sk-proj-your-key-here
  2. Clerk Authentication (Get from https://dashboard.clerk.com)

    NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_your-key-here
    CLERK_SECRET_KEY=sk_test_your-key-here
  3. Database (Vercel Postgres or any PostgreSQL database)

    DATABASE_URL=postgres://user:password@host:5432/database?sslmode=require

Model Configuration

The app uses cost-effective GPT-5 Nano for AI analysis:

OPENAI_ANALYSIS_MODEL=gpt-5-nano-2025-08-07
OPENAI_WHISPER_MODEL=whisper-1

API Integration

The app now uses real OpenAI APIs with automatic fallback to mock data if API keys are not configured:

  1. ✅ Transcription: Integrated with OpenAI Whisper API (lib/services/transcription.ts)
  2. ✅ AI Analysis: Integrated with GPT-5 Nano (lib/services/ai-analysis.ts)
  3. 🔄 CRM: Framework ready for OAuth implementation (lib/services/crm-integration.ts)

Deployment

Deploy to Vercel (Recommended)

  1. Fork or Clone the Repository

    git clone <repository-url>
    cd yappnotes
  2. Install Dependencies

    npm install
  3. Set up Clerk Authentication

  4. Set up OpenAI API

  5. Deploy to Vercel

    npm install -g vercel
    vercel
  6. Set up Vercel Postgres

    • In Vercel Dashboard → Storage → Create Database → Postgres
    • Copy connection string to environment variables
    • Run migrations:
      npx prisma db push
  7. Add Environment Variables in Vercel

    • Go to Project Settings → Environment Variables
    • Add all variables from .env.local
  8. Redeploy

    vercel --prod

Database Migrations

After any schema changes:

# Generate Prisma client
npx prisma generate

# Push schema to database
npx prisma db push

# (Optional) Create migration
npx prisma migrate dev --name your_migration_name

Roadmap

Phase 1 ✅ (Current)

  • ✅ Voice recording interface
  • ✅ OpenAI Whisper transcription integration
  • ✅ GPT-5 Nano AI analysis integration
  • ✅ Clerk authentication
  • ✅ Prisma + Postgres database
  • ✅ Dashboard with analytics
  • ✅ CRM integration framework
  • ✅ Vercel deployment ready

Phase 2 (In Progress)

  • Database API routes for voice notes
  • Save notes to Postgres
  • User-specific note filtering
  • Real-time note updates
  • OAuth flows for CRM platforms

Phase 3

  • Meeting summaries and transcripts
  • Competitor tracking dashboard
  • Team analytics for managers
  • Webhooks for CRM sync
  • Mobile-responsive improvements

Phase 4

  • Mobile app (React Native)
  • Opportunity intelligence predictions
  • Pipeline forecasting
  • Custom analysis rules
  • Multi-language support
  • Voice note sharing

Business Model

  • Pricing: $49-99 per user/month
  • Target ARR: $1M-$10M
  • Market: 5-50 person sales teams
  • Expansion: Enterprise features, industry-specific models

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.

Support

For support, email support@fieldintel.com or open an issue in the repository.

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages