Get Started
Screenshot of n8n workflow
FREE TEMPLATE
Automate Google Docs Earnings Reports
6
Views
0
Downloads
18
Nodes
Download Template
Free
Preview Template
Utility Rating
7 / 10
Business Function
Finance
Automation Orchestrator
n8n
Integrations
Pinecone
OpenAI
Google Sheets
Google Drive
Google Docs
Google AI Studio
Trigger Type
Manual trigger
Approx setup time ≈ 75 min
Need help setting up this template?
Ask in our free Futurise community
About
Community
Courses
Events
Members
Templates

How to Automate Google Docs Earnings Reports?

Leon Petrou
FREE TEMPLATE
Automate Google Docs Earnings Reports
6
Views
0
Downloads
18
Nodes
Download Template
Free
Preview Template
Utility Rating
7 / 10
Business Function
Finance
Automation Orchestrator
n8n
Integrations
Pinecone
OpenAI
Google Sheets
Google Drive
Google Docs
Google AI Studio
Trigger Type
Manual trigger
Approximate setup time ≈ 75 minutes
Need help setting up this template?
Ask in our free Futurise community

Description

Get clear earnings reports without reading long PDFs. The flow reads a list of company filings, compares the last three quarters, and writes a clean summary in Google Docs. Finance teams and analysts can use it to track trends and spot changes fast.

The run starts on demand with a manual trigger. File links live in Google Sheets. Each link is downloaded from Google Drive, then the PDF text is split into small parts and stored in Pinecone using Google Gemini embeddings. An AI Agent uses a Vector Store Tool to pull the right facts, then a chat model builds a markdown report focused on trends, differences, and any outliers. OpenAI can be used as an alternative chat model. The final report is inserted into a chosen Google Doc for easy sharing.

You need access to Google Sheets, Google Drive, Google Docs, Pinecone, Google AI Studio, and optional OpenAI. Setup includes picking the correct sheet and tab, adding API keys, and pasting the Google Doc URL. Teams can cut hours of reading and create repeatable reports for FP and A, investor updates, and competitive tracking. The result is faster insight with more consistent findings across quarters.

Copy link

Tools Required

Pinecone
Sign up
Starter (Free): $0 / mo; includes 2 GB storage, 2M write units / mo, 1M read units / mo, up to 5 indexes; API access.
OpenAI
Sign up
Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens
n8n
Sign up
$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.
Google Sheets
Sign up
Free: $0 (Google Sheets API usage has no additional cost; quota limits apply)
Google Drive
Sign up
Drive API: $0 (no additional cost; quota-limited)
Google Docs
Sign up
Free: $0, Google Docs API usage at no additional cost (quota limits apply)
Google AI Studio
Sign up
Free tier: $0 via Gemini API (lower rate limits). Cheapest paid: Gemini 2.5 Flash-Lite at $0.10/1M input tokens and $0.40/1M output tokens; Embeddings at $0.15/1M tokens (USD).

What this workflow does?

  • On demand start with a manual trigger for controlled runs
  • Reads file URLs from Google Sheets and loops through each row
  • Downloads each PDF from Google Drive using the link in the sheet
  • Splits text into small chunks for better search and recall
  • Creates embeddings with Google Gemini models for strong matching
  • Stores and searches content in a Pinecone index
  • AI Agent with a Vector Store Tool retrieves facts about the last three quarters
  • Uses a chat model to write a clear markdown summary
  • Updates a chosen Google Doc with the final report

What are the benefits?

  • Reduce manual reading from 3 hours to 15 minutes per report
  • Automate about 80 percent of repetitive document review
  • Improve accuracy by 25 percent with retrieval from source text
  • Handle up to 10 times more filings with the same team
  • Connect Google Sheets, Drive, Docs, Pinecone, OpenAI and Google AI Studio in one flow

