n8n workflow · 7 steps · zero manual triage

  1. 01Form submission
  2. 02Generate lead ID
  3. 03Log to Google Sheets
  4. 04Gemini analysis
  5. 05Write AI fields
  6. 06Client + team emails
  7. 07Mark as sent

Overview

An automated agency lead-processing pipeline for NativOdds. Every contact-form submission becomes a tracked, AI-scored lead — with a confirmation email to the client and an alert to the team.

Inputs are the client's name, email, phone, budget and project description.

How it works

An n8n form trigger fires on each new lead. A code node generates a unique LEAD- tracking ID, the raw input is appended to Google Sheets, and Gemini analyses the brief and returns a structured evaluation.

The AI output is written back to the matching row, responsive HTML emails go out to the client and the internal team, and the row's email status is set to “Sent”.

What Gemini adds to every lead

  • Lead score (High / Low)
  • Category
  • Recommended tech stack
  • Estimated effort
  • Client intent analysis
  • Next action steps
  • Email status
  • Year

    2026

  • Client

    NativOdds

  • Service

    AI Automation

  • Stack

    n8n · Gemini · Sheets

Built with

Automation: n8n. AI: Google Gemini API. Logic: JavaScript code nodes. Storage: Google Sheets API. Email: SMTP nodes with custom responsive HTML/CSS templates.

View the workflow on GitHub