Track SaaS spend from email invoices with AgentMail, JigsawStack and Postgres
UnknownWhat 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).
- Configure Extensions & Triggers (Postgres): run a query
- Extract Attachment Payload (Code): runs custom JavaScript code
- Download Email Attachment (HTTP Request): calls an HTTP API
- Configure Enumerations (Postgres): run a query
- Acquire Pipeline Job (Postgres): run a query
- Download PDF File (HTTP Request): calls an HTTP API
- Set Up Vendors Table (Postgres): run a query
- Parse Acquire Result (Code): runs custom JavaScript code
- Upload PDF to LlamaCloud (HTTP Request): calls api.cloud.llamaindex.ai (POST)
- Set Up Documents Table (Postgres): run a query
…plus 36 more steps. See the full node list below.
Services it uses
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)
- HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - Postgres
n8n-nodes-base.postgres - Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - Manual Trigger
n8n-nodes-base.manualTrigger - Stop and Error
n8n-nodes-base.stopAndError - Redis Advanced
@franknitty69/n8n-nodes-redis-advanced.redisAdvanced - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger
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…