Templates / Track SaaS spend from email invoices with AgentMail, JigsawStack and Postgres

Track SaaS spend from email invoices with AgentMail, JigsawStack and Postgres

Unknown

by Stephan Koning ✓ · 28 views · created 2026-04-12 · 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-10-19.

What this workflow does

This workflow has 49 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Postgres and Redis Advanced (community). It also calls api.cloud.llamaindex.ai and api.jigsawstack.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).

  1. Configure Extensions & Triggers (Postgres): run a query
  2. Extract Attachment Payload (Code): runs custom JavaScript code
  3. Download Email Attachment (HTTP Request): calls an HTTP API
  4. Configure Enumerations (Postgres): run a query
  5. Acquire Pipeline Job (Postgres): run a query
  6. Download PDF File (HTTP Request): calls an HTTP API
  7. Set Up Vendors Table (Postgres): run a query
  8. Parse Acquire Result (Code): runs custom JavaScript code
  9. Upload PDF to LlamaCloud (HTTP Request): calls api.cloud.llamaindex.ai (POST)
  10. Set Up Documents Table (Postgres): run a query

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

Services it uses

PostgresRedis Advanced (community)

HTTP calls to: api.cloud.llamaindex.ai, api.jigsawstack.com

Before you upgrade to n8n 3.0

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

  • Check that @franknitty69/n8n-nodes-redis-advanced is verified or supports 3.0 (used in Redis Advanced Processing).

Nodes used (13)

From the author

WHAT you need 1. Jigsaw API key for image processing, I use this as a gatekeeper/second pair of eyes. 3. LINK to their website https://jigsawstack.com/ 6. SECOND A postgress DATABASE (I use Supabase) 8. LlamaCloud for the parsing (you can replace this with…

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