Draft payment reminder emails from freee Accounting with Claude and Gmail
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs on a schedule (cron 0 9 * * 1-5) (plus 1 other trigger). Along the way it connects Anthropic Chat Model and Gmail.
How it runs
Trigger: On a schedule (cron 0 9 * * 1-5) (plus 1 other trigger).
- Config (Edit Fields (Set)): sets 7 fields: freee_company_id, staff_email, sender_signature…
- Read unsettled sales (HTTP Request): calls an HTTP API
- Read freee partners (HTTP Request): calls an HTTP API
- Find overdue sales (Code): runs custom JavaScript code
- Any reminder to write? (If): checks a condition and branches into true / false
- Write the reminder (Basic LLM Chain): sends a prompt to an LLM, with model: Claude Haiku 4.
- Write the notice (Code): runs custom JavaScript code
- Check the drafts (Code): runs custom JavaScript code
- Tell the staff (Gmail): send (message)
- Draft passed? (If): checks a condition and branches into true / false
…plus 2 more steps. See the full node list below.
Services it uses
Other Anthropic + Gmail templates (192)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow runs every weekday morning, reads unsettled income deals and partner details from freee Accounting, uses Anthropic Claude to draft Japanese payment reminder emails for overdue amounts, saves passing reminders as Gmail drafts, and…