n8n chat agent, 2026
Apple Financial RAG Agent
A chat assistant that answers questions about Apple's quarterly financial statements from the reports themselves.
- What it does for a business
- Drop reports into a Google Drive folder and ask questions about them in chat, with answers grounded in the documents.
- Built with
- n8n, OpenAI, Qdrant, Google Drive
- Source
- View the code on GitHub

Existing and new reports flow into the same ingestion pipeline.
The problem
Financial reports are long, full of tables, and easy to misread: three-month and six-month columns sit side by side. Asking a general chatbot invites invented numbers.
What I built
Two ingestion paths into one pipeline: a bulk import of reports already in Google Drive, and automatic pickup of new uploads.
Each PDF is split into overlapping chunks, embedded with OpenAI and stored in Qdrant with its file name, Drive ID and fiscal quarter.
A chat agent searches those chunks and answers from what it finds. Memory was removed on purpose so every answer comes from a fresh lookup.
How a message moves through it
Step 1
Google Drive
Existing reports and new uploads
Step 2
Ingestion
Download, split into chunks, embed
Step 3
Qdrant
Vectors with file and quarter metadata
Step 4
Chat agent
Searches the reports for each question
Step 5
Answer
Grounded in the retrieved passages
Decisions that keep it reliable
Backfill and new files share one pipeline
The Drive trigger only sees new files, so a manual path imports existing reports. Both feed the same processing steps.
Every chunk knows where it came from
File name, Drive ID and a normalised report key such as FY2026_Q1 travel with every chunk, so figures can be traced to their quarter.
No memory, on purpose
For financial questions, earlier answers should not compete with the source, so the agent looks up the reports every time.
Screens from the build



What was tested
- Both FY2025 reports ingested through the bulk path; FY2026 reports picked up automatically after upload.
- Stored points checked in Qdrant: 1,536-dimension vectors with the right metadata.
- Report-based questions answered through the agent and its retrieval tool.
Limits
Quarter labels identify sources but do not force quarter-specific retrieval, and answers should be checked against the statements.
Next project
Bunn Cafe AI Assistant
Want something like this for your business?