Automate gold market predictions using an n8n workflow. This powerful n8n template integrates FRED, NewsAPI, and Perplexity Sonar-Pro AI to generate expert financial reports and publish them instantly via WordPress and Slack.
Download this n8n workflow template and start using it instantly.
Keeping up with the complex factors influencing gold prices—such as inflation, interest rates, and global news sentiment—is challenging. This expert n8n workflow solves this by creating a fully autonomous financial intelligence system. It runs every six hours using a dedicated n8n trigger, simultaneously gathering current gold prices (MetalPriceAPI), relevant financial news (NewsAPI), and key macroeconomic indicators (FRED data) like CPI, Fed Funds Rate, and unemployment figures.
The collected data is structured and fed into an advanced AI Agent, powered by the high-performance OpenRouter n8n node using the Perplexity Sonar-Pro model. This AI acts as a senior financial analyst, generating a comprehensive report detailing key drivers, confidence scores, and short/medium-term price predictions. This sophisticated n8n workflow ensures timely, consistent, and data-driven market insights, immediately publishing the report to a WordPress site and alerting stakeholders via Slack and email, maximizing the value derived from this critical n8n automation.
This specialized n8n workflow operates on a rigid, scheduled cycle to ensure up-to-date market information:
To deploy this expert n8n workflow template, follow these steps:
This advanced n8n workflow relies on a mix of HTTP, transformation, and AI n8n node types:
Every 6 Hours (Schedule Trigger): The starting n8n trigger node, responsible for running the entire analysis cycle every six hours.
HTTP Request (Multiple Instances): Used extensively to fetch external data. Key configurations include using query parameters for API keys and targeting endpoints like api.metalpriceapi.com and api.stlouisfed.org/fred.
Set Nodes (Format Data/Prepare AI Input): These crucial n8n node instances use n8n expressions ($json.articles.map(...)) to transform complex API responses into clean, structured data suitable for AI consumption, consolidating all metrics into a single input string.
Merge All Data (Merge): Combines the five parallel data streams (Price, News, Inflation, Rates, Employment) into a single input item before AI processing.
OpenRouter Chat Model (LLM): Configures the connection to Perplexity's Sonar-Pro LLM, essential for the sophisticated analysis executed by the downstream AI Agent n8n node.
AI Agent - Gold Market Analysis (LangChain Agent): The heart of the n8n workflow. It uses a highly specific system message instructing it to act as an expert financial analyst, processing the large dataset to generate forecasts and structured market insights.
Publish to WordPress (WordPress): The final action n8n node, responsible for automated content delivery, setting the post status to publish and dynamically generating the title using the current date and time.
Send Slack Summary / Send Email Summary: Notification n8n node actions that send the key findings and the link to the full WordPress report, ensuring timely distribution.
Use this powerful n8n workflow to automatically capture new emails from Gmail, leverage GPT-4o-mini via Azure OpenAI for intelligent prioritization and summary, create structured Zendesk tickets, and maintain an audit log in Google Sheets. Streamline your support operations with this advanced n8n automation.

Automate customer support intake using this powerful n8n workflow. It listens for specific Gmail messages, instantly creates Zendesk tickets, and logs all transaction details to Google Sheets for tracking. Deploy this essential n8n template today!

Use this powerful n8n workflow to automatically turn incoming Gmail messages into vector embeddings using Ollama, storing data in PGVector for similarity search and building a RAG knowledge base.

Use this powerful n8n workflow to scrape dynamic web content from sites like Goodreads via Bright Data's Web Unlocker and instantly extract structured data using the Google Gemini LLM.

Scrape thousands of keyword suggestions using Google Autocomplete. This n8n workflow automatically handles rate limiting, batching requests, and parsing data for comprehensive SEO research.

This powerful n8n workflow automates Google Calendar event creation from Google Sheets and uses an AI Agent to generate smart follow-up meeting suggestions, delivered via WhatsApp and Gmail. Start using these professional n8n templates today.

Dr. Cheng Siong CHIN serves as a Professor in Intelligent Systems Modelling and Simulation in Newcastle University, Singapore. His academic credentials include an M.Sc. in Advanced Control and Systems Engineering from The University of Manchester and a Ph.D. in Robotics from Nanyang Technological University.







































