# Gold market prediction system with Perplexity Sonar-Pro: n8n workflow

> Started by a clock, and works across Email, Slack and WordPress. It hands the judgement calls to OpenRouter.

Source: https://millionrounds.com/workflow/gold-market-prediction-system-with-perplexity-sonar-pro (Millionrounds; every figure on the page links to its filing or article)

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

# Gold market prediction system with Perplexity Sonar-Pro

Started by a clock, and works across Email, Slack and WordPress. It hands the judgement calls to OpenRouter. 19 steps: a working afternoon to understand properly.

Medium Calls a model: OpenRouter

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgold-market-prediction-system-with-perplexity-sonar-pro)

**19 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 2 Logic 8 Service 8

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

- 1 **Every 6 Hours** Schedule trigger *Starts it*
- 2 **OpenRouter Chat Model** Lm Chat Open Router *Model*
- 3 **Get Current Gold Price** Http Request *Service*
- 4 **Fetch Financial News** Http Request *Service*
- 5 **Get Inflation Data** Http Request *Service*
- 6 **Get Interest Rate Data** Http Request *Service*
- 7 **Get Employment Data** Http Request *Service*
- 8 **AI Agent - Gold Market Analysis** Agent *Model*
- 9 **Format Gold Price** Set *Logic*
- 10 **Format News Data** Set *Logic*
- 11 **Format Inflation** Set *Logic*
- 12 **Format Interest Rates** Set *Logic*
- 13 **Format Employment** Set *Logic*
- 14 **Format Final Report** Set *Logic*
- 15 **Merge All Data** Merge *Logic*
- 16 **Publish to WordPress** Wordpress *Service*
- 17 **Prepare AI Input** Set *Logic*
- 18 **Send Slack Summary** Slack *Service*
- 19 **Send Email Summary** Email Send *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 19
- **Size:** Medium: a working afternoon
- **Connects to:** Email, Slack, WordPress
- **Model:** OpenRouter

## Questions

What does it need to run?

An n8n account, plus your own Email, Slack and WordPress accounts, and a key for OpenRouter. 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 OpenRouter. 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.

## 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%2Fgold-market-prediction-system-with-perplexity-sonar-pro)
- **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.

[Email](https://millionrounds.com/workflows?service=Email#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)[WordPress](https://millionrounds.com/workflows?service=WordPress#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Automate actuarial premium adjustments and claims reporting** 19 steps · calls a model · Gmail, Slack](https://millionrounds.com/workflow/automate-actuarial-premium-adjustments-and-claims-reporting)
- [**Generate cited web research reports with SerpAPI and Claude** 19 steps · calls a model · Google Docs, Postgres](https://millionrounds.com/workflow/generate-cited-web-research-reports-with-serpapi-and-claude)
- [**Track commodity news sentiment with Groq and Google Sheets** 19 steps · calls a model · Google Sheets, RSS](https://millionrounds.com/workflow/track-commodity-news-sentiment-with-groq-and-google-sheets)
- [**Generate Real Estate Research Reports with Exa AI and PandaDoc** 19 steps · Google Sheets, Slack](https://millionrounds.com/workflow/generate-real-estate-research-reports-with-exa-ai-and-pandad)
- [**AI research paper analysis & documentation with Decodo** 20 steps · calls a model · Google Docs, Google Sheets](https://millionrounds.com/workflow/ai-research-paper-analysis-and-documentation-with-decodo)
- [**Analyse GitHub PRs for vulnerabilities with OpenAI and Slack** 18 steps · calls a model · GitHub, Slack](https://millionrounds.com/workflow/analyse-github-prs-for-vulnerabilities-with-openai-and-slack)
