You are helping me build the following AI agent workflow. ## Goal Gold Market Prediction System: Every six hours, the system fetches gold prices, news, and macro data to generate an AI-powered forecast report with confidence metrics. ## Specification - What it does: Get actionable gold market forecasts every six hours by having the system automatically gather live prices, news, and economic data to analyze trends for you. You receive a concise report with clear price predictions and confidence metrics so you can make informed decisions without manual research. - Trigger: On a schedule (Scheduled ยท every 6 hours) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - n8n: Workflow orchestration and scheduling - MetalPriceAPI: Fetching live gold prices - NewsAPI: Retrieving financial headlines - FRED: Accessing macroeconomic indicators - OpenRouter Chat Model: AI sentiment and trend analysis ## Known pitfalls, handle each one explicitly in your implementation 1. FRED data often has inconsistent date formats which will break correlation analysis so you need a code node to standardize timestamps before merging. 2. WordPress authentication tokens expire quickly so you must implement automatic token refresh logic in your publish step. ## Reference implementation https://n8n.io/workflows/10379 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/gold-market-prediction-system/ via usecasesforagents.com