Templates / Triage and route Gmail leads with Groq, Notion CRM, and Twilio calls

Triage and route Gmail leads with Groq, Notion CRM, and Twilio calls

Ready for 3.0

by Fahmi Fahreza ✓ · 5 views · created 2026-10-02 · Ticket Management, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 16 nodes and runs on Gmail events. Along the way it connects Gmail, Groq Chat Model and Notion.

How it runs

Trigger: On Gmail events.

  1. Determine Task Importance (Basic LLM Chain): sends a prompt to an LLM, with model: Groq Chat Model
  2. Set Importance Field (Edit Fields (Set)): sets 1 field: important
  3. If: checks a condition and branches into true / false
  4. Fetch Member Manager Data (Notion): get many (database page)
  5. Fetch Company Data (Notion): get many (database page)
  6. Merge: merges the data from its input branches
  7. Map Emails and Manager Info (Code): runs custom JavaScript code
  8. Route by Manager Skills (Basic LLM Chain): sends a prompt to an LLM, with model: Groq Chat Model
  9. Set Manager and Company Fields (Edit Fields (Set)): sets 13 fields: notes, company_name, primary_contact…
  10. If: checks a condition and branches into true / false

…plus 3 more steps. See the full node list below.

Services it uses

GmailGroq Chat ModelNotion

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

Quick Overview This workflow checks unread Gmail messages every hour, uses Groq-hosted LLM prompts to triage importance and route emails to the right manager, then updates a Notion CRM database, forwards an assignment email via Gmail, and triggers a Twilio…

Excerpt from Fahmi Fahreza's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.