Use n8n and Gemini to Draft an Invoice Reminder From Verified Fields

An invoice reminder can sound professional and still be wrong about the amount. Let the accounting record supply the facts, then give Gemini only the job of phrasing a draft.
Define what can go into the draft
For a synthetic example, set invoice ID INV-184, a remaining balance of USD 120 and a due date that has passed on the test clock. Show those values beside the proposed text. Record the currency even if you only use one today. Exclude paid invoices, missing due dates and any record that cannot be matched to a reviewed recipient.
The n8n QuickBooks node reference lists Invoice operations. The Gemini chat model reference explains the model node connection. Check exactly which fields you receive on your version before writing a filter. Keep formatting and arithmetic outside the model. Where the accounting record changed after a draft was written, generate or review a fresh draft from the new values.
| Synthetic input | Next step |
|---|---|
| Past due, positive balance, recipient verified | Produce one draft for review. |
| Original invoice amount greater than the remaining balance | Keep the remaining balance in the draft. |
| Paid, recipient absent, or source changed | Stop and show the reason. |
Use Gmail Draft → Create for the demo. Keep delivery disabled. Verify that the three test records take different paths before considering a schedule. This is a workflow design, not a claim that it has connected to or contacted a customer.
Google’s Gmail draft guide describes the separate send action. A successful run in this setup should produce a draft ID and stop there.
Korean Notes (한국어 참고)
미납 금액과 날짜는 회계 데이터에서 확정하고, Gemini에는 문장만 맡기세요. 이미 결제된 건과 확인할 수 없는 건은 초안 생성에서 뺍니다.
Comments
Post a Comment