Automation library · CRM

CoinGecko crypto price forecasting pipeline with Gemini

Started by a clock, and works across Gmail and n8n data table. It hands the judgement calls to Gemini. 18 steps, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: Gemini

18 stepsMedium: a working afternoon
0Branches: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 2Model 5Logic 7Service 4

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

  1. 1Structured Output ParserOutput Parser StructuredModel
  2. 2Schedule: Every 30m (Scrape & Log)Schedule triggerStarts it
  3. 3Gemini for ParsingLm Chat Google GeminiModel
  4. 4Gemini for ForecastLm Chat Google GeminiModel
  5. 5Schedule: 18:00 Daily (Forecast Email)Schedule triggerStarts it
  6. 6Forecast Next 24h (LLM)AgentModel
  7. 7Configure CoinsSetLogic
  8. 8Parse Coin Metrics (LLM)AgentModel
  9. 9Recipient Email + TimezoneSetLogic
  10. 10Build Email (HTML + Text)CodeLogic
  11. 11Build Coin ItemsCodeLogic
  12. 12Convert Output to JSONCodeLogic
  13. 13Load Data Last 48hData TableService
  14. 14Send Email (Gmail)GmailService
  15. 15For Each CoinSplit In BatchesLogic
  16. 16Make it JSONCodeLogic
  17. 17Insert DataData TableService
  18. 18Scrape CoinGecko (Decodo)DecodoService

How it's built

Starts on
A clock
Steps
18, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Gmail, n8n data table
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Gmail account, and a key for Gemini. 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 Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

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