Draft follow-up email reminders in Gmail with Anthropic Claude
Ready for 3.0What this workflow does
This workflow has 11 nodes and runs on a schedule (every day at 08:00). Along the way it connects Gmail. It also calls api.anthropic.com over HTTP.
How it runs
Trigger: On a schedule (every day at 08:00).
- Set config: window, tone and recipients (Edit Fields (Set)): sets 9 fields: lookbackDays, minDaysSilent, maxDaysSilent…
- Fetch the messages you sent (Gmail): get many
- Fetch the replies you received (Gmail): get many
- Find threads with no reply (Code): runs custom JavaScript code
- Keep threads past your follow-up window (Filter): keeps only the items that match a condition
- Build the follow-up request (Code): runs custom JavaScript code
- Write follow-ups with Claude (HTTP Request): calls api.anthropic.com (POST)
- Build drafts and digest (Code): runs custom JavaScript code
- Save a draft reply on each thread (Gmail): work with draft
- Email you the chase list (Gmail): uses Gmail
Services it uses
HTTP calls to: api.anthropic.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Gmail
n8n-nodes-base.gmail - Code
n8n-nodes-base.code - Filter
n8n-nodes-base.filter - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview This workflow runs every weekday morning to find Gmail threads where your last sent message has not been replied to, generates short follow-up drafts with Anthropic Claude, saves each as a Gmail draft in the original thread, and emails you a…