What This Automation Does
This workflow sends a daily positive message to your Telegram automatically at 9 AM.
It fetches a new affirmation from an online API and sends it to you without you doing anything.
This saves time and helps you get motivated every day.
The workflow uses these steps: a timer triggers the process, an API call gets the affirmation, and a Telegram message is created and sent.
The result is a fresh, personal positive message on Telegram each morning.
Prerequisites ⚙️
- n8n Account: Set up a free or self-host n8n instance to create and run workflows.
- Telegram Account & Bot Token ????????: Create a Telegram bot via BotFather and get the API key for sending messages.
- HTTP Request Node Capability ????: Needs internet access to fetch data from
https://affirmations.dev.
Beginner step-by-step: How to use this workflow in n8n
Step 1: Import the Workflow
- Download the workflow file using the Download button on this page.
- Open n8n editor where you want to run the workflow.
- Click on “Import from File” and select the downloaded workflow.
Step 2: Configure Credentials and Settings
- Add your Telegram Bot API key under credentials for the Telegram node.
- Check if you need to update chat IDs, emails, or any other IDs in the Telegram node.
Step 3: Test the Workflow
- Run the workflow once manually to check that the affirmation message sends correctly.
Step 4: Activate for Daily Use
- Toggle the workflow to active so the scheduled Cron node will run it automatically every day at 9 AM.
- Monitor the execution logs in n8n dashboard for any errors.
5. Inputs, Processing, and Outputs
Inputs:
- The trigger time from the Cron node set to 9 AM daily.
- The affirmation text obtained from the
https://affirmations.devAPI via HTTP Request node.
Processing Steps:
- The Cron node starts the workflow every day at the set time.
- The HTTP Request node calls the API and gets a new affirmation in JSON format.
- The Telegram node takes the text from HTTP Request and sends it as a message to your Telegram chat.
Output:
- A personal motivational message sent to your Telegram account at 9 AM each day.
Customizations ✏️
- Change delivery time by adjusting the Cron node’s hour setting.
- Edit the Telegram message text to include different names, emojis, or extra text.
- Use different affirmation APIs by changing the URL in the HTTP Request node.
- Send messages to more people by duplicating the Telegram node and updating chat IDs.
- Log affirmations by adding a Code node after HTTP Request to save data elsewhere.
Troubleshooting ????
Problem: Telegram node says “Unauthorized”.
Cause: Wrong Telegram API key or bot not started by user.
Fix: Check the API key from BotFather and start a chat with the Telegram bot.
Problem: HTTP Request does not fetch affirmation.
Cause: Wrong API URL or no internet access.
Fix: Confirm the URL is https://affirmations.dev and your n8n instance has internet.
Pre-Production Checklist ✅
- Make sure the Cron node time and timezone are correct for your zone.
- Run HTTP Request node alone to verify the API returns a valid affirmation.
- Send a test message with the Telegram node manually to ensure it reaches your chat.
- Confirm the Telegram bot is started by you to accept messages.
- Save a backup of the workflow configuration before turning on the daily schedule.
Deployment Guide
After successful tests, switch on the workflow in n8n to run daily.
The Cron node triggers the steps without manual work.
Watch execution logs inside n8n editor to check for delivery issues.
Update Telegram API keys if login errors appear later.
Summary and Result
✓ Automates sending fresh daily affirmations to Telegram at 9 AM.
✓ Saves time by fetching affirmations automatically from a public API.
✓ Creates a habit of daily motivation without manual effort.
✓ Offers customization for scheduling, message content, and recipients.
✓ Supports mental wellbeing with easy technical setup.

