Files & Documents

Analyze Stock Dividend Reports with AI-Powered Search

18 nodes 109 88 Automatic trigger
Download

Workflow Description

An advanced workflow that retrieves dividend reports from Google Drive, segments them into searchable chunks, stores vector embeddings in Pinecone, and deploys an AI agent to answer complex questions about dividend yields and payout dates with high accuracy.

How it works

  1. 1.Load dividend reports from Google Drive and convert them to structured text format
  2. 2.Split large documents into semantic chunks and generate vector embeddings using Gemini
  3. 3.Store embeddings in Pinecone vector database for rapid similarity-based retrieval
  4. 4.Deploy an AI agent that synthesizes answers from retrieved document segments
  5. 5.Export analysis results and summaries to Google Sheets for team review

Use cases

  • Instantly extract dividend rates, ex-dates, and payment schedules from dozens of quarterly reports
  • Answer specific questions about dividend policies and historical payouts without manual document review
  • Compare dividend strategies across multiple companies and identify outliers

Requirements

  • Google Drive folder containing dividend report files in PDF or image format
  • Valid API keys for Pinecone, Google Gemini, and OpenAI services
  • Google Sheets workbook to collect and organize final analysis outputs

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 109
Downloads 88

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