Automation library · Data collection

Analyze your stock portfolio daily with Google Sheets and RSS

Started by a clock, and works across Gmail, Google Sheets and RSS. It hands the judgement calls to Groq. 19 steps, 2 loops or waits: a working afternoon to understand properly.

MediumCalls a model: Groq

19 stepsMedium: a working afternoon
0Branches: places the flow splits
2Loops or waits
3Services it connects to

The flow

Starts it 1Model 4Logic 11Service 3

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

  1. 1LLM (Stock Analysis)Lm Chat GroqModel
  2. 2LLM (Portfolio Analysis)Lm Chat GroqModel
  3. 3Executes everyday at 4 PMSchedule triggerStarts it
  4. 4Generate Stock InsightAgentModel
  5. 5Generate Portfolio InsightAgentModel
  6. 6Fetch Portfolio (Google Sheets)Google SheetsService
  7. 7Rate Limit (Wait)WaitLogic
  8. 8Parse Portfolio AI OutputCodeLogic
  9. 9Calculate Portfolio MetricsSetLogic
  10. 10Iterate StocksSplit In BatchesLogic
  11. 11Merge Stocks + Portfolio InsightMergeLogic
  12. 12Aggregate Stock InsightsAggregateLogic
  13. 13Fetch Stock News (RSS)Rss Feed ReadService
  14. 14Format Email ReportCodeLogic
  15. 15Parse Stock AI OutputCodeLogic
  16. 16Sort News by DateSortLogic
  17. 17Send Email (Gmail)GmailService
  18. 18Limit News (Top 5)LimitLogic
  19. 19Merge Stock Data + NewsCodeLogic

How it's built

Starts on
A clock
Steps
19, 2 loops or waits
Size
Medium: a working afternoon
Connects to
Gmail, Google Sheets, RSS
Model
Groq

Questions

What does it need to run?

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

What starts it?

It starts on a clock.

Does it use AI?

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

How long does it take to set up?

Plan an afternoon. 19 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 19 steps before you point it at anything that matters.