# Triage Gmail inbox and draft replies with Groq: n8n workflow

> Started by an arriving email, and works across Gmail, Google Calendar, Google Sheets and Slack. It hands the judgement calls to Groq.

Source: https://millionrounds.com/workflow/triage-gmail-inbox-and-draft-replies-with-groq (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Scheduling](https://millionrounds.com/workflows?category=Scheduling#library)

# Triage Gmail inbox and draft replies with Groq

Started by an arriving email, and works across Gmail, Google Calendar, Google Sheets and Slack. It hands the judgement calls to Groq. 20 steps, 2 branches: a working afternoon to understand properly.

Medium Calls a model: Groq

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftriage-gmail-inbox-and-draft-replies-with-groq)

**20 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**0** Loops or waits

**4** Services it connects to

## The flow

Starts it 1 Model 6 Logic 6 Service 7

The steps in the order they run, from what starts it.

- 1 **Gmail Trigger** Gmail trigger *Starts it*
- 2 **Groq, Classifier Model** Lm Chat Groq *Model*
- 3 **Triage JSON Parser** Output Parser Structured *Model*
- 4 **Groq, Drafter Model** Lm Chat Groq *Model*
- 5 **Extract Email** Code *Logic*
- 6 **Groq Classifier** Chain Llm *Model*
- 7 **Draft, Meeting Reply** Chain Llm *Model*
- 8 **Draft, Lead Reply** Chain Llm *Model*
- 9 **Parse Classification** Code *Logic*
- 10 **Gmail, Save Meeting Draft** Gmail *Service*
- 11 **Gmail, Save Lead Draft** Gmail *Service*
- 12 **Intent Switch** Switch *Logic*
- 13 **Normalize Triage Result** Set *Logic*
- 14 **Calendar Free/Busy** Google Calendar *Service*
- 15 **Append Lead to Sheet** Google Sheets *Service*
- 16 **Gmail, Label Spam** Gmail *Service*
- 17 **Gmail, Mark Triaged** Gmail *Service*
- 18 **Compute 3 Free Slots** Code *Logic*
- 19 **Slack Notify Enabled?** If *Logic*
- 20 **Slack, Triage Notification** Slack *Service*

## How it's built

- **Starts on:** An arriving email
- **Steps:** 20, with 2 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Gmail, Google Calendar, Google Sheets, Slack
- **Model:** Groq

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Calendar, Google Sheets and Slack accounts, and a key for Groq. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an arriving email.

Does it use AI?

Yes. It calls Groq. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 20 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 20 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftriage-gmail-inbox-and-draft-replies-with-groq)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Calendar](https://millionrounds.com/workflows?service=Google+Calendar#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also scheduling, with the same services where possible, closest in size first.

- [**Automate Google Meet notes with OpenAI and Notion** 20 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/automate-google-meet-notes-with-openai-and-notion)
- [**Automate social media content planning with Llama** 20 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/automate-social-media-content-planning-with-llama)
- [**Coach fitness and nutrition on Telegram with Claude** 20 steps · calls a model · Google Calendar, Google Sheets](https://millionrounds.com/workflow/coach-fitness-and-nutrition-on-telegram-with-claude)
- [**Create HubSpot Contacts and Schedule Google Meet** 20 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/create-hubspot-contacts-and-schedule-google-meet)
- [**Get pre-call briefs for Calendly bookings with Bright Data** 20 steps · calls a model · Slack](https://millionrounds.com/workflow/get-pre-call-briefs-for-calendly-bookings-with-bright-data)
- [**Multi-tool personal assistant with Telegram and Grok-4** 20 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/multi-tool-personal-assistant-with-telegram-and-grok-4)
