n8n
Workflow
Send Automated Daily Reminders On Telegram
This n8n workflow automates tasks using Other Tools. Send Automated Daily Reminders On Telegram - ready to import and run in your n8n instance.
n8n
workflow.json
About This Script
This n8n workflow automates tasks using Other Tools. Send Automated Daily Reminders On Telegram - ready to import and run in your n8n instance.
Features:
- Scheduled automation with cron triggers
- Custom JavaScript function processing
- Integrates with Other Tools
- Sends notifications or updates
Source Code
{
"nodes": [
{
"name": "Morning reminder",
"type": "n8n-nodes-base.cron",
"notes": "Trigger very morning",
"position": [
220,
60
],
"parameters": {
"triggerTimes": {
"item": [
{
"hour": 6
}
]
}
},
"notesInFlow": true,
"typeVersion": 1,
"alwaysOutputData": true,
"id": "f8c9628b-14d1-4231-a709-3907b8a68616"
},
{
"name": "format reminder",
"type": "n8n-nodes-base.functionItem",
"position": [
460,
60
],
"parameters": {
"functionCode": "\n// Creates message with todays date\nconst today = new Date()\nconst yesterday = new Date(today)\n\nyesterday.setDate(yesterday.getDate() - 1)\nconst message = `What did you do: ${yesterday.toISOString().split('T')[0]}`\n\nreturn {message};"
},
"typeVersion": 1,
"id": "392cc120-7c7d-438b-b7ce-307e4260db8f"
},
{
"name": "Send journal reminder",
"type": "n8n-nodes-base.telegram",
"position": [
700,
60
],
"parameters": {
"text": "={{$node[\"format reminder\"].json[\"message\"]}}",
"chatId": "666884239",
"additionalFields": []
},
"credentials": [],
"typeVersion": 1,
"id": "17eefa7b-cd2f-437d-84dc-5e69d66d712e"
}
],
"connections": {
"format reminder": {
"main": [
[
{
"node": "Send journal reminder",
"type": "main",
"index": 0
}
]
]
},
"Morning reminder": {
"main": [
[
{
"node": "format reminder",
"type": "main",
"index": 0
}
]
]
}
},
"n8n_version": "1.5.0"
}
Requirements
n8n instance, Telegram API credentials
Tags
#n8n
#automation
#workflow