Templates / Create freee Invoice quotation drafts from Gmail or forms with Claude Haiku

Create freee Invoice quotation drafts from Gmail or forms with Claude Haiku

Ready for 3.0

by 久保田 卓磨 ✓ · 1 views · created 2026-10-24 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 18 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail and Anthropic Chat Model. It also calls api.freee.co.jp over HTTP.

How it runs

Trigger: On Gmail events (plus 1 other trigger).

  1. Read the mail (Code): runs custom JavaScript code
  2. Read the form (Code): runs custom JavaScript code
  3. Config (Edit Fields (Set)): sets 9 fields: freee_company_id, price_sheet_id, price_sheet_tab…
  4. Read the price list (HTTP Request): calls an HTTP API
  5. Read freee partners (HTTP Request): calls an HTTP API
  6. Prepare the prompt (Code): runs custom JavaScript code
  7. Ready? (If): checks a condition and branches into true / false
  8. Read the items (Basic LLM Chain): sends a prompt to an LLM, with model: Claude Haiku 4.
  9. Write the notice (Code): runs custom JavaScript code
  10. Check and price (Code): runs custom JavaScript code

…plus 5 more steps. See the full node list below.

Services it uses

GmailAnthropic Chat Model

HTTP calls to: api.freee.co.jp

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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (New request mail).
Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (11)

From the author

Quick overview This workflow turns Gmail or form-submitted quotation requests into unsent freee Invoice quotation drafts by extracting requested items with Anthropic Claude and pricing them from a Google Sheets price list, then notifies staff with the result.…

Excerpt from 久保田 卓磨's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.