جدول يومك على تيليجرام
كل صباح، تصلك مواعيد اليوم في رسالة تيليجرام واحدة مرتبة.
كيف تعمل
المشغّل: جدول زمني — كل يوم الساعة 7:00
- اجلب أحداث اليوم من Google Calendar.
- رتّبها كقائمة: الوقت، العنوان، المكان أو رابط الاجتماع.
- أرسل الرسالة عبر بوت تيليجرام الخاص بك.
المخطط
مشغّل تطبيق كود
الكود
كود JavaScript المستخدم في خطوات Code، وهو مضمَّن بالفعل في القالب بالأسفل.
// Turns today's calendar events into one Telegram message.
const events = $input.all().map((item) => item.json).filter((e) => e.id);
if (!events.length) {
return [{ json: { text: "☀️ No meetings today — enjoy the focus time!" } }];
}
const time = (e) =>
e.start.dateTime
? new Date(e.start.dateTime).toLocaleTimeString("en-GB", { hour: "2-digit", minute: "2-digit" })
: "All day";
const lines = events.map((e) => {
const link = e.hangoutLink ? `\n ${e.hangoutLink}` : "";
return `• ${time(e)} — ${e.summary}${link}`;
});
return [{ json: { text: `☀️ Today's agenda (${events.length}):\n${lines.join("\n")}` } }];ابنِها بأداتك
اختر أداتك — نفس الأتمتة، خطوة بخطوة.
انسخه والصقه مباشرة في مساحة عمل n8n (Ctrl+V)، أو حمّله واستخدم Import from File. بعد ذلك اربط حساباتك واستبدل كل قيمة تبدأ بـ YOUR_.
عرض الكود (136 سطر)
{
"name": "جدول يومك على تيليجرام (Flowngn)",
"nodes": [
{
"parameters": {
"content": "## جدول يومك على تيليجرام\nكل صباح، تصلك مواعيد اليوم في رسالة تيليجرام واحدة مرتبة.\n\n**Setup**\n1. Open each node and connect your own credentials.\n2. Replace every YOUR_… placeholder.\n3. Test once, then activate.\n\nFree template from Flowngn",
"height": 260,
"width": 340
},
"id": "2473c6c3-ba78-4235-a758-cbdeb43be1cf",
"name": "Setup notes",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-420,
-60
]
},
{
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 7
}
]
}
},
"id": "2473c6c3-ba78-4235-a758-cbdeb43be1cf",
"name": "Every day 7:00",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
0,
0
]
},
{
"parameters": {
"operation": "getAll",
"calendar": {
"__rl": true,
"value": "primary",
"mode": "id"
},
"returnAll": true,
"timeMin": "={{ $today.toISO() }}",
"timeMax": "={{ $today.plus({ days: 1 }).toISO() }}",
"options": {
"singleEvents": true,
"orderBy": "startTime"
}
},
"id": "2473c6c3-ba78-4235-a758-cbdeb43be1cf",
"name": "Get today's events",
"type": "n8n-nodes-base.googleCalendar",
"typeVersion": 1.3,
"position": [
300,
0
],
"alwaysOutputData": true
},
{
"parameters": {
"jsCode": "// Turns today's calendar events into one Telegram message.\nconst events = $input.all().map((item) => item.json).filter((e) => e.id);\n\nif (!events.length) {\n return [{ json: { text: \"☀️ No meetings today — enjoy the focus time!\" } }];\n}\n\nconst time = (e) =>\n e.start.dateTime\n ? new Date(e.start.dateTime).toLocaleTimeString(\"en-GB\", { hour: \"2-digit\", minute: \"2-digit\" })\n : \"All day\";\n\nconst lines = events.map((e) => {\n const link = e.hangoutLink ? `\\n ${e.hangoutLink}` : \"\";\n return `• ${time(e)} — ${e.summary}${link}`;\n});\n\nreturn [{ json: { text: `☀️ Today's agenda (${events.length}):\\n${lines.join(\"\\n\")}` } }];"
},
"id": "2473c6c3-ba78-4235-a758-cbdeb43be1cf",
"name": "Format agenda",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
600,
0
]
},
{
"parameters": {
"chatId": "YOUR_CHAT_ID",
"text": "={{ $json.text }}",
"additionalFields": {}
},
"id": "2473c6c3-ba78-4235-a758-cbdeb43be1cf",
"name": "Send to Telegram",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
900,
0
]
}
],
"connections": {
"Every day 7:00": {
"main": [
[
{
"node": "Get today's events",
"type": "main",
"index": 0
}
]
]
},
"Get today's events": {
"main": [
[
{
"node": "Format agenda",
"type": "main",
"index": 0
}
]
]
},
"Format agenda": {
"main": [
[
{
"node": "Send to Telegram",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"meta": {
"templateCredsSetupCompleted": false
},
"tags": []
}في Make، أنشئ سيناريو جديدًا وأضف هذه الوحدات بالترتيب:
- Schedule the scenario: Every day 7:00
- Google Calendar › Search Events
- Tools › Set variable / Iterator + Array aggregator (same logic as the Code step)
- Telegram Bot › Send a Text Message or a Reply
- كل تشغيل لوحدة يستهلك عمليات (operations) في Make — والباقة المجانية تتضمن حصة شهرية.
- دوال Make المدمجة (map و sum و formatDate…) تغني عن معظم خطوات Code؛ وللمنطق المعقد استخدم وحدة كود.
- قد تختلف أسماء الوحدات والخطوات قليلًا مع تحديث Make و Zapier لتطبيقاتهما.
في Zapier، أنشئ Zap جديدًا وأضف هذه الخطوات بالترتيب:
- Schedule by Zapier — Every day 7:00
- Google Calendar — Find Events
- Code by Zapier — Run JavaScript (paste the code from the Code section)
- Telegram — Send Message
- الـ Zaps التي فيها أكثر من خطوتين تحتاج باقة Zapier مدفوعة.
- الـ Webhooks والفلاتر/المسارات و Code by Zapier ميزات مدفوعة في بعض باقات Zapier.
- Code by Zapier يشغّل JavaScript: أعد استخدام الكود بالأعلى، مع قراءة المدخلات من inputData بدلًا من $json.
- قد تختلف أسماء الوحدات والخطوات قليلًا مع تحديث Make و Zapier لتطبيقاتهما.
نصائح
- أنشئ البوت مجانًا عبر @BotFather في تيليجرام.
أتمتات مشابهة
الإنتاجيةمتوسط
الموافقة على طلبات الإجازة من تيليجرام
الموظف يملأ نموذج الإجازة، والمدير يوافق أو يرفض بضغطة على تيليجرام، ويصل الموظف بريد بالقرار.
Google Forms → Google Sheets → Telegram → Gmail4 س/شهر
الإنتاجيةسهل
أسبوعك القادم في بريد واحد
كل صباح أحد، يصلك بريد واحد بكل اجتماعات الأسبوع مقسّمة حسب اليوم.
Google Calendar → Gmail1 س/شهر
الإنتاجيةسهل
ملخص مسائي للرسائل غير المقروءة على تيليجرام
كل مساء، تصلك قائمة برسائل اليوم غير المقروءة (المرسل والعنوان) على تيليجرام حتى لا يفوتك شيء مهم.
Gmail → Telegram2 س/شهر