Case Study

AI Lead Intake & Triage Agent

An n8n + Google Gemini automation that classifies inbound lead urgency and drafts a reply the moment a new lead comes in — built and tested end-to-end on our own lead data.

Built by

Kasa Tech (in-house)

Problem

Leads sat in an inbox with no automatic urgency flag

Stack

n8n, Google Gemini API, Webhooks, SMTP

Status

Built & tested

The Challenge

This is the exact problem we pitch clients on fixing — so we felt it ourselves first. Every new inquiry on this site lands as a plain email. Nothing separates a high-intent buyer ready to book a call from a low-priority "just looking" message, and nothing responds until we manually check the inbox. On a good day that's a short delay; on a busy one, it's hours — exactly the kind of slow, manual step we tell prospects to automate.

The Solution

We built a webhook-driven pipeline in n8n that takes a new lead, runs it through Google Gemini to classify urgency and draft a first-pass reply, then branches: anything flagged high-intent triggers an instant email alert to the team, so it never waits behind lower-priority messages.

How it works

Six steps, fully automated once a lead comes in.

1

Webhook trigger

New lead data hits the pipeline

2

Normalize data

Fields cleaned and structured

3

Gemini classifies

Urgency scored, reply drafted

4

Conditional check

Routes by urgency level

5

Team alerted

Instant email for "hot" leads

6

Respond

Webhook returns a result

What we validated

Running this against our own lead data end-to-end confirmed the pipeline itself works as designed:

Written by Kasa Tech. We build AI automation and custom software for startups and SMEs. About us

Want something like this for your business?

If leads, tickets, or approvals are sitting in an inbox waiting on a human, we can probably automate the first pass.

Get a Free Consultation