Automation library · Alerts and monitoring

Track gold price changes and send Slack alerts with Gemini

Started by a clock, and works across n8n data table. It hands the judgement calls to Gemini. 22 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

22 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 2Model 4Logic 8Service 8

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

  1. 1Gemini - slackLm Chat Google GeminiModel
  2. 2Slack - alert toolSlack ToolService
  3. 3Execute every morningSchedule triggerStarts it
  4. 4Execute at weekendSchedule triggerStarts it
  5. 5Gemini - reportLm Chat Google GeminiModel
  6. 6Slack - reportSlack ToolService
  7. 7Slack alert assistantAgentModel
  8. 8Get Latest Gold PriceHttp RequestService
  9. 9Get all pricesData TableService
  10. 10Reporting AgentAgentModel
  11. 11calculate third of one troy ounceCodeLogic
  12. 12Return last 7 days dataLimitLogic
  13. 13Update row(s)Data TableService
  14. 14rename fieldSetLogic
  15. 15Get required fieldsSetLogic
  16. 16Insert gold record to tableData TableService
  17. 17Combine data togatherAggregateLogic
  18. 18Fetch gold all pricesData TableService
  19. 19Get last two recordsLimitLogic
  20. 20Calculate price_change & percent_changeCodeLogic
  21. 21Route based on spikeIfLogic
  22. 22Update table with new dataData TableService

How it's built

Starts on
A clock
Steps
22, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
n8n data table
Model
Gemini

Questions

What does it need to run?

An n8n 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?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

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 22 steps before you point it at anything that matters.