Templates / Categorize Airtable invoices with OpenAI and TOON token optimization

Categorize Airtable invoices with OpenAI and TOON token optimization

Unknown

by CustomJS ✓ · 23 views · created 2025-12-13 · Invoice Processing, AI Summarization

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 12 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI, Airtable and Pdf Toolkit (community).

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Get Ready Invoices (Airtable): search
  2. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  3. Get Clients (Airtable): uses Airtable
  4. Get Invoice Items (Airtable): search
  5. GroupClientAndInvoice (Edit Fields (Set)): sets 1 field: clientAndInvoiceData
  6. Map Fields (Edit Fields (Set)): sets 4 fields: description, quantity, unitPrice…
  7. Json To Toon: uses Json To Toon
  8. Aggregate: combines items into one
  9. OpenAI: uses OpenAI
  10. Toon To Json: uses Toon To Json

…plus 1 more step. See the full node list below.

Services it uses

OpenAIAirtablePdf Toolkit (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that @custom-js/n8n-nodes-pdf-toolkit is verified or supports 3.0 (used in JSON to TOON).
  • Check that @custom-js/n8n-nodes-pdf-toolkit is verified or supports 3.0 (used in TOON to JSON).

Nodes used (8)

From the author

> ⚠️ Notice: > This workflow uses the CustomJS JSON to TOON node from CustomJS, which requires a self-hosted n8n instance and a CustomJS API key. --- This workflow demonstrates how to automatically categorize invoices from Airtable using OpenAI, while…

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