← All work

SmartFan

AI brand intelligence and share-of-voice tracker

Role
Solo Developer
Timeline
Aug 2025
Context
Personal project

The outcome

  1. 87% F1 on a hand-labelled sentiment evaluation set.
  2. Architecture directly informed the GEO retrieval pipelines later built at Gravton Labs.

The challenge

An automated brand-intelligence pipeline tracking sentiment and share of voice across Twitter, YouTube and Google. The direct ancestor of the GEO retrieval work later built at Gravton Labs.

Tracking how a brand is discussed across platforms is a data-collection problem before it's a model problem — different APIs, different rate limits, different content shapes, all needing one comparable sentiment signal.

The system

n8n orchestrates collection across Twitter, YouTube and Google APIs; Gemini 2.5 Flash does multimodal entity tagging and sentiment scoring; results aggregate into share-of-voice dashboards.

tweet textSERP JSONreview textSERP JSONsnippetssentimentn8n workflowone run, nine branchesTwitter / X searchbrand queriesSerpAPI · Flipkart4 brands, same templateSerpAPI · Google3 category keywordsYouTube Data APItop results per querySnippet extract + splitone item per reviewSERP SoV scorermentions · rank · ratingMention counterbrand in title or descGemini 2.5 Flashentity tagging · sentimentShare of positive voicepositives / items fetchedShare of voiceweighted 0.4 · 0.3 · 0.3Share-of-Voice Dashboardper-brand comparison
SmartFan — one n8n run fanning out to every platform, Gemini tagging, two share-of-voice signals

The hard parts

  1. One sentiment signal across three platforms

    Multimodal entity tagging and sentiment scoring with Gemini 2.5 Flash reached 87% F1 on a hand-labelled evaluation set — the hand-labelling being what made the number trustworthy.

What I took from it

  • Hand-labelling the evaluation set is what makes the number mean anything. 87% F1 is only a claim because the ground truth was built by hand rather than inherited from another model's output.
  • One signal across three platforms needs a normalisation layer before it needs a model. The platforms disagree on structure, length and tone, and a tagger applied to raw feeds is really learning the platform, not the sentiment.
  • This was the first version of a problem I'd get to solve properly later — the ingestion here fed the crawler at Gravton, where the missing piece turned out to be deciding what's worth fetching before fetching it.

Stack

Model
Gemini 2.5 Flash
Pipelines
n8n, Twitter API, YouTube API, Google APIs

Timeline

  1. Aug 2025

    Built end to end.

Download resume