Gmail Email Summarizer via Gemini to Slack - n8n Workflow

Automate support queues by using this powerful n8n workflow to summarize incoming Gmail emails with Google Gemini and instantly post actionable summaries to Slack channels or users, utilizing reliable n8n templates.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Support teams needing instant, summarized visibility into incoming tickets.
Automation specialists looking for robust n8n templates integrating Google AI.
Users seeking to reduce email overload by automating content extraction using a specialized n8n node.
Developers configuring a reliable n8n workflow for internal communication and monitoring.

Overview

Handling high volumes of support emails can often lead to delayed responses and operational inefficiency. This specialized n8n workflow solves this critical challenge by streamlining the communication process. It uses a robust n8n trigger to instantly capture new Gmail messages based on specific criteria. Instead of forwarding the lengthy raw email, the content is passed through the powerful Google Gemini model for sophisticated summarization. The resulting concise summary is then automatically pushed directly to a specified Slack channel or user. This efficient n8n workflow significantly improves response times and ensures team members only focus on the critical details extracted by the AI, making this one of the most useful n8n templates for efficient operational scaling using every functional n8n node.

How it Works

This automation is initiated by the Check Support Emails n8n trigger, which continuously monitors the configured Gmail account every minute for new messages. Once a new email is detected, the full email object (including subject, sender, and body) is passed to the Summarize Email and sent to Slack n8n node. This specialized n8n node is configured to utilize expression logic and prompt the connected Google Gemini To Summarize Email n8n node. The Gemini model processes the raw text based on the specific summarization prompt, generating a short, actionable summary. Finally, the resulting summary text generated by the AI is received by the Post Summary to Slack User n8n node, which executes the final action of posting the concise summary to a pre-defined Slack destination, completing the execution of this powerful and efficient n8n workflow.

Installation Guide

To set up this n8n workflow and deploy these n8n templates successfully, follow these setup steps:


  1. Import: Copy the provided JSON code and paste it into your n8n instance using the "New" button and selecting "Import from JSON".

  2. Gmail Credential Setup: Locate the Check Support Emails n8n trigger. Click on the credentials field and add a new Gmail OAuth2 credential, authorizing n8n to access your desired mailbox.

  3. Google Gemini Credential Setup: Find the Google Gemini To Summarize Email n8n node. Configure the required API key credential to allow this n8n node to communicate with the Google Gemini API.

  4. Slack Credential Setup: Update the Post Summary to Slack User n8n node with your Slack API credentials. Ensure the token has the necessary permissions to post messages to the selected channel or user.

  5. Activation: Once all credentials are set for every n8n node in this n8n workflow, activate the workflow to enable continuous monitoring by the n8n trigger.

Node Details

Check Support Emails (Gmail Trigger):
Function: This crucial n8n trigger node starts the n8n workflow upon detecting new emails in the linked Gmail account.
Key Configuration: Set to poll everyMinute to ensure timely detection of new support requests, making it a reliable n8n trigger.
Summarize Email and sent to Slack (Chain LLM n8n node):
Function: Acts as the logic gateway, defining the prompt structure used for summarization, passing the input (email data) to the AI model connected via this n8n node.
Key Configuration: The prompt template is set to dynamically pull email data: Summarize the following email: Subject - {{ $json.subject }}, From - {{ $json.from }}, Body - {{ $json.text }}.
Google Gemini To Summarize Email (LangChain Gemini n8n node):
Function: Connects to the Google Gemini LLM via an n8n node to execute the complex summarization task defined by the previous chain.
Key Configuration: Uses the high-speed and capable models/gemini-1.5-flash model for generating summaries quickly within the n8n workflow.
Post Summary to Slack User (Slack n8n node):
Function: Executes the final action of the n8n workflow, sending the AI-generated summary text to a designated Slack channel or user.
Key Configuration: Uses the expression {{ $json.text }} to dynamically insert the summary generated by the Gemini n8n node into the Slack message body.

Related n8n Workflows

Free

Nodes: 5 Nodes
Updated: December 26 2025
View all
Created by

A Leading Software Engineering, Consulting & Outsourcing Services Company in USA & India serving Clients Globally since 1999.

Featured*