N
n8n Store
Workflow Market
Summarize Gmail Support Emails with Gemini and Post to Slack

Summarize Gmail Support Emails with Gemini and Post to Slack

by weblineindia0 views

Description

Categories

🤖 AI & Machine Learning

Nodes Used

n8n-nodes-base.slackn8n-nodes-base.stickyNoten8n-nodes-base.stickyNoten8n-nodes-base.gmailTrigger@n8n/n8n-nodes-langchain.chainLlm@n8n/n8n-nodes-langchain.lmChatGoogleGemini
PriceFree
Views0
Last Updated11/28/2025
workflow.json
{
  "id": "rI3h3XeNlHNt713L",
  "meta": {
    "instanceId": "14e4c77104722ab186539dfea5182e419aecc83d85963fe13f6de862c875ebfa",
    "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": {
          "id": "z5bwgGNZFyahaeS7",
          "name": "Google Gemini(PaLM) Api account 4"
        }
      },
      "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": {
          "id": "zvYmbQlDWxyBtn9A",
          "name": "Gmail account 20"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "bf34439a-9d63-47e8-9812-28c3931a76d3",
      "name": "Post Summary to Slack User",
      "type": "n8n-nodes-base.slack",
      "position": [
        596,
        0
      ],
      "webhookId": "ba52c998-782b-4b90-883e-437532b1e06c",
      "parameters": {
        "text": "={{ $json.text }}",
        "user": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "select": "user",
        "otherOptions": {}
      },
      "credentials": {
        "slackApi": {
          "id": "HlObxWRUmnuebuJP",
          "name": "Interview_feedback_Slack"
        }
      },
      "typeVersion": 2.3
    }
  ],
  "active": false,
  "pinData": {},
  "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
          }
        ]
      ]
    }
  }
}

相关工作流