# Track gold price changes and send Slack alerts with Gemini: n8n workflow

> Started by a clock, and works across n8n data table. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/track-gold-price-changes-and-send-slack-alerts-with-gemini (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Alerts and monitoring](https://millionrounds.com/workflows?category=Alerts+and+monitoring#library)

# 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.

Large Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftrack-gold-price-changes-and-send-slack-alerts-with-gemini)

**22 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Model 4 Logic 8 Service 8

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

- 1 **Gemini - slack** Lm Chat Google Gemini *Model*
- 2 **Slack - alert tool** Slack Tool *Service*
- 3 **Execute every morning** Schedule trigger *Starts it*
- 4 **Execute at weekend** Schedule trigger *Starts it*
- 5 **Gemini - report** Lm Chat Google Gemini *Model*
- 6 **Slack - report** Slack Tool *Service*
- 7 **Slack alert assistant** Agent *Model*
- 8 **Get Latest Gold Price** Http Request *Service*
- 9 **Get all prices** Data Table *Service*
- 10 **Reporting Agent** Agent *Model*
- 11 **calculate third of one troy ounce** Code *Logic*
- 12 **Return last 7 days data** Limit *Logic*
- 13 **Update row(s)** Data Table *Service*
- 14 **rename field** Set *Logic*
- 15 **Get required fields** Set *Logic*
- 16 **Insert gold record to table** Data Table *Service*
- 17 **Combine data togather** Aggregate *Logic*
- 18 **Fetch gold all prices** Data Table *Service*
- 19 **Get last two records** Limit *Logic*
- 20 **Calculate price_change & percent_change** Code *Logic*
- 21 **Route based on spike** If *Logic*
- 22 **Update table with new data** Data Table *Service*

## 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.

## 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%2Ftrack-gold-price-changes-and-send-slack-alerts-with-gemini)
- **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.

[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

Also alerts and monitoring, with the same services where possible, closest in size first.

- [**Coordinate robot swarms with OpenAI** 22 steps · calls a model · Slack, n8n data table](https://millionrounds.com/workflow/coordinate-robot-swarms-with-openai)
- [**Filter breaking geopolitical news with Telegram** 22 steps · calls a model · RSS, Telegram](https://millionrounds.com/workflow/filter-breaking-geopolitical-news-with-telegram)
- [**Monitor academic integrity signals with OpenAI** 22 steps · calls a model · Email, n8n data table](https://millionrounds.com/workflow/monitor-academic-integrity-signals-with-openai)
- [**Monitor your brand’s Google suggestions with Bright Data** 22 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/monitor-your-brand-s-google-suggestions-with-bright-data)
- [**Track investor behavior with NewsAPI and Gemini** 22 steps · calls a model · Gmail, n8n data table](https://millionrounds.com/workflow/track-investor-behavior-with-newsapi-and-gemini)
- [**Gate Telegram bot access with Stripe and Slack** 22 steps · Slack, Telegram](https://millionrounds.com/workflow/gate-telegram-bot-access-with-stripe-and-slack)
