Document analysis chatbot creation with Llama Parser Gemini L
📄Description This automation workflow enables users to upload files via an N8N form, automatically analyzes the content using Google Gemini agents, and deli...
🔌 Nodes & Integrations Used (12)
📖 Implementation & Setup Guide
📄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, Google Gemini LLM, Pinecone vector database, and Gmail to provide a seamless, multilingual content analysis experience.
✅ Prerequisites Before setting up this workflow, ensure the following are in place:
An active N8N instance.
Access to Llama Cloud API.
Google Gemini LLM API keys (for Translator & Analyzer agents).
A Pinecone account with an active index.
A Gmail account with API access configured.
Basic knowledge of N8N workflow setup.
⚙️ Setup Instructions Deploy the N8N Form
Create a public-facing form using N8N.
Configure it to accept:
File uploads.
User email input.
File Preprocessing
Store the uploaded files temporarily.
Organize and preprocess them as needed.
Content Extraction using Llama Cloud API
Feed the files into the Llama Cloud API.
Extract and parse the content for further processing.
Translation (if required)
Use a Translator Agent (Google Gemini).
Check if the content is in English. If not, translate it.
Content Analysis
Forward the (translated) content to the Analyzer Agent (Google Gemini).
Perform deep analysis to extract insights.
Vector Storage in Pinecone
Store both:
The parsed and translated content.
The analyzed content.
Use Pinecone to store the content as embeddings for chatbot use.
User Notification via Gmail
Send the analyzed content and chatbot link to the user’s provided email using Gmail API.
🧩 Customization Guidance To add more languages: Update the translation logic to include additional language support.
To modify analysis depth: Adjust the prompts sent to the Gemini Analyzer Agent.
To change the chatbot behavior: Retrain or reconfigure the chatbot to utilize the new Pinecone index contextually.
🔁 Workflow Summary User uploads files and email via N8N form.
Files are parsed using Llama Cloud API.
Content is translated (if needed) using Gemini Translator Agent.
Translated content is analyzed by the Gemini Analyzer Agent.
Parsed and analyzed data is stored in Pinecone.
User receives email with analyzed results and a chatbot link.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Document_analysis_chatbot_creation_with_Llama_Parser_Gemini_L.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related AI Agents Workflows
View All in AI Agents →5 ways to process images PDFs with Gemini AI in n8n
How it works Many users have asked in the support forum about different methods to analyze images and PDF documents with Google Gemini AI in n8n. This workfl...
7 AI Sales Assistant
Production-ready n8n automation template for 7 AI Sales Assistant built by AhiXLight. Seamlessly connects Airtop Tool, Slack, Airtop with 24 configured nodes.
AAVE portfolio professional AI agent Telegram Email GPT 4o
A next-generation AI-powered DeFi health monitor that tracks wallet positions across Aave V3 using GPT-4o and LangChain. It delivers human-readable reports v...
Access control for AI agents RBAC using Airtable and Telegram
Purpose This workflow allows granular control over the access to tools connected to AI Agents (including Multi-Agent setups) using Role Based Access Control....