AutomationFlowsSlack & Telegram › Daily Import Yesterday's Forex Factory Calendar to Google Sheets with…

Daily Import Yesterday's Forex Factory Calendar to Google Sheets with…

Original n8n title: Daily Import Yesterday's Forex Factory Calendar to Google Sheets with Telegram Alerts

ByNima Salimi @salimi on n8n.io

This n8n workflow automatically fetches the Forex Factory calendar for yesterday using Rapid API, then saves the data to a connected Google Sheet and sends Telegram alerts for high and medium impact events.

Cron / scheduled trigger★★★★☆ complexity12 nodesTelegramGoogle SheetsHTTP Request
Slack & Telegram Trigger: Cron / scheduled Nodes: 12 Complexity: ★★★★☆ Added:

This workflow corresponds to n8n.io template #9357 — we link there as the canonical source.

This workflow follows the Google Sheets → HTTP Request recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "fvd4uwHNbYcUbqzk",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Daily Import Forex Factory Calendar into Google Sheets & Send in Telegram",
  "tags": [
    {
      "id": "RhAmCaLYc9EkF42I",
      "name": "n8n",
      "createdAt": "2025-08-24T08:04:35.027Z",
      "updatedAt": "2025-08-24T08:04:35.027Z"
    }
  ],
  "nodes": [
    {
      "id": "de71e899-7dd7-40f6-9a69-f34fc4ddd93e",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        500,
        0
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "or",
          "conditions": [
            {
              "id": "d308f5af-3dc7-4313-8bff-d7736de748e5",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $json.impact }}",
              "rightValue": "High"
            },
            {
              "id": "77dcdd8a-b5df-46b2-bd9e-c255643cc17e",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $json.impact }}",
              "rightValue": "Medium"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "2c535596-f826-4834-a201-b2a15b87bd49",
      "name": "Convert month name to number",
      "type": "n8n-nodes-base.code",
      "position": [
        20,
        0
      ],
      "parameters": {
        "jsCode": "// Get all input items\nconst items = $input.all();\n\nconst monthMap = {\n  January: 1,\n  February: 2,\n  March: 3,\n  April: 4,\n  May: 5,\n  June: 6,\n  July: 7,\n  August: 8,\n  September: 9,\n  October: 10,\n  November: 11,\n  December: 12\n};\n\nconst output = items.map(item => {\n  const monthName = item.json.Month || \"\";\n  const formattedName = monthName.trim().charAt(0).toUpperCase() + monthName.trim().slice(1).toLowerCase();\n  const monthNumber = monthMap[formattedName] || null;\n\n  return {\n    json: {\n      Month: monthName,\n      Month_Number: monthNumber\n    }\n  };\n});\n\nreturn output;\n"
      },
      "typeVersion": 2
    },
    {
      "id": "a0f18403-c517-4ce0-8d4a-985cf0f082bf",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1480,
        -140
      ],
      "parameters": {
        "text": "=Forex factory Calendar: \nDate: {{ new Date(Date.now() - 24*60*60*1000).toISOString().split('T')[0] }}\n\nThe High Impact News:\n{{ $json['News Title'] }}\n\n",
        "chatId": "xxxxxxxxxxxx",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "3d1cef00-fee9-4e3f-8da9-ad520b1ff0f2",
      "name": "Append to Google Sheets: Low Impact",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        820,
        100
      ],
      "parameters": {
        "columns": {
          "value": {
            "date": "={{ $json.date }}",
            "time": "={{ $json.time }}",
            "year": "={{ $json.year }}",
            "actual": "={{ $json.actual }}",
            "impact": "={{ $json.impact }}",
            "currency": "={{ $json.currency }}",
            "forecast": "={{ $json.forecast }}",
            "previous": "={{ $json.previous }}",
            "News Title": "={{ $json.name }}"
          },
          "schema": [
            {
              "id": "News Title",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "News Title",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "year",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "year",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "date",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "date",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "time",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "time",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "currency",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "currency",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "impact",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "impact",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "actual",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "actual",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "forecast",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "forecast",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "previous",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "previous",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {
          "useAppend": true
        },
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": 1954835598,
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1gktMWTBVN0B9SZ6cEIW1gFKuUAnHrR_hbLncqilbczw/edit#gid=1954835598",
          "cachedResultName": "calendar-Low Impact"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1gktMWTBVN0B9SZ6cEIW1gFKuUAnHrR_hbLncqilbczw",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1gktMWTBVN0B9SZ6cEIW1gFKuUAnHrR_hbLncqilbczw/edit?usp=drivesdk",
          "cachedResultName": "Import Forex Factory Calendar into Google Sheets | n8n"
        },
        "authentication": "serviceAccount"
      },
      "credentials": {
        "googleApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "6c618af8-eddd-4799-ae29-2e648502ebc9",
      "name": "Append to Google Sheets: High Impact",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        820,
        -140
      ],
      "parameters": {
        "columns": {
          "value": {
            "date": "={{ $json.date }}",
            "time": "={{ $json.time }}",
            "year": "={{ $json.year }}",
            "actual": "={{ $json.actual }}",
            "impact": "={{ $json.impact }}",
            "currency": "={{ $json.currency }}",
            "forecast": "={{ $json.forecast }}",
            "previous": "={{ $json.previous }}",
            "News Title": "={{ $json.name }}"
          },
          "schema": [
            {
              "id": "News Title",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "News Title",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "year",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "year",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "date",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "date",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "time",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "time",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "currency",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "currency",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "impact",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "impact",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "actual",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "actual",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "forecast",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "forecast",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "previous",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "previous",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {
          "useAppend": true
        },
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1gktMWTBVN0B9SZ6cEIW1gFKuUAnHrR_hbLncqilbczw/edit#gid=0",
          "cachedResultName": "calendar-High/Medium Impact"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1gktMWTBVN0B9SZ6cEIW1gFKuUAnHrR_hbLncqilbczw",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1gktMWTBVN0B9SZ6cEIW1gFKuUAnHrR_hbLncqilbczw/edit?usp=drivesdk",
          "cachedResultName": "Import Forex Factory Calendar into Google Sheets | n8n"
        },
        "authentication": "serviceAccount"
      },
      "credentials": {
        "googleApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "f9e74e46-1363-434e-a853-4f9e740917b5",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1280,
        -140
      ],
      "parameters": {
        "options": {},
        "fieldsToAggregate": {
          "fieldToAggregate": [
            {
              "fieldToAggregate": "News Title"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "2efc81dd-ebb1-42df-af02-45c60375fa26",
      "name": "Schedule Trigger: Daily Triggers",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -220,
        0
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 8
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "e7c4e06a-fa45-4f1e-9509-b7f1f97eb172",
      "name": "Get calendar from Forex Factory",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        260,
        0
      ],
      "parameters": {
        "url": "https://forex-factory-scraper1.p.rapidapi.com/get_real_time_calendar_details",
        "options": {},
        "sendQuery": true,
        "sendHeaders": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "calendar",
              "value": "Forex"
            },
            {
              "name": "year",
              "value": "={{ $('Schedule Trigger: Daily Triggers').item.json.Year }}"
            },
            {
              "name": "month",
              "value": "={{ $json.Month_Number }}"
            },
            {
              "name": "day",
              "value": "={{ $('Schedule Trigger: Daily Triggers').item.json['Day of month'] }}"
            },
            {
              "name": "currency",
              "value": "ALL"
            },
            {
              "name": "time_format",
              "value": "24h"
            },
            {
              "name": "timezone",
              "value": "GMT-05:00 Eastern Time (US & Canada)"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "x-rapidapi-host",
              "value": "forex-factory-scraper1.p.rapidapi.com"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "53189b4a-096c-404f-8cba-625dff49d939",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        180,
        -460
      ],
      "parameters": {
        "color": 5,
        "width": 280,
        "height": 720,
        "content": "## Forex Factory API\n\n**Rapid API** gives us an API.  \nThe API provides the **exact day Forex Factory calendar** by its fields:\n\n**Fields:**\n- News Title  \n- year  \n- date  \n- time  \n- currency  \n- impact  \n- actual  \n- forecast  \n- previous"
      },
      "typeVersion": 1
    },
    {
      "id": "c6f4da78-bcc2-45da-9371-3055d28ff331",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        -460
      ],
      "parameters": {
        "color": 5,
        "width": 360,
        "height": 740,
        "content": "## Google Sheets Append Nodes\n\nThese nodes **append the Forex Factory calendar data** into the connected Google Sheet.\n\n- **High Impact Sheet:** Stores events with *High* or *Medium* impact.\n- **Low Impact Sheet:** Stores all *Low impact* events.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "ea26a205-db18-4b83-96ae-356fb96b9505",
      "name": "Filter High Impact News",
      "type": "n8n-nodes-base.filter",
      "position": [
        1060,
        -140
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "fa6853f2-3867-46e5-ad8a-c62be8ed4b77",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $json.impact }}",
              "rightValue": "High"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "43a514e1-f821-4086-8287-903eb51c5f0d",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1420,
        -460
      ],
      "parameters": {
        "color": 5,
        "height": 740,
        "content": "## telegram\n\n**Add your Chat ID to it.**\n\nIt Sends High Impact News in one message."
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "c3bdd71b-5b7e-4325-b417-4f94b83d4653",
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Append to Google Sheets: High Impact",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Append to Google Sheets: Low Impact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter High Impact News": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert month name to number": {
      "main": [
        [
          {
            "node": "Get calendar from Forex Factory",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get calendar from Forex Factory": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger: Daily Triggers": {
      "main": [
        [
          {
            "node": "Convert month name to number",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append to Google Sheets: High Impact": {
      "main": [
        [
          {
            "node": "Filter High Impact News",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This n8n workflow automatically fetches the Forex Factory calendar for yesterday using Rapid API, then saves the data to a connected Google Sheet and sends Telegram alerts for high and medium impact events.

Source: https://n8n.io/workflows/9357/ — original creator credit. Request a take-down →

More Slack & Telegram workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Slack & Telegram

This workflow automates plant care reminders and records using Google Sheets, Telegram, and OpenWeather API.

Google Sheets, HTTP Request, Telegram
Slack & Telegram

Apollo Data Enrichment Using Company Id to automatically finds contacts for companies listed in your Google Sheet, enriches each person with emails and phone numbers via Apollo’s API, and writes verif

Google Sheets, HTTP Request, Error Trigger +1
Slack & Telegram

++Download the google sheet here++ and replace this with the googles sheet node: Google sheet , upload to google sheets and replace in the google sheets node. Scheduled trigger: Runs once a day at 8 A

Google Sheets, HTTP Request, Telegram
Slack & Telegram

YT AI News Playlist Creator/AI News Form Updater. Uses googleSheets, httpRequest, splitOut, stickyNote. Scheduled trigger; 23 nodes.

Google Sheets, HTTP Request, YouTube +1
Slack & Telegram

Automatically monitor multiple websites every 5 minutes, log downtime, notify your team instantly via multiple channels, and track uptime/downtime in a Google Sheet—without relying on expensive monito

HTTP Request, Google Sheets, Gmail +2