AutomationFlowsAI & RAG › Summarize Gmail Support Emails with Gemini and Post to Slack

Summarize Gmail Support Emails with Gemini and Post to Slack

ByWeblineIndia @weblineindia on n8n.io

This workflow automatically checks your Gmail inbox for new support emails, summarizes them using Google Gemini and posts concise summaries directly into Slack. Instead of manually reading long support emails, your team can stay updated with short, actionable insights in…

Event trigger★★☆☆☆ complexityAI-powered6 nodesChain LlmGoogle Gemini ChatGmail TriggerSlack
AI & RAG Trigger: Event Nodes: 6 Complexity: ★★☆☆☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #7594 — we link there as the canonical source.

This workflow follows the Chainllm → Gmail Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "rI3h3XeNlHNt713L",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Summarize Gmail Support Emails with Gemini and Post to Slack",
  "tags": [],
  "nodes": [
    {
      "id": "9d09b409-d0ac-4967-8275-70bf243d2980",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -100
      ],
      "parameters": {
        "width": 920,
        "height": 480,
        "content": "## Summarize Gmail Support Emails with Gemini and Post to Slack"
      },
      "typeVersion": 1
    },
    {
      "id": "33c3e491-4772-4029-80be-bf67fa80eb15",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        400
      ],
      "parameters": {
        "width": 920,
        "height": 460,
        "content": "# **Node Breakdown & Descriptions:**\n\n### \\* The workflow starts with a **Gmail Trigger** node named **\"Check Support Emails\"**, which activates whenever a new Gmail support email arrives. This initiates the workflow by passing the email content forward for processing.\n\n### \\* The next node, named **\"Summarize Email and sent to Slack\"**, acts as a processing bridge. It takes the raw Gmail email body and sends it to the connected AI model for summarization before forwarding the processed result downstream.\n\n### \\* The **Google Gemini** node named **\"Google Gemini To Summarize Email\"** uses the Gemini LLM model to generate a concise summary of the email. This ensures only the key points are extracted instead of sending the entire raw email.\n\n### \\* Finally, the **Slack** node named **\"Post Summary to Slack User\"** posts the summarized email content into a designated Slack channel. This allows the support team to stay updated with short, actionable summaries instead of sifting through full emails."
      },
      "typeVersion": 1
    },
    {
      "id": "b2fa6be6-4ff2-4b60-b70a-b6ace8e71834",
      "name": "Summarize Email and sent to Slack",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        220,
        0
      ],
      "parameters": {
        "text": "=\"Summarize the following email: Subject - {{ $json.subject }}, From - {{ $json.from }}, Body - {{ $json.text }}.\"",
        "batching": {},
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "2083511b-05ee-401b-95e3-3d860120e5b1",
      "name": "Google Gemini To Summarize Email",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        320,
        180
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-1.5-flash"
      },
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "4b12dee3-c9b1-4116-a013-b6ead2da488d",
      "name": "Check Support Emails",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        0,
        0
      ],
      "parameters": {
        "simple": false,
        "filters": {},
        "options": {},
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        }
      },
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "bf34439a-9d63-47e8-9812-28c3931a76d3",
      "name": "Post Summary to Slack User",
      "type": "n8n-nodes-base.slack",
      "position": [
        596,
        0
      ],
      "parameters": {
        "text": "={{ $json.text }}",
        "user": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "select": "user",
        "otherOptions": {}
      },
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.3
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2e5586d0-0916-4543-8c4c-ec782649b6a2",
  "connections": {
    "Check Support Emails": {
      "main": [
        [
          {
            "node": "Summarize Email and sent to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini To Summarize Email": {
      "ai_languageModel": [
        [
          {
            "node": "Summarize Email and sent to Slack",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Summarize Email and sent to Slack": {
      "main": [
        [
          {
            "node": "Post Summary to Slack User",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This workflow automatically checks your Gmail inbox for new support emails, summarizes them using Google Gemini and posts concise summaries directly into Slack. Instead of manually reading long support emails, your team can stay updated with short, actionable insights in…

Source: https://n8n.io/workflows/7594/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

Customer support teams and operations managers who receive support requests via email and need automated triage. Works well for small to mid-size teams using Notion as their ticket tracker.

Gmail Trigger, Chain Llm, Google Gemini Chat +2
AI & RAG

Content - Newsletter Agent. Uses formTrigger, chainLlm, outputParserStructured, httpRequest. Event-driven trigger; 91 nodes.

Form Trigger, Chain Llm, Output Parser Structured +8
AI & RAG

Content - Newsletter Agent. Uses formTrigger, chainLlm, outputParserStructured, httpRequest. Event-driven trigger; 87 nodes.

Form Trigger, Chain Llm, Output Parser Structured +7
AI & RAG

CV → Match → Screen → Decide, all automated

HTTP Request, Information Extractor, Google Sheets +7
AI & RAG

3969. Uses slack, lmChatGoogleGemini, chainLlm, executeWorkflowTrigger. Event-driven trigger; 47 nodes.

Slack, Google Gemini Chat, Chain Llm +1