Files & Documents

Analyze Stock Dividend Reports with AI-Powered Search

18 nodes 290 160 Automatic trigger
Download

Workflow Description

An advanced workflow that extracts dividend data from reports, organizes it into spreadsheets, and answers questions instantly through an intelligent agent powered by Gemini and OpenAI models.

How it works

  1. 1.Load report files from Google Drive and split them into manageable text chunks
  2. 2.Convert text chunks into vector embeddings and store them in Pinecone database
  3. 3.Process queries through an AI agent that searches embeddings and retrieves precise answers
  4. 4.Export findings automatically to Google Sheets and documents for record-keeping

Use cases

  • Instantly answer analyst questions about specific dividend amounts, payment dates, and eligibility criteria
  • Compare dividend policies across companies mentioned in multiple reports without manual review
  • Generate executive summaries and comparison tables from hundreds of pages automatically

Requirements

  • Active Google accounts (Drive, Docs, Sheets) with proper access permissions
  • API keys for Gemini, OpenAI, and Pinecone services
  • Report files in PDF or OCR-readable image format

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 290
Downloads 160

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