Gold market prediction system with Perplexity Sonar-Pro, FRED data, and WordPress reporting
Needs changesWhat this workflow does
This AI workflow has 19 nodes and runs on a schedule (every 6 hours). Along the way it connects Wordpress, Slack and OpenRouter Chat Model. It also calls api.metalpriceapi.com, newsapi.org and api.stlouisfed.org over HTTP.
How it runs
Trigger: On a schedule (every 6 hours).
- Get Current Gold Price (HTTP Request): calls api.metalpriceapi.com
- Fetch Financial News (HTTP Request): calls newsapi.org
- Get Inflation Data (HTTP Request): calls api.stlouisfed.org
- Get Interest Rate Data (HTTP Request): calls api.stlouisfed.org
- Get Employment Data (HTTP Request): calls api.stlouisfed.org
- Format Gold Price (Edit Fields (Set)): sets 2 fields: gold_price_usd, price_timestamp
- Format News Data (Edit Fields (Set)): sets 1 field: news_summary
- Format Inflation (Edit Fields (Set)): sets 1 field: inflation_trend
- Format Interest Rates (Edit Fields (Set)): sets 1 field: fed_funds_rate
- Format Employment (Edit Fields (Set)): sets 1 field: unemployment_rate
…plus 7 more steps. See the full node list below.
Services it uses
HTTP calls to: api.metalpriceapi.com, newsapi.org, api.stlouisfed.org
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent - Gold Market Analysis (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent - Gold Market Analysis (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - AI Agent
@n8n/n8n-nodes-langchain.agent - Wordpress
n8n-nodes-base.wordpress - Slack
n8n-nodes-base.slack - Send Email
n8n-nodes-base.emailSend - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
From the author
Introduction Automates gold market tracking using AI forecasting by collecting live prices, financial news, and macro indicators (inflation, interest rates, employment) to produce real-time insights and trend predictions for analysts and investors. How It…