Templates / Send gold-silver ratio opportunity alerts with GoldAPI and Gmail

Send gold-silver ratio opportunity alerts with GoldAPI and Gmail

Ready for 3.0

by WeblineIndia ✓ · 30 views · created 2026-07-13 · Crypto Trading, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 16 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Gmail.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set Global Config (Edit Fields (Set)): sets or maps fields
  2. Fetch Gold Price (HTTP Request): calls an HTTP API
  3. Fetch Silver Price (XAG) (HTTP Request): calls an HTTP API
  4. Format Gold Price (Edit Fields (Set)): sets 1 field: goldPrice
  5. Format Silver Price (Edit Fields (Set)): sets 1 field: silverPrice
  6. Merge: merges the data from its input branches
  7. Calculate Gold-Silver Ratio (Code): runs custom Python code
  8. Ratio > BuySilver Threshold? (If): checks a condition and branches into true / false
  9. Signal — BUY SILVER (Edit Fields (Set)): sets or maps fields
  10. Ratio < BuyGold Threshold? (If): checks a condition and branches into true / false

…plus 5 more steps. See the full node list below.

Services it uses

Gmail

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

Quick overview This workflow fetches live gold (XAU) and silver (XAG) prices from GoldAPI.io, calculates the gold-silver ratio, evaluates it against buy/hold thresholds, and sends a formatted opportunity alert email via Gmail. How it works 1. Starts manually…

Excerpt from WeblineIndia's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.