Gmail Thread Sentiment Tracker

Daily AI-powered email thread sentiment tracking that scores tone trajectory, urgency signals, competitor mentions, and ghost risk — flags at-risk deals before conversations go cold.

Daily AI-powered email thread sentiment tracking that scores tone trajectory, urgency signals, competitor mentions, and ghost risk — flags at-risk deals before conversations go cold.

triggerSchedule01FetcherGmail Threads02EnricherPipedrive Deals03AnalystPer-Thread TSSSplitInBatches04AggregatorRank by Risk05FormatterDigest + NotesSlackDaily DigestPipedriveDeal Notes

How the Gmail Thread Sentiment Tracker Works

The Fetcher

Step 1The Fetcher

Code-only

Retrieves email threads from Gmail for your configured sales rep addresses. Pulls thread-level messages within your lookback window, capping at the most recent messages per thread to focus on current sentiment.

The Enricher

Step 2The Enricher

Code-only

Matches email thread participants to active Pipedrive deals by email address. Enriches each thread with deal title, value, stage, and owner so the Analyst can weight sentiment findings against pipeline impact.

The Analyst

Step 3The Analyst

Tier 2 Classification

Scores each thread individually via SplitInBatches across 4 sentiment dimensions (25% each): tone trajectory, urgency signals, competitor references, and ghost risk. Produces a Thread Sentiment Score (TSS) from 1-10 with chain-of-thought reasoning.

The Aggregator

Step 4The Aggregator

Code-only

Collects all scored threads from the SplitInBatches loop. Ranks by deal value multiplied by risk score. Groups into four classifications: healthy (8-10), neutral (5-7), concerning (3-4), and critical (1-2).

The Formatter

Step 5The Formatter

Tier 3 Creative

Generates a Slack daily digest with flagged threads ranked by deal value at risk, plus Pipedrive deal notes for critical and concerning threads. Each alert includes the TSS score, key finding, and recommended action.

What It Does NOT Do

×

