Triage and route Gmail leads with Groq, Notion CRM, and Twilio calls
Ready for 3.0What 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.
- Determine Task Importance (Basic LLM Chain): sends a prompt to an LLM, with model: Groq Chat Model
- Set Importance Field (Edit Fields (Set)): sets 1 field: important
- If: checks a condition and branches into true / false
- Fetch Member Manager Data (Notion): get many (database page)
- Fetch Company Data (Notion): get many (database page)
- Merge: merges the data from its input branches
- Map Emails and Manager Info (Code): runs custom JavaScript code
- Route by Manager Skills (Basic LLM Chain): sends a prompt to an LLM, with model: Groq Chat Model
- Set Manager and Company Fields (Edit Fields (Set)): sets 13 fields: notes, company_name, primary_contact…
- If: checks a condition and branches into true / false
…plus 3 more steps. See the full node list below.
Services it uses
Other Groq + Gmail templates (125) · Other Notion + Gmail templates (120) · Other Gmail + Twilio templates (46)
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)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Notion
n8n-nodes-base.notion - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - HTTP Request
n8n-nodes-base.httpRequest
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…