Templates / Document analysis & chatbot creation with Llama Parser, Gemini LLM & Pinecone DB

Document analysis & chatbot creation with Llama Parser, Gemini LLM & Pinecone DB

Needs changes

by pavith · 4,639 views · created 2025-04-19 · 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 33 nodes and runs when someone submits an n8n form (“form which gets multiple files”) (plus 1 other trigger). Along the way it connects Google Gemini Chat Model, Gmail, Pinecone Vector Store and Embeddings Mistral Cloud. It also calls api.cloud.llamaindex.ai over HTTP.

How it runs

Trigger: When someone submits an n8n form (“form which gets multiple files”) (plus 1 other trigger).

  1. split the binary item (Code): runs custom JavaScript code
  2. Question and Answer Chain: answers questions over your documents (RAG), with model: Google Gemini Chat Model; retriever: Vector Store Retriever
  3. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  4. AI Agent: runs an AI agent, with model: Google Gemini Chat Model
  5. Aggregate: combines items into one
  6. Parsing the document (HTTP Request): calls api.cloud.llamaindex.ai (POST)
  7. Translator Agent (AI Agent): runs an AI agent, with model: Google Gemini Chat Model
  8. Check the parsing status (HTTP Request): calls an HTTP API
  9. Analyzer Agent (AI Agent): runs an AI agent, with model: Google Gemini Chat Model
  10. Convert to File: converts data to a file (to text)

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

Services it uses

Google Gemini Chat ModelGmailPinecone Vector StoreEmbeddings Mistral Cloud

HTTP calls to: api.cloud.llamaindex.ai

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 AI Agent (v1.8), AI Agent1 (v1.8), Translator Agent (v1.8)…: replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.8), AI Agent1 (v1.8), Translator Agent (v1.8), Analyzer Agent (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (19)

From the author

📄Description This automation workflow enables users to upload files via an N8N form, automatically analyzes the content using Google Gemini agents, and delivers the analyzed results via email along with a chatbot link. The system leverages Llama Cloud API,…

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