Templates / Create freee請求書 invoice drafts from won HubSpot deals with Slack updates

Create freee請求書 invoice drafts from won HubSpot deals with Slack updates

Ready for 3.0

by 久保田 卓磨 ✓ · 0 views · created 2026-11-02 · Invoice Processing

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 workflow has 19 nodes and runs on a schedule (cron 0 9 * * 1-5) (plus 1 other trigger). Along the way it connects Slack. It also calls api.hubapi.com and api.freee.co.jp over HTTP.

How it runs

Trigger: On a schedule (cron 0 9 * * 1-5) (plus 1 other trigger).

  1. Config (Edit Fields (Set)): sets 12 fields: freee_company_id, won_stages, lookback_days…
  2. Read the HubSpot account (HTTP Request): calls api.hubapi.com (GET)
  3. Find won deals (HTTP Request): calls api.hubapi.com (POST)
  4. Read freee partners (HTTP Request): calls an HTTP API (GET)
  5. Read recent freee invoices (HTTP Request): calls api.freee.co.jp (GET)
  6. Pick deals not invoiced (Code): runs custom JavaScript code
  7. Anything to invoice? (If): checks a condition and branches into true / false
  8. Read the deal links (HTTP Request): calls an HTTP API (GET)
  9. Write the summary (Code): runs custom JavaScript code
  10. Read the line items (HTTP Request): calls api.hubapi.com (POST)

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

Services it uses

Slack

HTTP calls to: api.hubapi.com, 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.

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 (7)

From the author

Quick overview This workflow runs every weekday and turns newly won HubSpot deals into UNSENT invoice drafts in freee請求書 by matching HubSpot companies to freee partners, copying HubSpot line items, and posting a single status report to Slack with links back…

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.