# Draft Gmail replies with Claude: n8n workflow template

> Started by a clock, and works across Gmail and Google Sheets. It hands the judgement calls to Claude.

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

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

# Draft Gmail replies with Claude

Started by a clock, and works across Gmail and Google Sheets. It hands the judgement calls to Claude. 25 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: Claude

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fdraft-gmail-replies-with-claude)

**25 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 2 Logic 9 Service 12

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

- 1 **When Email is Received** Gmail trigger *Starts it*
- 2 **Claude Sonnet Model** Lm Chat Anthropic *Model*
- 3 **Check for Approved Replies** Schedule trigger *Starts it*
- 4 **Normalize Email Content** Code *Logic*
- 5 **Process with Claude AI** Chain Llm *Model*
- 6 **Find Threads Labeled send-approved** Gmail *Service*
- 7 **Fetch Full Thread History** Gmail *Service*
- 8 **Parse and Validate Response** Code *Logic*
- 9 **Extract Approved Thread IDs** Code *Logic*
- 10 **Build Conversation Transcript** Code *Logic*
- 11 **Escalation Needed?** If *Logic*
- 12 **Read Pending Replies** Google Sheets *Service*
- 13 **Set Business Profile** Set *Logic*
- 14 **Send Escalation Alert** Gmail *Service*
- 15 **Check if Reply is Needed** If *Logic*
- 16 **Match Approved to Pending** Code *Logic*
- 17 **Create Draft Reply in Gmail** Gmail *Service*
- 18 **Append to Email Log** Google Sheets *Service*
- 19 **Send Approved Reply in Thread** Gmail *Service*
- 20 **Save Pending Reply for Approval** Google Sheets *Service*
- 21 **Mark Reply as Sent** Google Sheets *Service*
- 22 **Clean Up the Leftover Draft** Gmail *Service*
- 23 **Fetch Gmail Labels** Gmail *Service*
- 24 **Prepare Label Removal** Code *Logic*
- 25 **Remove Approval Label from Thread** Gmail *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 25, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Sheets
- **Model:** Claude

## Questions

What does it need to run?

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

What starts it?

It starts on a clock.

Does it use AI?

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

How long does it take to set up?

Take your time. At 25 steps it is large: read it before trusting it with anything live.

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 25 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%2Fdraft-gmail-replies-with-claude)
- **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 Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

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

- [**AI multi-stop planner for circular logistics with OpenAI** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-multi-stop-planner-for-circular-logistics-with-openai)
- [**Automate Calendly user onboarding & offboarding** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/automate-calendly-user-onboarding-and-offboarding)
- [**Build Gmail contact database with Brave Search** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/build-gmail-contact-database-with-brave-search)
- [**Check Etsy listing gaps with Bright Data and OpenAI** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/check-etsy-listing-gaps-with-bright-data-and-openai)
- [**Convert LINE handwritten memo images to tagged, searchable notes** 25 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/convert-line-handwritten-memo-images-to-tagged-searchable-no)
- [**Get daily exercise plan with Flex Message and LINE** 25 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/get-daily-exercise-plan-with-flex-message-and-line)
