{
  "name": "Real-time Bitcoin price alerts with Bright Data & n8n",
  "nodes": [
    {
      "id": "8746bf3b-5e6b-4f14-815d-4b774c3302c3",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        2040,
        780
      ]
    },
    {
      "id": "1a5d6ae5-9491-4199-a6fe-ae01593ebedd",
      "name": "Get Last Recorded Price",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2880,
        780
      ]
    },
    {
      "id": "b48cce2e-63f3-4b4a-b9e7-f7506695dd8a",
      "name": "Send Alert Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        3780,
        600
      ]
    },
    {
      "id": "d1f96797-9558-403d-a37c-604e07e76563",
      "name": "No Alert Needed",
      "type": "n8n-nodes-base.noOp",
      "position": [
        3780,
        900
      ]
    },
    {
      "id": "208006b9-4cae-4199-9342-d7646fe38672",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 1300,
        "height": 320,
        "content": "=======================================\n            WORKFLOW ASSISTANCE\n=======================================\nFor any questions or support, please contact:\n    Yaron@nofluff.online\n\nExplore more tip"
      }
    },
    {
      "id": "403e8b40-1a0f-464e-8d81-a162c0308252",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        340
      ],
      "parameters": {
        "width": 1289,
        "height": 2558,
        "content": "# 📉💰 **Bitcoin Price Drop Alert Workflow**\n\nThis automated workflow checks the current Bitcoin price and **sends an email alert if it drops by 5% or more** compared to the last recorded value. It’s sp"
      }
    },
    {
      "id": "201e7c73-d960-47c5-934e-f8fe0630ca2c",
      "name": "Fetch Bitcoin Price",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2240,
        780
      ]
    },
    {
      "id": "ff6d0c30-0e72-4a28-9628-b94606461a20",
      "name": "Extract Price",
      "type": "n8n-nodes-base.html",
      "position": [
        2440,
        780
      ]
    },
    {
      "id": "759e26b7-a260-469e-ba17-fc5bee7be762",
      "name": "Convert type",
      "type": "n8n-nodes-base.code",
      "position": [
        2660,
        780
      ]
    },
    {
      "id": "c33e81f4-f06e-4e47-942f-4764027f270c",
      "name": "Find drop percentage",
      "type": "n8n-nodes-base.code",
      "position": [
        3100,
        780
      ]
    },
    {
      "id": "cb64ae28-6086-4301-85b7-a8bdac6c2370",
      "name": "If droppercentage >= 5",
      "type": "n8n-nodes-base.if",
      "position": [
        3420,
        780
      ]
    },
    {
      "id": "08bcbb20-2f85-45c9-b56e-61edb70ccd74",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2020,
        0
      ],
      "parameters": {
        "width": 540,
        "height": 980,
        "content": "## 🔎 **Section 1: Fetch the Current Bitcoin Price**\n\n🧩 **Nodes:**\n\n1. **⚡ Manual Trigger**\n2. **🌐 Fetch Bitcoin Price**\n3. **🧱 Extract Price**\n\n### 🧠 What Happens:\n\n* **⚡ Manual Trigger**\n  This start"
      }
    },
    {
      "id": "9c153740-4fb9-4ab7-b129-c6bc8c61c274",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2640,
        -40
      ],
      "parameters": {
        "width": 600,
        "height": 1020,
        "content": "## 📊 **Section 2: Calculate and Compare with Historical Price**\n\n🧩 **Nodes:**\n4\\. **🔄 Convert Type**\n5\\. **📗 Get Last Recorded Price (Google Sheet)**\n6\\. **📉 Find Drop Percentage**\n\n### 🧠 What Happens"
      }
    },
    {
      "id": "58dbf6d5-371f-4123-8838-5c6f40185711",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3380,
        100
      ],
      "parameters": {
        "width": 540,
        "height": 940,
        "content": "## 🚨 **Section 3: Send Alert if Drop ≥ 5%**\n\n🧩 **Nodes:**\n7\\. **🔀 If droppercentage >= 5**\n8\\. **📧 Send Alert Email**\n9\\. **➡️ No Alert Needed**\n\n### 🧠 What Happens:\n\n* **🔀 If Statement**\n  Checks: Ha"
      }
    },
    {
      "id": "a9608daf-aff9-460a-8ca5-14c1fc41916e",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4000,
        100
      ],
      "parameters": {
        "width": 380,
        "height": 240,
        "content": "## I’ll receive a tiny commission if you join Bright Data through this link—thanks for fueling more free content!\n\n### https://get.brightdata.com/1tndi4600b25"
      }
    }
  ],
  "connections": {
    "Convert type": {
      "main": [
        [
          {
            "node": "Get Last Recorded Price",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Price": {
      "main": [
        [
          {
            "node": "Convert type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Fetch Bitcoin Price",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Bitcoin Price": {
      "main": [
        [
          {
            "node": "Extract Price",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find drop percentage": {
      "main": [
        [
          {
            "node": "If droppercentage >= 5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If droppercentage >= 5": {
      "main": [
        [
          {
            "node": "Send Alert Email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No Alert Needed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Last Recorded Price": {
      "main": [
        [
          {
            "node": "Find drop percentage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}