{
  "name": "Gold market prediction system with Perplexity Sonar-Pro, FRED data, and WordPress reporting",
  "nodes": [
    {
      "id": "b83c3eaf-eb99-4de6-bfb4-f572559f9960",
      "name": "Every 6 Hours",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        512,
        256
      ]
    },
    {
      "id": "c799a1dc-f452-4deb-b771-727c45e41a9e",
      "name": "Get Current Gold Price",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        736,
        -128
      ]
    },
    {
      "id": "722ee37a-298c-4c93-b5ed-55fe71bce92c",
      "name": "Fetch Financial News",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        736,
        64
      ]
    },
    {
      "id": "32d7a705-f003-4b3a-8487-88091161305e",
      "name": "Get Inflation Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        736,
        256
      ]
    },
    {
      "id": "9bc19922-62ed-43c9-8a2e-260ad222e0a4",
      "name": "Get Interest Rate Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        736,
        448
      ]
    },
    {
      "id": "24c0614a-458f-4c97-a699-658129e12af4",
      "name": "Get Employment Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        736,
        640
      ]
    },
    {
      "id": "8f69c836-908d-474c-b1af-e4a40dfb6133",
      "name": "Format Gold Price",
      "type": "n8n-nodes-base.set",
      "position": [
        960,
        -128
      ]
    },
    {
      "id": "e66ccf59-958b-48b2-8b9b-c810c43ac8bc",
      "name": "Format News Data",
      "type": "n8n-nodes-base.set",
      "position": [
        960,
        64
      ]
    },
    {
      "id": "698df7ed-3e8b-4fd0-b7c6-ca117c1e6fb7",
      "name": "Format Inflation",
      "type": "n8n-nodes-base.set",
      "position": [
        960,
        256
      ]
    },
    {
      "id": "b2946653-aef5-4178-bada-1a45af0a4d51",
      "name": "Format Interest Rates",
      "type": "n8n-nodes-base.set",
      "position": [
        960,
        448
      ]
    },
    {
      "id": "54665285-1ff7-47c8-9804-241ae5a7cc81",
      "name": "Format Employment",
      "type": "n8n-nodes-base.set",
      "position": [
        960,
        640
      ]
    },
    {
      "id": "e9acb270-2801-4b29-a837-4f0d20daf3a5",
      "name": "Merge All Data",
      "type": "n8n-nodes-base.merge",
      "position": [
        1184,
        -32
      ]
    },
    {
      "id": "94f957c5-f758-430f-b126-64c2df6eab9c",
      "name": "Prepare AI Input",
      "type": "n8n-nodes-base.set",
      "position": [
        1344,
        -32
      ]
    },
    {
      "id": "65481686-817a-4113-8f5c-907eafa330ee",
      "name": "AI Agent - Gold Market Analysis",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1504,
        -32
      ]
    },
    {
      "id": "03892373-2f22-4e07-ae13-c0e46a50355e",
      "name": "Format Final Report",
      "type": "n8n-nodes-base.set",
      "position": [
        1808,
        -32
      ]
    },
    {
      "id": "04ff9645-e526-46be-a245-f4a43726bac3",
      "name": "Publish to WordPress",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        1984,
        -32
      ]
    },
    {
      "id": "8d5b7ebd-f6d4-4026-b6e9-20b5ebf91e29",
      "name": "Send Slack Summary",
      "type": "n8n-nodes-base.slack",
      "position": [
        2208,
        -128
      ]
    },
    {
      "id": "e0243aba-6269-4ecb-b95b-fe27426a860c",
      "name": "Send Email Summary",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        2208,
        64
      ]
    },
    {
      "id": "986680b8-bdfc-4c03-af8f-24fb2c27a5a6",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1504,
        128
      ]
    },
    {
      "id": "49db7300-6578-4548-b743-53634988975f",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1168,
        256
      ],
      "parameters": {
        "width": 912,
        "height": 208,
        "content": "## **Introduction**\nAutomates gold market tracking using AI forecasting by collecting live prices, financial news, and macro indicators (inflation, interest rates, employment) to produce real-time ins"
      }
    },
    {
      "id": "9b10ec61-d430-4cf9-adf3-470b232f7bd7",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2096,
        256
      ],
      "parameters": {
        "width": 400,
        "height": 464,
        "content": "## Prerequisites\nn8n v1.0+, API keys, OAuth credentials, and internet access.\n\n## Use Cases\nInvestment forecasting, financial newsletter automation, or market monitoring dashboards.\n\n## Customization\n"
      }
    },
    {
      "id": "066a76a3-86b6-4a9d-8f2d-b448296e3883",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1168,
        480
      ],
      "parameters": {
        "width": 912,
        "height": 416,
        "content": "## **Workflow Template**\n**Trigger → Fetch → Format → Merge → AI Analyze → Report → Publish → Notify**\n\n## **Workflow Steps**\n1. **Schedule:** Executes automatically every **6 hours** using a Cron tri"
      }
    }
  ],
  "connections": {
    "Every 6 Hours": {
      "main": [
        [
          {
            "node": "Get Current Gold Price",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Financial News",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Inflation Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Interest Rate Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Employment Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge All Data": {
      "main": [
        [
          {
            "node": "Prepare AI Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format News Data": {
      "main": [
        [
          {
            "node": "Merge All Data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Prepare AI Input": {
      "main": [
        [
          {
            "node": "AI Agent - Gold Market Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Gold Price": {
      "main": [
        [
          {
            "node": "Merge All Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Inflation Data": {
      "main": [
        [
          {
            "node": "Format Inflation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Final Report": {
      "main": [
        [
          {
            "node": "Publish to WordPress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Employment Data": {
      "main": [
        [
          {
            "node": "Format Employment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Financial News": {
      "main": [
        [
          {
            "node": "Format News Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Publish to WordPress": {
      "main": [
        [
          {
            "node": "Send Slack Summary",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Email Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent - Gold Market Analysis",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get Current Gold Price": {
      "main": [
        [
          {
            "node": "Format Gold Price",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Interest Rate Data": {
      "main": [
        [
          {
            "node": "Format Interest Rates",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent - Gold Market Analysis": {
      "main": [
        [
          {
            "node": "Format Final Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}