{"product_id":"n8n-workflow-draft-freee-accounting-payment-reminder-emails-via-claude-gmail","title":"n8n Workflow: Draft Freee Accounting Payment Reminder Emails via Claude \u0026 Gmail","description":"\u003ch3\u003eDraft Japanese payment reminder emails from freee Accounting using Claude \u0026amp; save them as Gmail drafts\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow automatically finds overdue income deals in \u003cstrong\u003efreee Accounting\u003c\/strong\u003e, uses \u003cstrong\u003eAnthropic Claude\u003c\/strong\u003e to draft polite \u003cstrong\u003eJapanese\u003c\/strong\u003e payment reminder emails, and saves each reminder as a \u003cstrong\u003eGmail draft\u003c\/strong\u003e—then reports what was created, rejected, and skipped.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns every weekday at 9:00\u003c\/strong\u003e (or can be triggered manually) and loads configuration such as your \u003cstrong\u003efreee company ID\u003c\/strong\u003e, \u003cstrong\u003eminimum overdue days\u003c\/strong\u003e, and a staff \u003cstrong\u003enotification email\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches unsettled income deals and partner details\u003c\/strong\u003e from the \u003cstrong\u003efreee Accounting API\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFilters for overdue amounts\u003c\/strong\u003e (past due with an amount still due), groups results by customer, skips customers with no email address, and limits processing to top customers by total overdue amount.\u003c\/li\u003e\n  \u003cli\u003eFor each customer, sends invoice facts to \u003cstrong\u003eAnthropic Claude\u003c\/strong\u003e to generate a JSON-formatted email draft (subject + body) in Japanese.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates the draft\u003c\/strong\u003e to ensure invoice numbers, remaining amounts, and due dates match freee data—rejecting drafts that add extra amounts, include late-fee\/legal language, or omit required facts.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates Gmail drafts (no sending)\u003c\/strong\u003e for each passing reminder, and emails staff a single summary: drafts saved, drafts rejected with reasons, and customers that couldn’t be drafted.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAutomating overdue payment follow-ups for \u003cstrong\u003eSaaS operators\u003c\/strong\u003e managing partner invoices in freee.\u003c\/li\u003e\n  \u003cli\u003eReducing manual work for \u003cstrong\u003eaccounting\/admin teams\u003c\/strong\u003e by generating consistent Japanese reminders as drafts.\u003c\/li\u003e\n  \u003cli\u003eBuilding an auditable workflow where outputs are checked against \u003cstrong\u003efreee Accounting\u003c\/strong\u003e data before use.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n integrations\/nodes:\u003c\/strong\u003e if, set, code, http request, gmail, sticky note.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCredentials:\u003c\/strong\u003e freee OAuth2 (read access to Deals and Partners) + Anthropic credentials for Claude.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput behavior:\u003c\/strong\u003e Gmail \u003cem\u003edrafts only\u003c\/em\u003e, plus a staff email report summarizing results.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46289043783859,"sku":"N8N-21663","price":13.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/UC2a5rM0ATqBUostsOsB_r7aGIcZo.png?v=1793006041","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-draft-freee-accounting-payment-reminder-emails-via-claude-gmail","provider":"N8N Commerce","version":"1.0","type":"link"}