Skip to main content

Summarize and triage your daily Gmail inbox into Slack with Groq Llama 3.3

Workflow preview

Workflow preview
100%
Summarize and triage your daily Gmail inbox into Slack with Groq Llama 3.3 preview
Open on n8n.io

1. Workflow Overview

Quick Overview This workflow runs every day at 8 AM, pulls the last 24 hours of emails from your Gmail Primary inbox, summarizes their full content using Groq’s Llama 3.3, and posts an actionable d...

Best for

  • Ticket Management automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.gmail, n8n-nodes-base.if, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatgroq, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.slack

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Filip Mijic.

Original n8n.io source

1.1 Workflow description

Title
Summarize and triage your daily Gmail inbox into Slack with Groq Llama 3.3
Workflow name
Summarize and triage your daily Gmail inbox into Slack with Groq Llama 3.3

Quick Overview

This workflow runs every day at 8 AM, pulls the last 24 hours of emails from your Gmail Primary inbox, summarizes their full content using Groq’s Llama 3.3, and posts an actionable daily inbox briefing to a Slack channel.

How it works

  1. Runs daily at 8 AM on a schedule.
  2. Fetches all Gmail messages from the last day in the Primary category using a Gmail search query.
  3. Strips HTML, truncates long bodies, and combines all email subjects, senders, dates, and content into a single capped text block.
  4. Sends the compiled inbox text to Groq (Llama 3.3 70B) to generate a Slack-formatted briefing with a TL;DR, urgent items, and an email-by-email summary with tags.
  5. Posts the generated briefing to the selected Slack channel.

Setup

  1. Connect a Gmail OAuth2 credential and ensure the Gmail query (default: newer_than:1d category:primary) matches the emails you want to include.
  2. Add a Groq API key credential and confirm the model selection (default: llama-3.3-70b-versatile) and prompt meet your formatting needs.
  3. Connect a Slack API credential and choose the target channel to post the briefing.
  4. Update the schedule time and confirm your n8n instance timezone so the workflow runs at the intended hour.

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 - Run Daily at 8 AM

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

Block 2 - Fetch Last 24h of Emails

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

Block 3 - Any New Emails?

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

Block 4 - Combine Emails Into Digest Input

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Triage Inbox with AI

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.9

Block 6 - Groq Llama 3.3 Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGroq - lmChatGroq
Config choices
Version 1

Block 7 - Parse Triage JSON

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

Block 8 - Post Inbox Zero to Slack

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

Block 9 - Test Manually

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

Block 10 - Any Urgent Emails?

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

Block 11 - Build Urgent Alert

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Post Urgent Alert to Slack

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

Block 13 - Build Slack Block Kit Digest

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Post Briefing to Slack

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

Block 15 - Split Out Triaged Emails

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

Block 16 - Log Emails to Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 17 - Sticky Note 1

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

Block 18 - Sticky Note 2

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

Block 19 - Sticky Note 3

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

Block 20 - Sticky Note 4

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

Block 21 - Sticky Note 5

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

3. Summary Table

Workflow Summarize and triage your daily Gmail inbox into Slack with Groq Llama 3.3
Complexity advanced
Nodes 21
Categories Ticket Management, AI Summarization
Author Filip Mijic
Published 11 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16271/16271.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 Summarize and triage your daily Gmail inbox into Slack with Groq Llama 3.3 do?

Quick Overview This workflow runs every day at 8 AM, pulls the last 24 hours of emails from your Gmail Primary inbox, summarizes their full content using Groq’s Llama 3.3, and posts an actionable d...

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 Ticket Management, AI Summarization use case.