Answer Gmail support emails from your docs with Gemini and Slack
Ready for 3.0What this workflow does
This AI workflow has 33 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Gmail, Google Gemini Chat Model and Slack.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Indexing Settings (Edit Fields (Set)): sets 6 fields: docs_sitemap, url_must_contain, max_pages…
- Answer Settings (Edit Fields (Set)): sets 5 fields: embedding_model, dimensions, passages…
- Fetch The Sitemap (HTTP Request): calls an HTTP API
- Read The Question (Code): runs custom JavaScript code
- Read The Sitemap (Code): runs custom JavaScript code
- Embed The Question (HTTP Request): calls an HTTP API (POST)
- Is It An Index Of Sitemaps? (If): checks a condition and branches into true / false
- Load The Whole Index (Data table): get
- Fetch Each Child Sitemap (HTTP Request): calls an HTTP API
- Gather Every Page URL (Merge): merges the data from its input branches
…plus 20 more steps. See the full node list below.
Services it uses
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 (12)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Merge
n8n-nodes-base.merge - Data table
n8n-nodes-base.dataTable - Gmail Trigger
n8n-nodes-base.gmailTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack
From the author
Quick Overview This workflow indexes your documentation from a sitemap into an n8n Data Table using Google Gemini embeddings, then monitors a Gmail support label to draft grounded replies from the closest passages or escalate gaps to Slack and log them for…