
1- Wordpress / woocommerce : التمبيه باتمام طلب / أوردر جديد
{
"name": "WooCommerce New Order to WhatsApp",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "new-order",
"options": {}
},
"name": "WooCommerce Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [250, 300]
},
{
"parameters": {
"url": "https://api.whatsapp.com/send",
"method": "POST",
"jsonParameters": true,
"options": {},
"bodyParametersUi": {
"parameter": [
{
"name": "phone",
"value": "2010xxxxxxxx"
},
{
"name": "message",
"value": "={{'New Order Received! ID: ' + $json['body']['id'] + ' Total: ' + $json['body']['total']}}"
}
]
}
},
"name": "Send WhatsApp",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [500, 300]
}
],
"connections": {
"WooCommerce Trigger": {
"main": [
[
{
"node": "Send WhatsApp",
"type": "main",
"index": 0
}
]
]
}
}
}2 – الرد التلقائي علي فيس بوك
{
"name": "Facebook Auto Reply Bot",
"nodes": [
{
"parameters": {
"updates": [
"messages"
]
},
"name": "Facebook Trigger",
"type": "n8n-nodes-base.facebookGraphApiTrigger",
"typeVersion": 1,
"position": [250, 300]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json['message']['text']}}",
"operation": "contains",
"value2": "سعر"
}
]
}
},
"name": "Check if Price",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [450, 300]
},
{
"parameters": {
"operation": "message",
"id": "={{$json['sender']['id']}}",
"text": "أهلاً بك! سعر الخدمة يبدأ من 5 دولار شهرياً. هل تحب تعرف تفاصيل الباقات؟"
},
"name": "Reply Price",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [650, 200]
}
],
"connections": {
"Facebook Trigger": {
"main": [
[
{
"node": "Check if Price",
"type": "main",
"index": 0
}
]
]
},
"Check if Price": {
"main": [
[
{
"node": "Reply Price",
"type": "main",
"index": 0
}
]
]
}
}
}3- اضافة بيانات العملاء في جوجل شيت
{
"name": "WP Leads to Google Sheets",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "leads",
"options": {}
},
"name": "Webhook (From WP)",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [250, 300]
},
{
"parameters": {
"operation": "append",
"sheetId": "YOUR_SHEET_ID_HERE",
"range": "A:C",
"options": {}
},
"name": "Save to Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 1,
"position": [500, 300]
}
],
"connections": {
"Webhook (From WP)": {
"main": [
[
{
"node": "Save to Google Sheets",
"type": "main",
"index": 0
}
]
]
}
}
}حزمة الاعمال التنافسية – 4
1️⃣ القالب الأول: “منقذ السلات المتروكة” (The Cart Rescuer) 🛒
القيمة: هذا القالب يجلب أموالاً مباشرة للعميل (Direct ROI). المشكلة: العميل يضيف منتجات للسلة في ووكومرس ويخرج قبل الدفع. الحل (Workflow Logic):
- Trigger: إضافة منتج للسلة (WooCommerce Trigger).
- Wait Node: انتظار لمدة ساعة (لمنح العميل فرصة للدفع).
- Check Status: فحص حالة الطلب (هل تحول لـ “Completed”؟).
- IF Condition: لو الحالة لسه “Pending” أو “Failed”:
- Action: إرسال رسالة واتساب للعميل: “يا فلان، نسيت منتجاتك في السلة! كمل طلبك دلوقتي وخد خصم 5% بالكود ده.”
{
"name": "Pro - Cart Rescuer (WooCommerce Recovery)",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "new-order",
"options": {}
},
"name": "Order Created Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [250, 300]
},
{
"parameters": {
"amount": 1,
"unit": "hours"
},
"name": "Wait 1 Hour",
"type": "n8n-nodes-base.wait",
"typeVersion": 1,
"position": [450, 300]
},
{
"parameters": {
"resource": "order",
"operation": "get",
"orderId": "={{$json['body']['id']}}"
},
"name": "Check Order Status",
"type": "n8n-nodes-base.wooCommerce",
"typeVersion": 1,
"position": [650, 300],
"credentials": {
"wooCommerceApi": {
"id": "YOUR_WOO_CREDENTIAL_ID",
"name": "WooCommerce Account"
}
}
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json['status']}}",
"operation": "equal",
"value2": "pending"
}
]
}
},
"name": "Still Pending?",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [850, 300]
},
{
"parameters": {
"url": "https://api.whatsapp.com/send",
"method": "POST",
"bodyParametersUi": {
"parameter": [
{
"name": "phone",
"value": "={{$json['billing']['phone']}}"
},
{
"name": "message",
"value": "مرحباً {{$json['billing']['first_name']}}، لاحظنا أنك لم تكمل عملية الدفع لطلبك رقم #{{$json['id']}}. المخزون محدود، أكمل طلبك الآن من هنا: {{$json['payment_url']}}"
}
]
}
},
"name": "Send WhatsApp Reminder",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [1050, 200]
}
],
"connections": {
"Order Created Trigger": {
"main": [
[
{
"node": "Wait 1 Hour",
"type": "main",
"index": 0
}
]
]
},
"Wait 1 Hour": {
"main": [
[
{
"node": "Check Order Status",
"type": "main",
"index": 0
}
]
]
},
"Check Order Status": {
"main": [
[
{
"node": "Still Pending?",
"type": "main",
"index": 0
}
]
]
},
"Still Pending?": {
"main": [
[
{
"node": "Send WhatsApp Reminder",
"type": "main",
"index": 0
}
]
]
}
}
}2️⃣ القالب الثاني: “مدير المحتوى الآلي” (AI Social Media Manager) 🤖
القيمة: يوفر راتب موظف سوشيال ميديا. المشكلة: صاحب البيزنس معندوش وقت يكتب بوستات كل يوم. الحل (Workflow Logic):
- Cron (Schedule): يشتغل كل يوم الساعة 10 صباحاً.
- Google Sheets: يسحب “عنوان موضوع” من شيت إكسيل (مثلاً: “فوائد الاستضافة السحابية”).
- OpenAI (ChatGPT): يكتب بوست احترافي لفيسبوك ولينكد إن بناءً على العنوان.
- OpenAI (DALL-E): يصمم صورة تعبيرية للموضوع.
- Facebook/LinkedIn Node: ينشر البوست والصورة أوتوماتيك على الصفحة.
{
"name": "Pro - AI Social Media Post Generator",
"nodes": [
{
"parameters": {
"rule": {
"interval": [
{
"field": "hours",
"hoursInterval": 24
}
]
}
},
"name": "Daily Schedule",
"type": "n8n-nodes-base.schedule",
"typeVersion": 1,
"position": [200, 300]
},
{
"parameters": {
"model": "gpt-3.5-turbo",
"prompt": {
"messages": [
{
"role": "user",
"content": "Write a professional and engaging Facebook post about: Cloud Hosting Benefits. Include emojis and hashtags. Language: Arabic."
}
]
}
},
"name": "ChatGPT Writer",
"type": "n8n-nodes-base.openAi",
"typeVersion": 1,
"position": [450, 300],
"credentials": {
"openAiApi": {
"id": "YOUR_OPENAI_CREDENTIAL_ID",
"name": "OpenAI Account"
}
}
},
{
"parameters": {
"text": "={{$json['choices'][0]['message']['content']}}",
"options": {}
},
"name": "Post to Facebook",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [700, 300]
}
],
"connections": {
"Daily Schedule": {
"main": [
[
{
"node": "ChatGPT Writer",
"type": "main",
"index": 0
}
]
]
},
"ChatGPT Writer": {
"main": [
[
{
"node": "Post to Facebook",
"type": "main",
"index": 0
}
]
]
}
}
}3️⃣ القالب الثالث: “فلترة وتوزيع العملاء” (Smart Lead Qualification) 🎯
القيمة: للشركات العقارية وشركات الخدمات. المشكلة: ليدز كتير بتيجي، ومش عارفين مين المهم ومين بيضيع وقت. الحل (Workflow Logic):
- Webhook: استقبال بيانات العميل من إعلان فيسبوك (Facebook Lead Ads).
- IF Logic: (فلترة) هل ميزانية العميل أكبر من رقم معين؟ (مثلاً > 10,000).
- مسار (عميل VIP): يتبعت فوراً واتساب لمدير المبيعات “كلم العميل ده حالاً!”.
- مسار (عميل عادي): يضاف لـ Mailchimp في قائمة “Nurturing” ويبعتله إيميل ترحيبي فيه الكتالوج.
{
"name": "Pro - Smart Lead Qualification",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "fb-leads",
"options": {}
},
"name": "Facebook Lead Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [250, 300]
},
{
"parameters": {
"conditions": {
"number": [
{
"value1": "={{$json['body']['budget']}}",
"operation": "larger",
"value2": 5000
}
]
}
},
"name": "Is VIP Client?",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [450, 300]
},
{
"parameters": {
"url": "https://api.whatsapp.com/send",
"method": "POST",
"bodyParametersUi": {
"parameter": [
{
"name": "phone",
"value": "MANAGER_PHONE_NUMBER"
},
{
"name": "message",
"value": "🚨 عميل VIP جديد! الاسم: {{$json['body']['full_name']}} - الميزانية: {{$json['body']['budget']}}"
}
]
}
},
"name": "Alert Manager (VIP)",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [700, 200]
},
{
"parameters": {
"operation": "append",
"sheetId": "YOUR_SHEET_ID",
"range": "A:C",
"options": {}
},
"name": "Save to Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 1,
"position": [700, 400],
"credentials": {
"googleSheetsOAuth2Api": {
"id": "YOUR_GOOGLE_CREDENTIAL_ID",
"name": "Google Sheets Account"
}
}
}
],
"connections": {
"Facebook Lead Trigger": {
"main": [
[
{
"node": "Is VIP Client?",
"type": "main",
"index": 0
}
]
]
},
"Is VIP Client": {
"main": [
[
{
"node": "Alert Manager (VIP)",
"type": "main",
"index": 0
}
],
[
{
"node": "Save to Google Sheets",
"type": "main",
"index": 0
}
]
]
}
}
}4️⃣ القالب الرابع: “متابعة ما بعد البيع والتقييم” (Review Booster) ⭐
القيمة: بناء الثقة وزيادة التقييمات (Social Proof). المشكلة: العميل بيشتري وينسى يقيم. الحل (Workflow Logic):
- Trigger: طلب مكتمل (WooCommerce Order Completed).
- Wait Node: انتظار 3 أيام (عشان يكون استلم وجرب المنتج).
- WhatsApp/Email: إرسال رسالة: “إيه رأيك في المنتج؟ لو عجبك قيمنا هنا (رابط جوجل ماب) وخد كوبون للطلب الجاي.”
- Google Sheets: تسجيل إن الرسالة اتبعتت عشان ميبعتش تاني.
{
"name": "Pro - Review Booster",
"nodes": [
{
"parameters": {
"topic": "order.updated",
"event": "updated"
},
"name": "WooCommerce Order Updated",
"type": "n8n-nodes-base.wooCommerceTrigger",
"typeVersion": 1,
"position": [250, 300],
"credentials": {
"wooCommerceApi": {
"id": "YOUR_WOO_CREDENTIAL_ID",
"name": "WooCommerce Account"
}
}
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json['status']}}",
"operation": "equal",
"value2": "completed"
}
]
}
},
"name": "Is Completed?",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [450, 300]
},
{
"parameters": {
"amount": 3,
"unit": "days"
},
"name": "Wait 3 Days",
"type": "n8n-nodes-base.wait",
"typeVersion": 1,
"position": [650, 200]
},
{
"parameters": {
"url": "https://api.whatsapp.com/send",
"method": "POST",
"bodyParametersUi": {
"parameter": [
{
"name": "phone",
"value": "={{$json['billing']['phone']}}"
},
{
"name": "message",
"value": "مرحباً {{$json['billing']['first_name']}}، نتمنى أن يكون المنتج قد نال إعجابك! ⭐ رأيك يهمنا، قيمنا هنا واحصل على خصم 10%: [رابط التقييم]"
}
]
}
},
"name": "Send Review Request",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [850, 200]
}
],
"connections": {
"WooCommerce Order Updated": {
"main": [
[
{
"node": "Is Completed?",
"type": "main",
"index": 0
}
]
]
},
"Is Completed?": {
"main": [
[
{
"node": "Wait 3 Days",
"type": "main",
"index": 0
}
]
]
},
"Wait 3 Days": {
"main": [
[
{
"node": "Send Review Request",
"type": "main",
"index": 0
}
]
]
}
}
}5️⃣ القالب الرابع: “مراقب السيرفرات الذكي” (Server Uptime Monitor) 🖥️
القيمة: مفيدة جداً لعملاء الـ VPS بتوعك والتقنيين. المشكلة: الموقع بيقع وماحدش بيعرف غير لما العملاء يشتكوا. الحل (Workflow Logic):
- Schedule: كل 5 دقايق.
- HTTP Request: يعمل Ping للموقع أو السيرفر.
- IF Condition: لو الرد (Status Code) مش 200 (يعني الموقع واقع 500 أو 404).
- Telegram/Slack: يبعت إنذار فوري للمبرمج: “إلحق! الموقع X واقع بقاله 5 دقايق 🚨”.
{
"name": "Pro - Server Uptime Monitor",
"nodes": [
{
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 5
}
]
}
},
"name": "Check Every 5 Mins",
"type": "n8n-nodes-base.schedule",
"typeVersion": 1,
"position": [250, 300]
},
{
"parameters": {
"url": "https://your-website.com",
"responseFormat": "string",
"options": {
"allowUnauthorizedCerts": true,
"followRedirects": true
}
},
"name": "Ping Website",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [450, 300],
"continueOnFail": true
},
{
"parameters": {
"conditions": {
"number": [
{
"value1": "={{$node['Ping Website'].json['statusCode']}}",
"operation": "notEqual",
"value2": 200
}
]
}
},
"name": "Is Website Down?",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [650, 300]
},
{
"parameters": {
"chatId": "YOUR_TELEGRAM_CHAT_ID",
"text": "🚨 تنبيه عاجل! موقعك (your-website.com) لا يستجيب الآن. كود الخطأ: {{$node['Ping Website'].json['statusCode']}}",
"additionalFields": {}
},
"name": "Alert Telegram",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1,
"position": [850, 200],
"credentials": {
"telegramApi": {
"id": "YOUR_TELEGRAM_CREDENTIAL_ID",
"name": "Telegram Account"
}
}
}
],
"connections": {
"Check Every 5 Mins": {
"main": [
[
{
"node": "Ping Website",
"type": "main",
"index": 0
}
]
]
},
"Ping Website": {
"main": [
[
{
"node": "Is Website Down?",
"type": "main",
"index": 0
}
]
]
},
"Is Website Down?": {
"main": [
[
{
"node": "Alert Telegram",
"type": "main",
"index": 0
}
]
]
}
}
}