Skip to main content

Send AI-summarized unread email alerts to Slack using GPT-4o and Gmail

Workflow preview

Workflow preview
100%
Send AI-summarized unread email alerts to Slack using GPT-4o and Gmail preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Who is this for? If you’re overwhelmed with incoming emails but only want to be notified about the essentials, this workflow is for you. Perfect for busy professionals who want a short AI summary o...

Best for

  • AI Summarization automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.gmailtrigger, n8n-nodes-base.gmail, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.slack, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Matt Chong | n8n Creator.

Original n8n.io source

1.1 Workflow description

Title
Send AI-summarized unread email alerts to Slack using GPT-4o and Gmail
Workflow name
Send AI-summarized unread email alerts to Slack using GPT-4o and Gmail

Who is this for?

If you’re overwhelmed with incoming emails but only want to be notified about the essentials, this workflow is for you. Perfect for busy professionals who want a short AI summary of new emails delivered directly to Slack.

What does it solve?

Reading every email wastes time. This workflow filters out the noise by:

  • Automatically summarizing each unread Gmail email using AI
  • Sending you just the sender and a short summary to Slack
  • Helping you stay focused without missing key information

How it works

  • Every minute, the workflow checks Gmail for unread emails
  • When it finds one, it:
    • Extracts the email content
    • Sends it to OpenAI’s GPT model for a 250-character summary
    • Delivers the message directly to Slack

How to setup?

  1. Connect your accounts:
    • Gmail (OAuth2)
    • OpenAI (API key or connected account)
    • Slack (OAuth2)
  2. Edit the Slack node:
    • Choose the Slack user/channel to send alerts to
  3. Optional: Adjust the AI prompt in the “AI Agent” node to modify the summary style
  4. Optional: Change polling frequency in the Gmail Trigger node

How to customize this workflow to your needs

  • Edit the AI prompt to:
    • Highlight urgency
    • Include specific keywords
    • Extend or reduce summary length
  • Modify the Slack message format (add emojis, tags, or links)

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Trigger on Unread Email

Type / Role
n8n-nodes-base.gmailTrigger - gmailTrigger
Config choices
Version 1.3

Block 2 - Get Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 3 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 4 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 5 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 6 - Send Notification to Slack

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 7 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Send AI-summarized unread email alerts to Slack using GPT-4o and Gmail
Complexity intermediate
Nodes 10
Categories AI Summarization, Multimodal AI
Author Matt Chong | n8n Creator
Published 20 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7622/7622.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Send AI-summarized unread email alerts to Slack using GPT-4o and Gmail do?

Who is this for? If you’re overwhelmed with incoming emails but only want to be notified about the essentials, this workflow is for you. Perfect for busy professionals who want a short AI summary o...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your AI Summarization, Multimodal AI use case.