وكيل ذكي للبحث على الإنترنت
اسأل سؤالًا؛ فيبحث على الإنترنت ويقرأ أفضل المصادر ويكتب ملخصًا قصيرًا بالروابط.
كيف تعمل
- تسأل سؤالك في المحادثة.
- يخطط الوكيل عدة عمليات بحث وينفذها.
- يقرأ أهم الصفحات.
- يكتب ملخصًا بأهم النتائج والمصادر التي قرأها فعلًا — ويحفظه في Notion إذا طلبت.
ماذا يستطيع أن يفعل
على عكس الأتمتة الثابتة، يقرر الوكيل أي أدواته يستخدم وبأي ترتيب — ويتذكر المحادثة.
- يقسّم السؤال إلى عدة عمليات بحث
- يقرأ النص الكامل لأفضل المصادر
- يكتب ملخصًا: الإجابة أولًا، ثم النتائج والمصادر
- يحفظ التقارير في Notion عند الطلب
التعليمات (System prompt)
التعليمات التي تشكّل سلوك الوكيل. موجودة بالفعل داخل قالب n8n — انسخها إلى Make أو Zapier، وعدّل أجزاء YOUR_….
You are a research assistant. Today is {{ $now.toFormat('d LLLL yyyy') }}.
When the user asks a question:
1. Break it into 2–4 search queries and use "Search the web" for each.
2. Use "Read web page" on the 3–5 most relevant, trustworthy results.
3. Write a brief: a 2-sentence answer first, then key findings as bullet points, then a "Sources" list with the URLs you actually read.
Rules:
- Only state facts you found in the sources. If sources disagree or you couldn't find something, say so.
- Never invent sources, numbers or quotes.
- Use "Save report" only when the user asks to save it.قواعد الأمان
مدمجة في التعليمات والأدوات:
- لا يذكر إلا حقائق وجدها في المصادر التي قرأها
- يذكر روابط مصادر حقيقية — ولا يخترع أي مصدر
- يقول بوضوح عندما لا يجد شيئًا
يستخدم مفتاح الذكاء الاصطناعي الخاص بك (Claude أو OpenAI أو غيرهما). التكلفة تعتمد على النموذج وطول المحادثة — والنموذج الصغير السريع يجعل معظم المحادثات بجزء من السنت.
المخطط
ابنِها بأداتك
اختر أداتك — نفس الأتمتة، خطوة بخطوة.
انسخه والصقه مباشرة في مساحة عمل n8n (Ctrl+V)، أو حمّله واستخدم Import from File. بعد ذلك اربط حساباتك واستبدل كل قيمة تبدأ بـ YOUR_. خطوات الذكاء الاصطناعي تستخدم نموذج Claude، ويمكنك استبداله بـ OpenAI أو Gemini أو Ollama.
عرض الكود (223 سطر)
{
"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": "47157a09-d134-43d4-afa3-3abc9d4f5960",
"name": "Setup notes",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-420,
-60
]
},
{
"parameters": {
"public": true,
"mode": "hostedChat",
"initialMessages": "What would you like me to research?",
"options": {
"responseMode": "lastNode"
}
},
"id": "47157a09-d134-43d4-afa3-3abc9d4f5960",
"name": "Research chat",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"typeVersion": 1.1,
"position": [
0,
0
],
"webhookId": "47157a09-d134-43d4-afa3-3abc9d4f5960"
},
{
"parameters": {
"options": {
"systemMessage": "=You are a research assistant. Today is {{ $now.toFormat('d LLLL yyyy') }}.\n\nWhen the user asks a question:\n1. Break it into 2–4 search queries and use \"Search the web\" for each.\n2. Use \"Read web page\" on the 3–5 most relevant, trustworthy results.\n3. Write a brief: a 2-sentence answer first, then key findings as bullet points, then a \"Sources\" list with the URLs you actually read.\n\nRules:\n- Only state facts you found in the sources. If sources disagree or you couldn't find something, say so.\n- Never invent sources, numbers or quotes.\n- Use \"Save report\" only when the user asks to save it."
}
},
"id": "47157a09-d134-43d4-afa3-3abc9d4f5960",
"name": "Research agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 1.9,
"position": [
300,
0
]
},
{
"parameters": {
"model": {
"__rl": true,
"value": "claude-sonnet-5",
"mode": "list"
},
"options": {}
},
"id": "47157a09-d134-43d4-afa3-3abc9d4f5960",
"name": "Claude model",
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
"typeVersion": 1.3,
"position": [
-40,
220
]
},
{
"parameters": {
"contextWindowLength": 10
},
"id": "47157a09-d134-43d4-afa3-3abc9d4f5960",
"name": "Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"typeVersion": 1.3,
"position": [
130,
220
]
},
{
"parameters": {
"descriptionType": "manual",
"toolDescription": "Searches Google and returns the top results.",
"options": {}
},
"id": "47157a09-d134-43d4-afa3-3abc9d4f5960",
"name": "Search the web",
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"typeVersion": 1,
"position": [
300,
220
]
},
{
"parameters": {
"descriptionType": "manual",
"toolDescription": "Fetches a web page and returns its text, so you can read a source.",
"url": "={{ $fromAI('url', \"The full URL of the page to read\", 'string') }}",
"options": {}
},
"id": "47157a09-d134-43d4-afa3-3abc9d4f5960",
"name": "Read web page",
"type": "n8n-nodes-base.httpRequestTool",
"typeVersion": 4.2,
"position": [
470,
220
]
},
{
"parameters": {
"descriptionType": "manual",
"toolDescription": "Saves the finished brief as a page in Notion. Only use when the user asks.",
"resource": "databasePage",
"operation": "create",
"databaseId": {
"__rl": true,
"value": "YOUR_RESEARCH_DATABASE_ID",
"mode": "id"
},
"title": "={{ $fromAI('title', \"Report title\", 'string') }}",
"blockUi": {
"blockValues": [
{
"type": "paragraph",
"textContent": "={{ $fromAI('report', \"The full brief, including the sources list\", 'string') }}"
}
]
},
"options": {}
},
"id": "47157a09-d134-43d4-afa3-3abc9d4f5960",
"name": "Save report",
"type": "n8n-nodes-base.notionTool",
"typeVersion": 2.2,
"position": [
640,
220
]
}
],
"connections": {
"Research chat": {
"main": [
[
{
"node": "Research agent",
"type": "main",
"index": 0
}
]
]
},
"Claude model": {
"ai_languageModel": [
[
{
"node": "Research agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Memory": {
"ai_memory": [
[
{
"node": "Research agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Search the web": {
"ai_tool": [
[
{
"node": "Research agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Read web page": {
"ai_tool": [
[
{
"node": "Research agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Save report": {
"ai_tool": [
[
{
"node": "Research agent",
"type": "ai_tool",
"index": 0
}
]
]
}
},
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"meta": {
"templateCredsSetupCompleted": false
},
"tags": []
}في Make، أنشئ سيناريو جديدًا وأضف هذه الوحدات بالترتيب:
- Webhooks › Custom webhook — called by your website's chat widget
- Make AI Agents › Run an agent — give it these tools: “Search the web” (SerpApi), “Read web page” (HTTP), “Save report” (Notion); paste the system prompt as the agent's instructions
- كل تشغيل لوحدة يستهلك عمليات (operations) في Make — والباقة المجانية تتضمن حصة شهرية.
- قد تختلف أسماء الوحدات والخطوات قليلًا مع تحديث Make و Zapier لتطبيقاتهما.
في Zapier، أنشئ Zap جديدًا وأضف هذه الخطوات بالترتيب:
- Zapier Chatbots, or Webhooks by Zapier — Catch Hook from your chat widget
- Zapier Agents — create an agent (or AI by Zapier for a single step) — give it these tools: “Search the web” (SerpApi), “Read web page” (Webhooks by Zapier), “Save report” (Notion); paste the system prompt as the agent's instructions
- الـ Zaps التي فيها أكثر من خطوتين تحتاج باقة Zapier مدفوعة.
- قد تختلف أسماء الوحدات والخطوات قليلًا مع تحديث Make و Zapier لتطبيقاتهما.
نصائح
- SerpAPI يقدم حصة مجانية شهرية، ويمكنك استبداله بأداة بحث أخرى.
أتمتات مشابهة
وكيل ذكي لمساعدة صندوق البريد
يقرأ كل رسالة جديدة ويقرر: مسودة رد، أو مهمة، أو تنبيه — أو تجاهلها.
وكيل ذكي يحوّل ملاحظات الاجتماعات إلى مهام
الصق ملاحظات اجتماعك؛ فينشئ الوكيل المهام بأصحابها، ويكتب مسودة بريد المتابعة، وينشر ملخصًا.
وكيل ذكي لتخطيط محتوى السوشيال ميديا
يخطط منشورات أسبوع كامل بالعربية والإنجليزية من دليل علامتك، ويتابع المناسبات والترندات، ويحفظها في تقويم المحتوى.