{
  "name": "Automated forex news alert system with Forex Factory and Telegram",
  "nodes": [
    {
      "id": "b6337748-39ee-4e9e-9b9f-e458b7ae42fa",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2848,
        -144
      ],
      "parameters": {
        "width": 460,
        "height": 1088,
        "content": "## Get Forex Factory News Release to Telegram\n### This n8n template demonstrates how to capture Actual Data Releases as quickly as possible for trading decisions.\n\n### Use cases:\n1. Get notified if th"
      }
    },
    {
      "id": "867655c4-9d96-41f0-809d-01d370a35b06",
      "name": "Affected Pairs",
      "type": "n8n-nodes-base.set",
      "position": [
        -1632,
        232
      ]
    },
    {
      "id": "46d53180-bee7-42b7-8717-2f11e62de234",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1408,
        232
      ]
    },
    {
      "id": "be52819a-dacb-4315-a2e2-0e380dac3261",
      "name": "Get News Segment",
      "type": "n8n-nodes-base.set",
      "position": [
        -960,
        160
      ]
    },
    {
      "id": "0ee7d21b-d80c-442e-a11c-d138297020fa",
      "name": "Get Actual Data?2",
      "type": "n8n-nodes-base.if",
      "position": [
        -736,
        160
      ]
    },
    {
      "id": "1151e850-8202-44a7-b67e-ce3186b4e509",
      "name": "Actual, Forecast Value2",
      "type": "n8n-nodes-base.set",
      "position": [
        -288,
        16
      ]
    },
    {
      "id": "6e30254d-254d-4c77-8c26-5eeff4c5c940",
      "name": "Google Calendar Trigger1",
      "type": "n8n-nodes-base.googleCalendarTrigger",
      "position": [
        -2304,
        328
      ]
    },
    {
      "id": "1bcda6ac-e16a-4481-b5f0-5f37eed3b033",
      "name": "If1",
      "type": "n8n-nodes-base.if",
      "position": [
        -64,
        112
      ]
    },
    {
      "id": "32ada2ae-50c1-43c9-8cd4-82f1fc2b384c",
      "name": "To Number1",
      "type": "n8n-nodes-base.set",
      "position": [
        160,
        208
      ]
    },
    {
      "id": "5663e868-4f06-4189-beae-97c540093ec6",
      "name": "Get Actual Data?1",
      "type": "n8n-nodes-base.if",
      "position": [
        -512,
        256
      ]
    },
    {
      "id": "267ae7ed-df14-42b7-97d9-78acbf9b7d43",
      "name": "Delete %KMBT, To Number1",
      "type": "n8n-nodes-base.set",
      "position": [
        160,
        16
      ]
    },
    {
      "id": "b998592a-6c14-4c34-be4a-c89c06232b22",
      "name": "'Actual' less than 'Forecast' is good for currency?1",
      "type": "n8n-nodes-base.if",
      "position": [
        384,
        112
      ]
    },
    {
      "id": "f8d4d0fd-a664-404a-a0dc-1d20abab21fd",
      "name": "IF Has Forecast1",
      "type": "n8n-nodes-base.if",
      "position": [
        -2080,
        328
      ]
    },
    {
      "id": "bf346ea8-bb9f-487f-ac44-22aa72b56e10",
      "name": "No Operation, do nothing2",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -1856,
        424
      ]
    },
    {
      "id": "de4c0747-e31c-4bee-a725-09c6150a9899",
      "name": "Get News Details1",
      "type": "n8n-nodes-base.set",
      "position": [
        -1856,
        232
      ]
    },
    {
      "id": "1a2e9a6d-d7e6-4460-b978-edb0459f9d2d",
      "name": "Scrape News Link1",
      "type": "n8n-nodes-base.airtop",
      "position": [
        -1184,
        232
      ]
    },
    {
      "id": "70df6bf3-1ffd-40dd-b7c1-e63636fd6068",
      "name": "Wait 5s1",
      "type": "n8n-nodes-base.wait",
      "position": [
        -288,
        424
      ]
    },
    {
      "id": "a07cbbe8-9593-4975-b9ca-a164f9773788",
      "name": "Less Good1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        608,
        16
      ]
    },
    {
      "id": "841d7d22-ad3f-4c53-8485-2008c6b40488",
      "name": "Greater Good1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        608,
        208
      ]
    },
    {
      "id": "1bf310fd-5c58-4b0a-99b5-502709dc241b",
      "name": "Actual, Forecast Value1",
      "type": "n8n-nodes-base.set",
      "position": [
        -288,
        208
      ]
    },
    {
      "id": "63e0d917-77c6-4d27-ab75-e16ab627af8e",
      "name": "No Operation, do nothing3",
      "type": "n8n-nodes-base.noOp",
      "position": [
        832,
        112
      ]
    }
  ],
  "connections": {
    "If1": {
      "main": [
        [
          {
            "node": "Delete %KMBT, To Number1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "To Number1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Scrape News Link1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 5s1": {
      "main": [
        [
          {
            "node": "Scrape News Link1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Less Good1": {
      "main": [
        [
          {
            "node": "No Operation, do nothing3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "To Number1": {
      "main": [
        [
          {
            "node": "'Actual' less than 'Forecast' is good for currency?1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Greater Good1": {
      "main": [
        [
          {
            "node": "No Operation, do nothing3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Affected Pairs": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get News Segment": {
      "main": [
        [
          {
            "node": "Get Actual Data?2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF Has Forecast1": {
      "main": [
        [
          {
            "node": "Get News Details1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No Operation, do nothing2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Actual Data?1": {
      "main": [
        [
          {
            "node": "Actual, Forecast Value1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait 5s1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Actual Data?2": {
      "main": [
        [
          {
            "node": "Actual, Forecast Value2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get Actual Data?1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get News Details1": {
      "main": [
        [
          {
            "node": "Affected Pairs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape News Link1": {
      "main": [
        [
          {
            "node": "Get News Segment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Actual, Forecast Value1": {
      "main": [
        [
          {
            "node": "If1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Actual, Forecast Value2": {
      "main": [
        [
          {
            "node": "If1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Delete %KMBT, To Number1": {
      "main": [
        [
          {
            "node": "'Actual' less than 'Forecast' is good for currency?1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Calendar Trigger1": {
      "main": [
        [
          {
            "node": "IF Has Forecast1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "'Actual' less than 'Forecast' is good for currency?1": {
      "main": [
        [
          {
            "node": "Less Good1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Greater Good1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}