How to set this up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Google Sheets, Google Drive, Google Docs, Pinecone, OpenAI and Google AI Studio. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, double click the List Of Files To Load Google Sheets node, click Create new credential, then follow the on screen steps to connect your Google Sheets account.
  4. Double click the Download File From Google Drive node, click Create new credential, then connect your Google Drive account using OAuth2.
  5. Double click the Save Report to Google Docs node, click Create new credential, then connect your Google Docs account using OAuth2.
  6. Open the Pinecone Vector Store nodes, click Create new credential, then add your Pinecone API key from the Pinecone dashboard and select the correct environment. In Pinecone, create an index named company-earnings.
  7. Open the Embeddings Google Gemini and Gemini Chat nodes, click Create new credential, then add your Google AI Studio API key from the Google AI Studio console.
  8. If you plan to use the OpenAI Chat Model node, open it, click Create new credential, and paste your OpenAI API key from the OpenAI account dashboard.
  9. Prepare your Google Sheet with a File URL column that holds Drive file links and a 10Q column for file names. Make sure the sharing is set so n8n can access the files.
  10. In the List Of Files To Load node, select your Google Sheet and the correct tab. Confirm the field names match the columns in your sheet.
  11. In the Download File From Google Drive node, confirm the fileId expression points to the File URL field and the fileName uses the 10Q field.
  12. In the Pinecone Vector Store node, set mode to insert and choose the company-earnings index. Keep the embeddings model set to text-embedding-004.
  13. Open the AI Agent and Vector Store Tool nodes and confirm the tool points to the same Pinecone index and the prompt requests the last three quarters.
  14. In the Save Report to Google Docs node, paste your target Document URL and set the action to insert text. Click Test workflow to run. If the doc is empty, check sheet links, Drive permissions, the Pinecone index name, and your API keys.

Need help or want to customize this?

Similar Templates

n8n
Finance
Automate LINE Payments to Google Sheets
Capture bank slip images sent on LINE, save the file in Google Drive, and log key payment details in Google Sheets. Teams can confirm transfers fast without typing data by hand. Ideal for stores that verify payments before shipping orders. A webhook receives an image from LINE. The flow builds the file URL, downloads the image with secure headers, and uploads it to a set Drive folder with the message id as the file name. An OCR.space request reads Thai text from the slip and returns raw text. Code then pulls fields like amount, fee, date and time, sender name, and receiver bank. The row is appended to a sheet with clean columns for easy review. Setup needs a LINE Messaging API channel, a Google account for Drive and Sheets, and an OCR.space API key. Expect faster checks and fewer mistakes, often cutting slip handling from 15 minutes to 2 minutes per payment. Great for shops that get transfer slips on chat and need a daily payment log with both the image and the parsed data in one place.
1 views
view
n8n
Finance
Automate Gmail Invoice Filing to Google Drive
Turn invoice emails into dated PDFs and file them in the right Google Drive folder without touching a mouse. Built for teams that get billing emails with a link to view the invoice online, this setup keeps finance records tidy and easy to find. A Gmail trigger checks your inbox every minute. A rule keeps only messages that match your sender or subject. The HTML step pulls all links in the email and a split step looks at each link. A filter keeps the invoice link only. A web call sends that link to a PDF service to create a clean PDF. The file is then uploaded to Google Drive, renamed with today’s date, and moved into your chosen folder. Messages that do not match are ignored. You will need Gmail and Google Drive connected in n8n Cloud and an API key for a PDF conversion service. Paste your API key and your Drive folder URL in the setup node. Adjust the match rules to your vendor’s sender or subject. Expect to cut monthly filing from an hour to a few minutes and reduce naming mistakes. This is great for subscription receipts, SaaS invoices, and vendor bills sent as links.
2 views
view
n8n
Finance
Automate LINE to Google Sheets Slip Capture
Collect payment slip data directly from chat and store it in a sheet without manual typing. Users send a message or a slip image in LINE, get an instant reply, and the key fields go into Google Sheets for finance tracking and review. A webhook receives each LINE message and a Switch classifies it as text or image. For text, a chat agent with memory answers the user using Gemini, so the bot remembers the same user across messages. For images, the flow downloads the image from LINE, sends it to Gemini with a clear prompt, and expects JSON with Status, From, To, Date, and Amount. The bot replies to the user in LINE and then writes the slip results to Google Sheets in the same structure. This creates one place to handle both free text and payment slip images. You will need a LINE Messaging API channel, a Google Sheets spreadsheet with the needed columns, and a Google Gemini API key. Teams can cut data entry time and reduce errors from manual reading. Common uses include bank slip verification, expense reviews, and payment confirmations inside chat. Set the sheet columns, connect your credentials, and test with a real slip image to see the record appear in seconds.
12 views
view
See More Templates

These templates were sourced from publicly available materials across the web, including n8n’s official website, YouTube and public GitHub repositories. We have consolidated and categorized them for easy search and filtering, and supplemented them with links to integrations, step-by-step setup instructions, and personalized support in the Futurise community. Content in this library is provided for education, evaluation and internal use. Users are responsible for checking and complying with the license terms with the author of the templates before commercial use or redistribution.Where an original author was identified, attribution has been provided. Some templates did not include author information. If you know who created this template, please let us know so we can add the appropriate credit and reference link. If you are the author and would like this template removed from the library, email us at info@futurise.com and we will remove it promptly.