İçeriğe geç
YENİPazar yeri ve trig8n Agent: geliştirdiğinizi satın; planlar ve değişiklikler siz görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Finans, Faturalar ve Muhasebe

Finans, Faturalar ve Muhasebe

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

On a schedule, it processes financial data using Slack, HubSpot.

Ne yapar

## Create freee invoice drafts from won HubSpot deals When a deal is won in HubSpot, the invoice should be ready in freee請求書 without retyping the customer and the items. This workflow creates an UNSENT invoice draft from the deal's line items; a person checks it and sends it from freee. No AI. ### How it works 1. Every weekday at 9:00 (or Run now) it reads deals in the won stage closed in the last lookback_days, freee partners and recent invoices. 2. A deal is skipped when an invoice memo already carries hubspot-deal: , so reruns never duplicate. 3. The freee partner is found only by the link hubspot: in shortcut2, never by name. 4. Code builds the lines from the line items and computes the totals; a deal amount that matches neither the net nor the total is flagged. Deals with discounts, other currencies or no line items are listed for a person. 5. One Slack message; a note on each deal. ### Setup steps 1. HubSpot Service key: deals read and write, line items and companies read. 2. freee app: partners read, invoices read and write; n8n OAuth2 API credential. 3. Slack credential; invite the app to the channel. 4. Fill Config and click Run now. ### Customization Set prices_include_tax, tax_rate and payment terms. Turn on use_amount_without_items to invoice deals without line items as one line.

Adımlar

  1. Weekdays 9:00
  2. Run now
  3. Config
  4. Read the HubSpot account
  5. Find won deals
  6. Read freee partners
  7. Read recent freee invoices
  8. Pick deals not invoiced
  9. Anything to invoice?
  10. Read the deal links
  11. Read the line items
  12. Check and build
  13. Ready to create?
  14. Create the freee invoice

Toplam 19 adım.

Benzer otomasyonlar