ملخص أخبار يومي بالذكاء الاصطناعي
كل صباح، يلخص الذكاء الاصطناعي أحدث المقالات من مصدر أخبار في بريد واحد قصير.
كيف تعمل
المشغّل: جدول زمني — كل يوم الساعة 7:00
- اقرأ أحدث العناصر من خلاصة RSS (أخبار مجالك، مدونات، Google News).
- احتفظ بمقالات آخر 24 ساعة.
- اطلب من الذكاء الاصطناعي ملخصًا من 5 نقاط مع أهم الروابط.
- أرسل الملخص إلى بريدك.
المخطط
مشغّل تطبيق كود ذكاء اصطناعي
الكود
كود JavaScript المستخدم في خطوات Code، وهو مضمَّن بالفعل في القالب بالأسفل.
// Keeps the last 24 hours of articles (max 15) as one block of text for the AI.
const DAY = 24 * 60 * 60 * 1000;
const articles = $input.all()
.map((item) => item.json)
.filter((a) => Date.now() - new Date(a.isoDate || a.pubDate).getTime() < DAY)
.slice(0, 15)
.map((a, i) => `${i + 1}. ${a.title}\n${(a.contentSnippet || "").slice(0, 300)}\n${a.link}`);
if (!articles.length) return [];
return [{ json: { articles: articles.join("\n\n") } }];ابنِها بأداتك
اختر أداتك — نفس الأتمتة، خطوة بخطوة.
انسخه والصقه مباشرة في مساحة عمل n8n (Ctrl+V)، أو حمّله واستخدم Import from File. بعد ذلك اربط حساباتك واستبدل كل قيمة تبدأ بـ YOUR_. خطوات الذكاء الاصطناعي تستخدم نموذج Claude، ويمكنك استبداله بـ OpenAI أو Gemini أو Ollama.
عرض الكود (182 سطر)
{
"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": "292cf932-28a7-4640-ac3f-63835463a159",
"name": "Setup notes",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-420,
-60
]
},
{
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 7
}
]
}
},
"id": "292cf932-28a7-4640-ac3f-63835463a159",
"name": "Every day 7:00",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
0,
0
]
},
{
"parameters": {
"url": "https://news.google.com/rss/search?q=YOUR_TOPIC&hl=en",
"options": {}
},
"id": "292cf932-28a7-4640-ac3f-63835463a159",
"name": "Read news feed",
"type": "n8n-nodes-base.rssFeedRead",
"typeVersion": 1.1,
"position": [
300,
0
]
},
{
"parameters": {
"jsCode": "// Keeps the last 24 hours of articles (max 15) as one block of text for the AI.\nconst DAY = 24 * 60 * 60 * 1000;\n\nconst articles = $input.all()\n .map((item) => item.json)\n .filter((a) => Date.now() - new Date(a.isoDate || a.pubDate).getTime() < DAY)\n .slice(0, 15)\n .map((a, i) => `${i + 1}. ${a.title}\\n${(a.contentSnippet || \"\").slice(0, 300)}\\n${a.link}`);\n\nif (!articles.length) return [];\nreturn [{ json: { articles: articles.join(\"\\n\\n\") } }];"
},
"id": "292cf932-28a7-4640-ac3f-63835463a159",
"name": "Last 24 hours",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
600,
0
]
},
{
"parameters": {
"promptType": "define",
"text": "=Summarize today's most important news for a busy reader in 5 bullet points. Each bullet: one sentence plus the link. Skip duplicates and clickbait.\n\n{{ $json.articles }}"
},
"id": "292cf932-28a7-4640-ac3f-63835463a159",
"name": "Summarize news",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"typeVersion": 1.5,
"position": [
900,
0
]
},
{
"parameters": {
"model": {
"__rl": true,
"value": "claude-sonnet-5",
"mode": "list"
},
"options": {}
},
"id": "292cf932-28a7-4640-ac3f-63835463a159",
"name": "Claude model",
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
"typeVersion": 1.3,
"position": [
900,
220
]
},
{
"parameters": {
"sendTo": "you@yourcompany.com",
"subject": "=☕ Your news digest — {{ $now.toFormat('d LLL') }}",
"emailType": "text",
"message": "={{ $json.text }}",
"options": {
"appendAttribution": false
}
},
"id": "292cf932-28a7-4640-ac3f-63835463a159",
"name": "Email digest",
"type": "n8n-nodes-base.gmail",
"typeVersion": 2.1,
"position": [
1200,
0
]
}
],
"connections": {
"Every day 7:00": {
"main": [
[
{
"node": "Read news feed",
"type": "main",
"index": 0
}
]
]
},
"Read news feed": {
"main": [
[
{
"node": "Last 24 hours",
"type": "main",
"index": 0
}
]
]
},
"Last 24 hours": {
"main": [
[
{
"node": "Summarize news",
"type": "main",
"index": 0
}
]
]
},
"Summarize news": {
"main": [
[
{
"node": "Email digest",
"type": "main",
"index": 0
}
]
]
},
"Claude model": {
"ai_languageModel": [
[
{
"node": "Summarize news",
"type": "ai_languageModel",
"index": 0
}
]
]
}
},
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"meta": {
"templateCredsSetupCompleted": false
},
"tags": []
}في Make، أنشئ سيناريو جديدًا وأضف هذه الوحدات بالترتيب:
- Schedule the scenario: Every day 7:00
- RSS › Retrieve RSS Feed Items
- Tools › Set variable / Iterator + Array aggregator (same logic as the Code step)
- Anthropic Claude › Create a Prompt (or OpenAI › Create a Completion)
- Gmail › Send an Email
- كل تشغيل لوحدة يستهلك عمليات (operations) في Make — والباقة المجانية تتضمن حصة شهرية.
- دوال Make المدمجة (map و sum و formatDate…) تغني عن معظم خطوات Code؛ وللمنطق المعقد استخدم وحدة كود.
- قد تختلف أسماء الوحدات والخطوات قليلًا مع تحديث Make و Zapier لتطبيقاتهما.
في Zapier، أنشئ Zap جديدًا وأضف هذه الخطوات بالترتيب:
- Schedule by Zapier — Every day 7:00
- RSS by Zapier + Digest by Zapier
- Code by Zapier — Run JavaScript (paste the code from the Code section)
- Anthropic (Claude) — Send Message (or ChatGPT — Conversation)
- Gmail — Send Email
- الـ Zaps التي فيها أكثر من خطوتين تحتاج باقة Zapier مدفوعة.
- الـ Webhooks والفلاتر/المسارات و Code by Zapier ميزات مدفوعة في بعض باقات Zapier.
- Code by Zapier يشغّل JavaScript: أعد استخدام الكود بالأعلى، مع قراءة المدخلات من inputData بدلًا من $json.
- قد تختلف أسماء الوحدات والخطوات قليلًا مع تحديث Make و Zapier لتطبيقاتهما.
نصائح
- Google News يوفر RSS لأي بحث: news.google.com/rss/search?q=your+topic
أتمتات مشابهة
الإنتاجيةمتوسط
الذكاء الاصطناعي يكتب مسودات ردود بريدك
الذكاء الاصطناعي يكتب مسودة رد لكل بريد جديد — راجعها واضغط إرسال.
Gmail → AI model12 س/شهر
الإنتاجيةمتوسط
حوّل رسائل Gmail المصنفة إلى مهام في Notion
صنّف رسالة بـ "To-do" فتصبح مهمة في Notion مع رابط للرسالة.
Gmail → Notion3 س/شهر
الإنتاجيةسهل
رسالة SMS للبريد العاجل
تصلك رسالة نصية عند وصول بريد مهم، حتى وأنت بعيد عن صندوق الوارد.
Gmail → Twilio2 س/شهر