Templates / Generate invoices and send AI-powered reminders with Jotform and Xero

Generate invoices and send AI-powered reminders with Jotform and Xero

Ready for 3.0

by AppUnits AI ✓ · 311 views · created 2025-10-16 · 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-10-19.

What this workflow does

This AI workflow has 23 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Xero and OpenAI Chat Model.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).

  1. Format data (Code): runs custom JavaScript code
  2. Add reminders config (Edit Fields (Set)): sets or maps fields
  3. Create/Update the contact (Xero): work with contact
  4. If: checks a condition and branches into true / false
  5. Create the invoice (Xero): uses Xero
  6. Insert invoice id to DB (Data table): uses Data table
  7. Get Invoices (Data table): get
  8. AI Agent: runs an AI agent, with model: OpenAI Chat Model
  9. Loop over invoices (Loop Over Items (Split in Batches)): loops over the items in batches
  10. Send Email: sends an email over SMTP

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

Services it uses

XeroOpenAI Chat Model

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.

Nodes used (12)

From the author

Generate Invoices and Send Reminders for Customers with Jotform and Xero This workflow automates the entire process of receiving a product/service order, checking or creating a customer in Xero, generating an invoice, emailing it — all triggered by a form…

Excerpt from AppUnits AI'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.