Does not monitor Slack channel sentiment — use Deal Sentiment Monitor (#42) for Slack-based deal sentiment

×

Does not classify individual inbound emails — use Email Intent Classifier (#11) for per-email intent scoring

×

Does not measure response speed — use Gmail Sales Response Time Analyzer (#57) for response velocity tracking

×

Does not send automated follow-up emails — it flags threads for human review and action

×

Does not read full email body text from Gmail — it uses thread snippets and the most recent messages per thread

×

Does not provide real-time alerts — daily batch analysis runs on a weekday schedule

The Complete Customer Success Bundle

6 files. Main workflow + scheduler + prompts + docs.

gmail_thread_sentiment_tracker_v1_0_0.jsonMain workflow (32 nodes)
gmail_thread_sentiment_tracker_scheduler_v1_0_0.jsonScheduler workflow (3 nodes)
README.md10-minute setup guide
system_prompts/analyst_system_prompt.mdAnalyst prompt (per-thread sentiment scoring)
system_prompts/formatter_system_prompt.mdFormatter prompt (Slack digest + Pipedrive notes)
docs/TDD.mdTechnical Design Document

Tested. Measured. Documented.

Daily per-thread sentiment scoring across 4 dimensions with deal-weighted risk ranking and Slack digest delivery.

Model

Sonnet 4.6 (SINGLE-MODEL)

Nodes

32 + 3

Agents

5

Pattern

PER_RECORD (per-thread SplitInBatches)

Trigger

Schedule (daily 8:00 UTC weekdays) + Webhook

LLM Calls / Run

1 per thread + 1 per run

cost_per_thread

$0.02-$0.04

Gmail Thread Sentiment Tracker v1.0.0───────────────────────────────────────────────Nodes            32 (main) + 3 (scheduler)Agents           5 (Fetcher, Enricher, Analyst, Aggregator, Formatter)LLM Calls        1 per thread (Analyst) + 1 per run (Formatter)Model            Sonnet 4.6 (SINGLE-MODEL)Trigger          Schedule (daily 8:00 UTC weekdays) + WebhookPattern          PER_RECORD (per-thread SplitInBatches)Tool A           Gmail (OAuth2) — thread-level message retrievalTool B           Pipedrive (pipedriveApi) — deal matching by emailTool C           Slack (httpHeaderAuth) — daily digest with flagged threadsITP              20 records, 14 milestonesBQS              12/12 PASSCost             $0.02–$0.04 per thread

What You'll Need

Platform

n8n 2.7.5+

Est. Monthly API Cost

Per-thread cost ~$0.02-0.04. 20 threads/day ~$8-16/month.

Credentials Required

  • Anthropic API
  • Gmail OAuth2 (gmail.readonly scope)
  • Pipedrive API (pipedriveApi type)
  • Slack (Bot Token, httpHeaderAuth Bearer)

Services

  • Gmail API (free with Google Cloud project)
  • Pipedrive account ($12.50+/user/mo)
  • Slack workspace (Bot Token with chat:write scope)
  • Anthropic API key

Setup Track

Quick Start

~15 min

All credentials live, n8n running

Full Setup

1–2 hrs

Needs API config + tables

From Scratch

2–4 hrs

No n8n, no credentials

Gmail Thread Sentiment Tracker v1.0.0

$199

one-time purchase

What you get:

  • Production-ready n8n workflow (32 nodes + 3-node scheduler)
  • Per-thread sentiment scoring across 4 dimensions via SplitInBatches
  • Thread Sentiment Score (TSS) 1-10 with chain-of-thought reasoning
  • 4 sentiment dimensions: tone trajectory, urgency signals, competitor references, ghost risk
  • Automatic deal matching via Pipedrive — threads ranked by deal value at risk
  • Slack daily digest with flagged threads and recommended actions
  • Pipedrive deal notes for critical and concerning threads
  • Configurable alert thresholds, lookback window, and rep email list
  • ITP test protocol with 20 thread record fixtures
  • Full technical documentation and system prompts

Frequently Asked Questions

How does it score email thread sentiment?+

Each thread is scored individually across 4 dimensions (25% weight each): tone trajectory tracks how the conversation tone changes across messages, urgency signals detect deadline language and escalation markers, competitor references flag mentions of alternative vendors, and ghost risk measures reply frequency decline. The TSS is the average of all four scores.

What do the TSS classifications mean?+

TSS 8-10 means healthy engagement with no concerns. TSS 5-7 is neutral — standard business communication. TSS 3-4 is concerning — early warning signs like declining tone or competitor mentions. TSS 1-2 is critical — the thread shows hostile language, ultimatums, or the prospect is going silent.

How does deal matching work?+

The Enricher queries your Pipedrive instance for open deals and person records. It maps email addresses from thread participants to Pipedrive persons, then links those persons to their active deals. This gives each thread a deal context — title, value, stage, and owner.

How is this different from Deal Sentiment Monitor?+

Deal Sentiment Monitor (#42) analyzes Slack channel messages for deal sentiment in real time. Gmail Thread Sentiment Tracker analyzes email thread trajectories over multiple messages. Different data source (email vs Slack) and different scope (longitudinal thread analysis vs per-message scoring).

How is this different from Email Intent Classifier?+

Email Intent Classifier (#11) classifies individual inbound emails into 7 intent categories. Gmail Thread Sentiment Tracker scores entire multi-message email threads across 4 sentiment dimensions. Single-email classification vs thread-level trajectory analysis.

How often does it run?+

The scheduler fires every weekday at 8:00 UTC by default, analyzing threads from the past 7 days. You can adjust the cron expression and lookback window. You can also trigger it manually via webhook at any time.

Does it use web scraping?+

No. All data comes from the Gmail API (OAuth2, gmail.readonly scope) and Pipedrive API. No web scraping, no page parsing.

Is there a refund policy?+

All sales are final after download. Review the Blueprint Dependency Matrix and prerequisites before purchase. Questions? Contact support@forgeworkflows.com before buying. Full terms at forgeworkflows.com/legal.

Read the full guide →

Related Blueprints