Templates / Update sales CRM and tasks from Gmail with Google Gemini and Google Sheets

Update sales CRM and tasks from Gmail with Google Gemini and Google Sheets

Ready for 3.0

by Oka Hironobu ✓ · 38 views · created 2026-08-11 · CRM, 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 12 nodes and runs on Gmail events. Along the way it connects Gmail, Google Gemini Chat Model, Google Sheets and Slack.

How it runs

Trigger: On Gmail events.

  1. Extract Deal Update with Gemini (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Deal Parser
  2. Shape Deal Update (Code): runs custom JavaScript code
  3. Update CRM Row (Google Sheets): append or update
  4. Log Next Action (Google Sheets): append
  5. Draft Follow-up Reply (Gmail): work with draft
  6. Route by Deal Risk (Switch): routes items into 2 branches
  7. Alert Deal at Risk (Slack): uses Slack
  8. Announce Closed Won (Slack): uses Slack
  9. Mark Email Processed (Gmail): mark as read

Services it uses

GmailGoogle Gemini Chat ModelGoogle SheetsSlack

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 (9)

From the author

Quick Overview This workflow monitors unread Gmail messages labeled “sales”, uses Google Gemini to extract structured deal updates and a suggested reply, writes the deal and next action to Google Sheets, drafts a follow-up email in the original thread, and…

Excerpt from Oka Hironobu'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.