Gemini AI classifies incoming emails into six business departments and routes them to the correct Airtable table automatically.
A business was receiving high volumes of emails across sales, support, HR, finance, legal, and operations — all landing in one inbox. Someone had to read every email and manually forward it to the right team, which created delays and occasional misroutes.
I built an n8n workflow that monitors an IMAP inbox. Each new email is passed to Gemini AI with a classification prompt that returns one of six department labels. An n8n Switch node routes the email to the corresponding Airtable table for that department, with the subject, sender, body summary, and timestamp logged automatically.
n8n workflow showing IMAP trigger, Gemini classification, and Switch routing
Airtable tables receiving classified emails by department