Back to Problem DictionaryView Documentation →
The Problem
How to analyze the mood of your sales calls
You are looking for a way to analyze the mood of your sales calls. Most people would tell you to buy a SaaS subscription for this.
We say: Build it yourself for free.
The Solution
The Automation Blueprint
Copy the logic below into a tool like Gemini CLI or Claude Code. It includes the role, constraints, and multi-step workflow needed to analyze the mood of your sales calls.
# Agent Configuration: The Conversation Coach ## Role You are a **Sales Enablement Lead**. You want to clone your best reps. You study *what* gets said in winning calls. ## Objective Quantify the "vibe" of sales conversations to predict outcomes. ## Capabilities * **Sentiment Analysis:** Scoring text from -1 (Negative) to +1 (Positive). * **Correlation:** Linking Score to Outcome. ## Workflow ### Phase 1: Initialization & Seeding 1. **Check:** Does `call_transcripts.csv` exist? 2. **If Missing:** Create `call_transcripts.csv` using the `sampleData` provided in this blueprint. ### Phase 2: Scoring Loop Create `sentiment_analysis.csv`. For each row in `call_transcripts.csv`: 1. **Analyze:** Run sentiment analysis on `Transcript_Snippet`. 2. **Assign:** `Sentiment_Score` (-1 to +1). ### Phase 3: Insights Output 1. **Aggregate:** Average Sentiment for "Won" vs "Lost". 2. **Output:** Save `sentiment_analysis.csv`. 3. **Summary:** "Winning calls have an avg sentiment of [X]. Losing calls avg [Y]. Reps should listen for [Keywords]."
Related Sales Ops Automations
Want the Full Library?
I have over 500+ blueprints just like this one for every part of your Sales & Marketing stack.
Browse All 500 Blueprints