Skip to main content

Gold market prediction system with Perplexity Sonar-Pro, FRED data, and WordPress reporting

Workflow preview

Workflow preview
100%
Gold market prediction system with Perplexity Sonar-Pro, FRED data, and WordPress reporting preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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

Best for

  • Crypto Trading automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.httprequest, n8n-nodes-base.set, n8n-nodes-base.merge, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.wordpress, n8n-nodes-base.slack, n8n-nodes-base.emailsend

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Cheng Siong Chin.

Original n8n.io source

1.1 Workflow description

Title
Gold market prediction system with Perplexity Sonar-Pro, FRED data, and WordPress reporting
Workflow name
Gold market prediction system with Perplexity Sonar-Pro, FRED data, and WordPress reporting

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 Works

Every 6 hours, the system fetches market data and news → runs AI sentiment and trend analysis → generates a concise forecast report → publishes it to WordPress → and alerts users via Slack or email.

Workflow Template

Trigger → Fetch → Format → Merge → AI Analyze → Report → Publish → Notify

Workflow Steps

  1. Schedule: Executes automatically every 6 hours using a Cron trigger.
  2. Fetch: Retrieves live gold prices (MetalPriceAPI), financial headlines (NewsAPI), and macroeconomic indicators (FRED).
  3. Format & Merge: Cleans, normalizes, and merges all data into a single structured dataset for AI analysis.
  4. AI Analyze (OpenAI): Performs sentiment, trend, and correlation analysis to forecast short-term gold price movements.
  5. Report Generation: Creates a concise summary report with forecasts, insights, and confidence metrics.
  6. Publish & Notify: Automatically posts to WordPress and sends alerts via Slack and Email to keep analysts updated.

Setup

  • Add API keys: MetalPrice, NewsAPI, FRED, OpenAI, WordPress, Slack, Gmail.
  • Configure scheduling interval, API endpoints, and authentication in n8n.
  • Predefine WordPress post format and Slack message templates for smooth automation.

Prerequisites

n8n v1.0+, API keys, OAuth credentials, and internet access.

Use Cases

Investment forecasting, financial newsletter automation, or market monitoring dashboards.

Customization

Add cryptocurrency or stock tracking, modify AI prompts, or route summaries to Telegram, Notion, or Google Sheets.

Benefits

Saves analyst time, ensures consistent insights, enhances accuracy, and delivers timely, AI-driven financial intelligence.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Every 6 Hours

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - Get Current Gold Price

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Fetch Financial News

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Get Inflation Data

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Get Interest Rate Data

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - Get Employment Data

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Format Gold Price

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Format News Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Format Inflation

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - Format Interest Rates

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - Format Employment

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - Merge All Data

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 13 - Prepare AI Input

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 14 - AI Agent - Gold Market Analysis

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 15 - Format Final Report

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 16 - Publish to WordPress

Type / Role
n8n-nodes-base.wordpress - wordpress
Config choices
Version 1

Block 17 - Send Slack Summary

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.2

Block 18 - Send Email Summary

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 19 - OpenRouter Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 20 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Gold market prediction system with Perplexity Sonar-Pro, FRED data, and WordPress reporting
Complexity advanced
Nodes 22
Categories Crypto Trading, AI Summarization
Author Cheng Siong Chin
Published 31 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10379/10379.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Gold market prediction system with Perplexity Sonar-Pro, FRED data, and WordPress reporting do?

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

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading, AI Summarization use case.