# Generate personalized financial plans with Gemini and Sheets: n8n workflow

> Started by another system calling it, and works across Gmail, Google Drive and Google Sheets. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/generate-personalized-financial-plans-with-gemini-and-sheets (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Data collection](https://millionrounds.com/workflows?category=Data+collection#library)

# Generate personalized financial plans with Gemini and Sheets

Started by another system calling it, and works across Gmail, Google Drive and Google Sheets. It hands the judgement calls to Gemini. 20 steps, 3 branches: a working afternoon to understand properly.

Medium Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-personalized-financial-plans-with-gemini-and-sheets)

**20 steps** Medium: a working afternoon

**3** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 4 Model 3 Logic 7 Service 6

The steps in the order they run, from what starts it.

- 1 **Receive Financial Input** Webhook *Starts it*
- 2 **Normalize Input Data** Set *Logic*
- 3 **Validate Income & Goal** If *Logic*
- 4 **Enrich Financial Metrics** Set *Logic*
- 5 **Return Validation Error** Respond To Webhook *Starts it*
- 6 **Store User Data (Google Sheets)** Google Sheets *Service*
- 7 **Route by Income Category** Switch *Logic*
- 8 **Generate Plan (Mid Income)** Google Gemini *Model*
- 9 **Generate Plan (Low Income)1** Google Gemini *Model*
- 10 **Generate Plan (High Income)** Google Gemini *Model*
- 11 **Merge AI Responses** Merge *Logic*
- 12 **Generate HTML Report** Set *Logic*
- 13 **Convert HTML to PDF** Http Request *Service*
- 14 **Fetch Generated PDF** Http Request *Service*
- 15 **Check PDF Generation Status** If *Logic*
- 16 **Upload PDF to Google Drive** Google Drive *Service*
- 17 **Send Email with PDF** Gmail *Service*
- 18 **Return HTML Response** Respond To Webhook *Starts it*
- 19 **Return PDF Failure Response** Respond To Webhook *Starts it*
- 20 **Send Plain Text Email (Fallback)** Gmail *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 20, with 3 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Gmail, Google Drive, Google Sheets
- **Model:** Gemini

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Drive and Google Sheets accounts, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 20 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 20 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-personalized-financial-plans-with-gemini-and-sheets)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also data collection, with the same services where possible, closest in size first.

- [**Automate job search with LinkedIn and Google Sheets** 20 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/automate-job-search-with-linkedin-and-google-sheets)
- [**Automated Feedaty Review Scraper with ScrapegraphAI and Gemini** 20 steps · calls a model · Google Drive](https://millionrounds.com/workflow/automated-feedaty-review-scraper-with-scrapegraphai-and-gemi)
- [**Automated Instagram reels workflow with Gemini and Airtable** 20 steps · calls a model · Airtable, Google Drive](https://millionrounds.com/workflow/automated-instagram-reels-workflow-with-gemini-and-airtable)
- [**Draft and triage Google Maps guest review replies with SerpAPI** 20 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/draft-and-triage-google-maps-guest-review-replies-with-serpa)
- [**Draft daily crypto news tweets with CryptoPanic and Google** 20 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/draft-daily-crypto-news-tweets-with-cryptopanic-and-google)
- [**Dynamic AI model selector with Requesty and Google Sheets** 20 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/dynamic-ai-model-selector-with-requesty-and-google-sheets)
