Classify and route client inquiries with n8n and Gemini

A freelancer built an n8n workflow that standardizes Gmail and form inquiries, classifies them with Gemini, logs to Sheets and routes to Slack.

Difficulty
BeginnerOur rating
Time to build
Not reportedOur estimate
Monthly cost
Not reported
Revenue
Not reportedWe only show revenue the source states
Engagement
1 X like1 reply Β· 0 reposts Β· fetched Oct 15, 2026

What they did

@JiggleBoxStudio replaced a client’s manual sorting of Gmail and Tally inquiries.

How it went

The key fix was a bad field mapping that sent empty data to the AI.

Worth knowing

Validate inputs before the AI step.

Builder recipe

Our own starting point, written from the source. Adapt it to your setup.

Stack

  • n8n
  • Gemini
  • Google Sheets
  • Slack

Steps

  1. Collect the incoming channel (inbox, form, tickets) into one workflow.
  2. Have the model classify and extract fields, returning structured JSON.
  3. Route or draft replies; keep a human approval step for anything customer-facing.
  4. Log results and review misclassifications weekly.

Starter prompt

Classify this inquiry as sales, support, partnership or spam, extract name, company and budget, and return JSON.

Tags

Read the original

Related use cases

The Daily 5.

Five real AI agent use cases each morning, each with a recipe and a source. Plus a Sunday roundup. Free.