Templates / AI-powered accounting reports from Sabre EDI with GPT-4 and Pinecone RAG

AI-powered accounting reports from Sabre EDI with GPT-4 and Pinecone RAG

Needs changes

by Mohan Gopal ✓ · 2,654 views · created 2025-06-22 · Document Extraction, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 18 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Pinecone Vector Store, Embeddings OpenAI, Google Drive and OpenAI Chat Model.

How it runs

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

  1. Google Drive: work with file folder
  2. Google Drive: download
  3. Extract from File: extracts data from a file (text)
  4. Account Receivable Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Pinecone Vector Store)
  5. Google Drive: work with file folder
  6. Google Drive: download
  7. Pinecone Vector Store: stores documents in the Pinecone vector store, with embeddings: Embeddings OpenAI; document loader: Default Data Loader
  8. Tax and Surcharges Report (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Pinecone Vector Store)

Services it uses

Pinecone Vector StoreEmbeddings OpenAIGoogle DriveOpenAI Chat Model

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Account Receivable Agent (v1.9), Tax and Surcharges Report (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Account Receivable Agent (v1.9), Tax and Surcharges Report (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (9)

From the author

This workflow automates the process of reading EDI files generated by Sabre, parsing them using an AI Agent, and producing structured accounting reports like: 📌 Accounts Receivable (AR) Summary 📌 Tax and Surcharges Report It also uses Retrieval-Augmented…

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