Files & Documents

Analyze Stock Dividend Reports with AI-Powered Search

18 nodes 289 111 Automatic trigger
Download

Workflow Description

Advanced RAG workflow that loads dividend reports from Google Drive, splits them into logical chunks, generates vector embeddings via Gemini, stores them in Pinecone, and deploys an intelligent agent combining OpenAI and Gemini to answer detailed analysis questions with precision.

How it works

  1. 1.Automatically load dividend reports from Google Drive
  2. 2.Split documents into logical sections using recursive character splitting
  3. 3.Convert sections into numerical embeddings using Gemini's latest model
  4. 4.Index embeddings in Pinecone vector database for fast retrieval
  5. 5.Deploy intelligent agent combining OpenAI and Gemini for accurate answers
  6. 6.Export analysis results and insights to Google Sheets

Use cases

  • Extract dividend yield summaries and return metrics from multi-page financial reports
  • Answer specific analytical questions about dividend ratios and historical trends
  • Compare dividend policies across companies based on official documents
  • Set up automated alerts when new dividend policy changes are detected

Requirements

  • Google Drive account containing dividend reports in PDF or document format
  • Pinecone API key with a pre-configured vector index
  • API keys for Google Gemini and OpenAI for language processing
  • Connected Google Sheets and Docs accounts for data import and export

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Vector Store Gemini Document Default Data Loader Text Splitter Split In Batches AI Agent OpenAI Google Docs Google Sheets Google Drive

Details

Trigger Automatic trigger
Nodes 18
Apps 10
Views 289
Downloads 111

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (18)

/

Pinecone Vector Store

Vector Store Pinecone

#1

Embeddings Google Gemini

Gemini Model

#2

Default Data Loader

Document Default Data Loader

#3

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#4

Loop Over Items

Split In Batches

#5

When clicking ‘Test workflow’

Manual Trigger

#6

AI Agent

Agent

#7

Vector Store Tool

Tool Vector Store

#8

Google Gemini Chat Model1

Gemini Model

#9

OpenAI Chat Model

OpenAI

#10

Pinecone Vector Store (Retrieval)

Vector Store Pinecone

#11

Save Report to Google Docs

Google Docs

#12

Embeddings Google Gemini (retrieval)

Gemini Model

#13

List Of Files To Load (Google Sheets)

Google Sheets

#14

Download File From Google Drive

Google Drive

#15

Sticky Note

Sticky Note

#16

Sticky Note1

Sticky Note

#17

Sticky Note2

Sticky Note

#18