Lesson 4. First Workflow: Telegram Notification#

Goal: create a simple workflow that sends a Telegram message on a schedule.
Task#
Every day at 9:00 AM, send yourself a Telegram message: "Good morning! Time to work 💪".
Step 1. Create a Telegram Bot#
(If you already have a bot from previous modules — use it.)
-
Message @BotFather
-
Send
/newbot -
Enter name and username
-
Copy the API Token
-
Send
/startto your bot -
Get your Chat ID (via
https://api.telegram.org/bot<TOKEN>/getUpdates)
Step 2. Create a New Workflow in n8n#
-
Open n8n (locally or in the cloud)
-
Click "New Workflow"
-
Name the workflow: "Morning Notification"
Step 3. Add Cron Node (Trigger)#
-
Click "+" on the canvas
-
Find the Cron node
-
Click the Cron node → settings open on the right
-
Configure the schedule:
-
Mode: Every Day
-
Hour: 9
-
Minute: 0
-
-
Click "Execute Node" to test (it will run immediately, without waiting for 9:00)
Step 4. Add Telegram Node#
-
Click "+" to the right of the Cron node
-
Find the Telegram node
-
Select Resource: Message, Operation: Send Message
-
Configure credentials:
-
click "Create New Credential"
-
enter Access Token (your bot's API Token)
-
click "Save"
-
-
Configure message parameters:
-
Chat ID: your Chat ID (e.g.,
123456789) -
Text:
Good morning! Time to work 💪
-
-
Click "Execute Node" to test → you'll receive a message in Telegram
Step 5. Save and Activate the Workflow#
-
Click "Save" (top right)
-
Toggle Active to "ON" (workflow will run on schedule)
Done! Now every day at 9:00 AM you'll receive a message in Telegram.