{
  "name": "Interactive recruitment customer service with WhatsApp, Google Sheets CRM",
  "nodes": [
    {
      "id": "b14f0efb-e53d-4ecf-9252-8b7ecd8943ce",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -2464,
        576
      ]
    },
    {
      "id": "b447fdc6-7885-4223-a889-deda6e7630d0",
      "name": "استخراج البيانات",
      "type": "n8n-nodes-base.code",
      "position": [
        -2000,
        576
      ]
    },
    {
      "id": "91628ba1-d6ac-420b-985b-20da43beb323",
      "name": "رسالة جديدة؟",
      "type": "n8n-nodes-base.if",
      "position": [
        -240,
        368
      ]
    },
    {
      "id": "8a365257-164a-4649-ba22-7d03c7c9abcb",
      "name": "إرسال القائمة الرئيسية",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        688,
        336
      ]
    },
    {
      "id": "5702fbf2-eb43-4731-92d2-a60f863ce515",
      "name": "الأسعار - اختر جنسية",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1056,
        720
      ]
    },
    {
      "id": "4b7f74a7-aef9-45bf-8ec2-3f51cb89d26c",
      "name": "طلب جديد - اختر جنسية",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1056,
        864
      ]
    },
    {
      "id": "374fd065-4e27-4f87-b1ff-371acf336009",
      "name": "متابعة - اطلب رقم",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1056,
        1008
      ]
    },
    {
      "id": "87fbeba5-f4b6-48b7-b230-73650f4c79bc",
      "name": "الترجمة - رابط",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1056,
        1280
      ]
    },
    {
      "id": "473bd547-e864-4f6b-a30b-3775aa624f61",
      "name": "الشكاوى - اطلب تفاصيل",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1056,
        1424
      ]
    },
    {
      "id": "4e754e32-b2eb-46ac-b3ac-56c24e1814d1",
      "name": "عن المكتب",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1056,
        1584
      ]
    },
    {
      "id": "24d9ff16-2752-4915-9239-2ab8e4f04e98",
      "name": "التحدث مع موظف",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1056,
        1728
      ]
    },
    {
      "id": "1aa07f2b-5e6b-4058-aa1c-7b24cca5cdff",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1456,
        1088
      ]
    },
    {
      "id": "91ac8558-125b-46ac-a6e7-df5f9f39c425",
      "name": "menu route",
      "type": "n8n-nodes-base.switch",
      "position": [
        272,
        1136
      ]
    },
    {
      "id": "85e4dcf9-fbb3-43b1-be9d-7063cf506345",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        1648,
        160
      ]
    },
    {
      "id": "29dc3f4a-8977-473f-b767-ab12246bd5d6",
      "name": "رسالة الأسعار",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2192,
        144
      ]
    },
    {
      "id": "161e9e68-4bcd-4388-8ba1-e175d98a7076",
      "name": "If1",
      "type": "n8n-nodes-base.if",
      "position": [
        1648,
        416
      ]
    },
    {
      "id": "78ea897f-39a2-45e5-8b99-015371056971",
      "name": "رسالة السير",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2080,
        400
      ]
    },
    {
      "id": "02a6fa83-763c-4e84-b737-e7549ca01ba4",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        2432,
        400
      ]
    },
    {
      "id": "c240ad3d-9147-4d24-bad7-1810db0b1eb8",
      "name": "رسالة تأكيد السيرة",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2880,
        400
      ]
    },
    {
      "id": "b21d3613-3da3-4148-95a4-89ebb6f67dea",
      "name": "إدخال طلب جديد",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2272,
        400
      ]
    },
    {
      "id": "e3f36a74-3c90-4392-9050-64000f5e64d8",
      "name": "متابعة",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1456,
        640
      ]
    },
    {
      "id": "be0e5b6e-0fea-4357-a808-5a094f1c8451",
      "name": "If2",
      "type": "n8n-nodes-base.if",
      "position": [
        1744,
        640
      ]
    },
    {
      "id": "f386d583-e97b-4ff7-9c94-e4ae6bd2cb44",
      "name": "رسالة المتابعة",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2240,
        624
      ]
    },
    {
      "id": "9f99b7aa-0de0-40d6-845d-5fcb68e5ce65",
      "name": "رسالة المتابعة1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2240,
        832
      ]
    },
    {
      "id": "47b823fe-8dfd-4911-b20f-45a63d88437b",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        2064,
        1328
      ]
    },
    {
      "id": "590e17e2-f6da-42be-b476-e904da8ae953",
      "name": "اقرأ الحالة",
      "type": "n8n-nodes-base.code",
      "position": [
        -448,
        592
      ]
    },
    {
      "id": "5f5c2b17-c71e-4229-9f6e-9df625d74d24",
      "name": "If5",
      "type": "n8n-nodes-base.if",
      "position": [
        -2160,
        592
      ]
    },
    {
      "id": "138879c5-5ee7-431f-b3e0-5b3bbb71e0c4",
      "name": "نقل خادمات - اختر جنسية",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1056,
        1152
      ]
    },
    {
      "id": "701db46e-76cf-48a7-9876-4a0ecfc9418f",
      "name": "نقل خادمات من الشيت",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1696,
        1328
      ]
    },
    {
      "id": "69feed29-0596-4982-84e5-278249d9c0ac",
      "name": "إدخال نقل خادمات",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1872,
        1328
      ]
    },
    {
      "id": "473acdac-00cd-4b52-ad1d-951c16451a50",
      "name": "رسالة تأكيد طلب النقل الخادمات",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2528,
        1328
      ]
    },
    {
      "id": "b595ef3b-85ae-4762-ad4e-a4a2bf421726",
      "name": "Code in JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        1600,
        640
      ]
    },
    {
      "id": "75862d4d-7765-4b66-9942-10dca2bd59b8",
      "name": "الشكاوى - اطلب تفاصيل1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2000,
        1600
      ]
    },
    {
      "id": "7552414b-0e87-4e32-b3f0-916580050439",
      "name": "إدخال نقل خادمات1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2384,
        1600
      ]
    },
    {
      "id": "5bd6a30a-3b4a-4d52-aaf0-e7f5caf93583",
      "name": "Verify Webhook2",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        -2160,
        400
      ]
    },
    {
      "id": "5841027e-3f56-48d5-ba6e-2e91d4b49ed9",
      "name": "Code in JavaScript1",
      "type": "n8n-nodes-base.code",
      "position": [
        -1200,
        624
      ]
    },
    {
      "id": "d178569c-ed71-4098-9398-ec7fc801ffef",
      "name": "bot on?",
      "type": "n8n-nodes-base.if",
      "position": [
        -672,
        624
      ]
    },
    {
      "id": "8dc49fde-2ca7-42dc-8478-d60ea7ff6a49",
      "name": "سجل الرسائل",
      "type": "n8n-nodes-base.code",
      "position": [
        -1024,
        624
      ]
    },
    {
      "id": "98dc55ab-1a39-4c18-9c92-c848423f13ec",
      "name": "Code in JavaScript2",
      "type": "n8n-nodes-base.code",
      "position": [
        -848,
        624
      ]
    },
    {
      "id": "a345c961-8fc9-4880-a06b-bc78ba0726d5",
      "name": "سجل رسالة خارجة (عام)",
      "type": "n8n-nodes-base.code",
      "position": [
        528,
        336
      ]
    },
    {
      "id": "a7a5e592-dd4e-4bdf-b959-49a4ddbd81fc",
      "name": "حضّر الإرسال – القائمة الرئيسية",
      "type": "n8n-nodes-base.code",
      "position": [
        352,
        336
      ]
    },
    {
      "id": "a21a63b5-d408-4661-b4dc-100ab1cc9180",
      "name": "سجل رسالة خارجة1",
      "type": "n8n-nodes-base.code",
      "position": [
        880,
        848
      ]
    },
    {
      "id": "a1b7350b-e9a6-4923-92f1-f2365884fa26",
      "name": "حضّر الإرسال – طلب جديد",
      "type": "n8n-nodes-base.code",
      "position": [
        736,
        848
      ]
    },
    {
      "id": "d3d5c8e1-2a53-45c1-8df4-8f31a39d40c2",
      "name": "سجل رسالة خارجة2",
      "type": "n8n-nodes-base.code",
      "position": [
        880,
        1488
      ]
    },
    {
      "id": "e36bd2d1-d61f-46a2-a11e-9842305a7b9f",
      "name": "حضّر الإرسال – شكوى",
      "type": "n8n-nodes-base.code",
      "position": [
        704,
        1488
      ]
    },
    {
      "id": "17dc3370-372c-419e-ba0c-f0e6ca9fc72c",
      "name": "حضّر الإرسال – طلب متابعة",
      "type": "n8n-nodes-base.code",
      "position": [
        736,
        992
      ]
    },
    {
      "id": "dc20acb5-d64e-4782-8a8c-760d11150704",
      "name": "حضّر الإرسال – الترجمة",
      "type": "n8n-nodes-base.code",
      "position": [
        720,
        1344
      ]
    },
    {
      "id": "5bc9a8cb-b889-40bf-a72e-32c4ecb4e5e9",
      "name": "حضّر الإرسال – لالمكتب",
      "type": "n8n-nodes-base.code",
      "position": [
        736,
        1648
      ]
    },
    {
      "id": "c8332661-0e78-4d23-b4e0-574734618044",
      "name": "حضّر الإرسال – نقل الخادمات",
      "type": "n8n-nodes-base.code",
      "position": [
        720,
        1168
      ]
    },
    {
      "id": "e269c4f8-3cde-4a43-b816-df79dcd3b703",
      "name": "حضّر الإرسال – شكوى تم التسجيل",
      "type": "n8n-nodes-base.code",
      "position": [
        1696,
        1600
      ]
    },
    {
      "id": "1f886e08-97d3-4cb1-b9dd-c6a7e1ebc784",
      "name": "سجل رسالة خارجة3",
      "type": "n8n-nodes-base.code",
      "position": [
        1856,
        1600
      ]
    },
    {
      "id": "0964c928-ad49-4765-a37a-c882d517c44e",
      "name": "سجل رسالة خارجة4",
      "type": "n8n-nodes-base.code",
      "position": [
        2032,
        144
      ]
    },
    {
      "id": "98db7671-98f3-4c69-b1e4-fcc362e87d5e",
      "name": "سجل رسالة خارجة5",
      "type": "n8n-nodes-base.code",
      "position": [
        880,
        992
      ]
    },
    {
      "id": "aec8b2a9-0dab-4557-8c94-aabc38b8227c",
      "name": "سجل رسالة خارجة6",
      "type": "n8n-nodes-base.code",
      "position": [
        880,
        1168
      ]
    },
    {
      "id": "25716894-6cf2-4e1f-9510-4066b5c9c2a7",
      "name": "سجل رسالة خارجة7",
      "type": "n8n-nodes-base.code",
      "position": [
        880,
        1344
      ]
    },
    {
      "id": "1f839807-5524-4f66-a527-5e385df64687",
      "name": "سجل رسالة خارجة8",
      "type": "n8n-nodes-base.code",
      "position": [
        880,
        1648
      ]
    },
    {
      "id": "cd04a734-ec52-48a5-bde7-41645b0c5898",
      "name": "سجل رسالة خارجة9",
      "type": "n8n-nodes-base.code",
      "position": [
        880,
        1792
      ]
    },
    {
      "id": "c93b47e9-21dd-4c47-8543-7aacedac7e5f",
      "name": "سجل رسالة خارجة10",
      "type": "n8n-nodes-base.code",
      "position": [
        2736,
        400
      ]
    },
    {
      "id": "53bfdbe1-1e6f-4f33-a78d-cb68b635bd39",
      "name": "سجل رسالة خارجة13",
      "type": "n8n-nodes-base.code",
      "position": [
        2368,
        1328
      ]
    },
    {
      "id": "1ee89d43-f92b-4e04-9d01-396f58a94f4d",
      "name": "سجل رسالة خارجة14",
      "type": "n8n-nodes-base.code",
      "position": [
        1936,
        400
      ]
    },
    {
      "id": "e67345b5-d125-4ae5-849f-16155de93d7b",
      "name": "تحضير الإرسال - الأسعار",
      "type": "n8n-nodes-base.code",
      "position": [
        1872,
        144
      ]
    },
    {
      "id": "a24990c0-5db1-4870-9009-ed9082c24f6a",
      "name": "تحضير إرسال - رسالة السير الذاتية",
      "type": "n8n-nodes-base.code",
      "position": [
        1792,
        400
      ]
    },
    {
      "id": "f68d898f-4fb1-4f8c-9c16-7dd1681963ce",
      "name": "تحضير إرسال - رسالة السير الذاتية1",
      "type": "n8n-nodes-base.code",
      "position": [
        2576,
        400
      ]
    },
    {
      "id": "e4da64dd-da3a-405c-b295-2d0781341f04",
      "name": "سجل رسالة خارجة11",
      "type": "n8n-nodes-base.code",
      "position": [
        2112,
        624
      ]
    },
    {
      "id": "4ea07fbc-0fd0-4e94-b7c7-0c32876a1531",
      "name": "سجل رسالة خارجة12",
      "type": "n8n-nodes-base.code",
      "position": [
        2112,
        832
      ]
    },
    {
      "id": "1d0c3cc6-8093-4fa5-86cb-799c6abe4ab4",
      "name": "تحضير إرسال - رسالة المتابعة",
      "type": "n8n-nodes-base.code",
      "position": [
        1952,
        624
      ]
    },
    {
      "id": "a9d1d9e2-fa33-4059-b5ad-43d7f2e7bc1f",
      "name": "تحضير إرسال - رسالة المتابعة لا يوجد",
      "type": "n8n-nodes-base.code",
      "position": [
        1936,
        832
      ]
    },
    {
      "id": "99c0e52d-a0a9-4833-b18c-e608c49f64da",
      "name": "حضر الارسال - نقل الخادمات",
      "type": "n8n-nodes-base.code",
      "position": [
        2224,
        1328
      ]
    },
    {
      "id": "4fcf6f9a-8226-4e44-a4bb-dd11e9746fc2",
      "name": "حضّر الإرسال – الموظف",
      "type": "n8n-nodes-base.code",
      "position": [
        736,
        1792
      ]
    },
    {
      "id": "0142688c-0abb-4227-b779-2061140766ad",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2768,
        32
      ],
      "parameters": {
        "width": 560,
        "height": 736,
        "content": "## WhatsApp Webhook Entry Points\n\nThree webhook endpoints receive messages from WhatsApp Business API:\n- Main webhook\n- Backup webhook 2\n- Backup webhook 3\n\nHandles:\n✓ Text messages\n✓ Interactive butt"
      }
    },
    {
      "id": "e77cfc6b-31b3-4658-96d8-a11e66a00b6c",
      "name": "حضّر الإرسال – الأسعار",
      "type": "n8n-nodes-base.code",
      "position": [
        720,
        672
      ]
    },
    {
      "id": "6fe35754-decc-40db-93e2-bc1a38c1a576",
      "name": "سجل رسالة خارجة (عام)1",
      "type": "n8n-nodes-base.code",
      "position": [
        880,
        672
      ]
    },
    {
      "id": "3a3ecde4-1f67-46f1-aea7-9120996ddf71",
      "name": "السير",
      "type": "n8n-nodes-base.code",
      "position": [
        1456,
        416
      ]
    },
    {
      "id": "aa700b36-377b-4ed7-90dd-f3daa31e70ad",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2496,
        192
      ]
    },
    {
      "id": "c956c796-989c-437f-a25f-1ed87d54b600",
      "name": "Send a message1",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2464,
        1104
      ]
    },
    {
      "id": "b2c02bc6-0137-4f47-acfc-70a80665d3e9",
      "name": "Send a message2",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2176,
        1600
      ]
    },
    {
      "id": "a267104e-cc91-433a-b56d-e0b0b5aa86a4",
      "name": "Send a message3",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1232,
        1728
      ]
    },
    {
      "id": "5accd48a-9e99-4bf6-93a5-eca1bc712a87",
      "name": "sub route",
      "type": "n8n-nodes-base.switch",
      "position": [
        1040,
        320
      ]
    },
    {
      "id": "012deae1-ab2a-4e29-a2a3-155531884405",
      "name": "Get row(s)",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        1488,
        160
      ]
    },
    {
      "id": "6df2de89-4cb1-401b-a88b-e79daa0e341e",
      "name": "في وسائط؟",
      "type": "n8n-nodes-base.if",
      "position": [
        -1808,
        576
      ]
    },
    {
      "id": "c7cc7e00-024b-455b-a197-7a05001bbe8e",
      "name": "Action in an app",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1616,
        416
      ]
    },
    {
      "id": "3e8c16e2-08d2-41d2-b5f8-58c840b4b440",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1440,
        416
      ]
    },
    {
      "id": "5b81c228-c38c-4c7a-983a-90fa5e285d5d",
      "name": "حفظ الميديا",
      "type": "n8n-nodes-base.code",
      "position": [
        -1296,
        416
      ]
    },
    {
      "id": "e95e9578-9dae-4f9f-8597-b7944227ee36",
      "name": "تنزيل الوسائط",
      "type": "n8n-nodes-base.code",
      "position": [
        -1488,
        624
      ]
    },
    {
      "id": "ac832353-6645-47e0-80c7-caa369fe13fa",
      "name": "Code in JavaScript4",
      "type": "n8n-nodes-base.code",
      "position": [
        -880,
        416
      ]
    },
    {
      "id": "e629dc03-b2b3-4e48-8524-ae2e732f6104",
      "name": "Menu Cooldown Check",
      "type": "n8n-nodes-base.code",
      "position": [
        -32,
        352
      ]
    },
    {
      "id": "d232d149-cd4a-48b2-a667-cb9f72b3441c",
      "name": "If3",
      "type": "n8n-nodes-base.if",
      "position": [
        128,
        352
      ]
    },
    {
      "id": "fbaa136b-5e42-4d48-99a0-259368ebbe9e",
      "name": "Upsert row(s)",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        -1088,
        416
      ]
    },
    {
      "id": "a9b166db-62e0-4c96-9fc8-71ba80be420a",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2096,
        -80
      ],
      "parameters": {
        "width": 496,
        "height": 864,
        "content": "## Message Data Extraction\n\nParses incoming WhatsApp webhooks and extracts:\n- Phone numbers (sender & business)\n- Contact names\n- Message content (text/media)\n- Interactive replies (button/list select"
      }
    },
    {
      "id": "4fea1da5-07f8-4a97-a973-b48ef3e219da",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1584,
        -80
      ],
      "parameters": {
        "width": 496,
        "height": 864,
        "content": "## Media File Management\n\nProcess:\n1. Detect media presence (image/video/audio/document)\n2. Fetch media URL from WhatsApp API\n3. Download file as binary\n4. Convert to base64\n5. Store in Data Table wit"
      }
    },
    {
      "id": "fe2e7d3c-52d6-4d84-bd15-51f5108cd46c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1056,
        -80
      ],
      "parameters": {
        "width": 512,
        "height": 864,
        "content": "## Bot Enable Check & Session Tracking\n\nLabel Tracker:\n- Tracks which menu section user is in\n- Maintains context across messages\n- Identifies main menu vs sub-menu interactions\n\nBot Master Switch:\n- "
      }
    },
    {
      "id": "6492fda2-c659-4d20-954d-44662839a490",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -528,
        -80
      ],
      "parameters": {
        "width": 496,
        "height": 864,
        "content": "## Conversation History Logger\n\nLogs every message (incoming & outgoing):\n- Stores in global workflow memory\n- Tracks: text, timestamp, direction, type\n- Maintains last 5000 messages\n- Links messages "
      }
    },
    {
      "id": "79a3cc82-a492-4cd3-96dc-4941de967c89",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        288,
        -80
      ],
      "parameters": {
        "width": 496,
        "height": 400,
        "content": "## Main Menu Display\n\nCooldown System (5 minutes):\n- Prevents menu spam\n- Tracks last menu send time per user\n- Only shows menu if cooldown passed\n\nInteractive Menu Options:\n💲 Prices\n📝 New Request  \n🔎"
      }
    },
    {
      "id": "008da021-054b-47a9-9df4-63a53143163d",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        1072
      ],
      "parameters": {
        "width": 496,
        "height": 672,
        "content": "## Smart Menu Navigation\n\nMenu Route (Main Options):\nRoutes to 8 primary services based on button ID\n\nSub Route (Nested Actions):\n- price_* → Price lookup flow\n- req_* → New request flow  \n- complaint"
      }
    },
    {
      "id": "545f13c2-8301-42f0-9ea8-ca1df7b7c81d",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2768,
        592
      ],
      "parameters": {
        "width": 864,
        "height": 1328,
        "content": "## Complete Service Flows & Backend Integration\n\n📊 PRICE INQUIRY\n- Static data (8 nationalities with prices in SAR)\n- User selects nationality → Bot sends price\n- No backend needed\n\n📝 NEW REQUEST\n1. U"
      }
    },
    {
      "id": "bc5197a4-1da4-4a0e-a365-6f4b3a08b337",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2816,
        -816
      ],
      "parameters": {
        "width": 1760,
        "height": 704,
        "content": "# ⚠️ Important Note\n\n# This workflow is part of a larger system.\n# It is not a standalone workflow — it connects to a full dashboard where:\n\n## - All data from the workflow is saved\n## - All incoming "
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "تحضير الإرسال - الأسعار",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If1": {
      "main": [
        [
          {
            "node": "تحضير إرسال - رسالة السير الذاتية",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If2": {
      "main": [
        [
          {
            "node": "تحضير إرسال - رسالة المتابعة",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "تحضير إرسال - رسالة المتابعة لا يوجد",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If3": {
      "main": [
        [
          {
            "node": "حضّر الإرسال – القائمة الرئيسية",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If5": {
      "main": [
        [
          {
            "node": "استخراج البيانات",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "تحضير إرسال - رسالة السير الذاتية1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "حضر الارسال - نقل الخادمات",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "Verify Webhook2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "If5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bot on?": {
      "main": [
        [
          {
            "node": "اقرأ الحالة",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "sub route": {
      "main": [
        [
          {
            "node": "Get row(s)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "السير",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "حضّر الإرسال – شكوى تم التسجيل",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "menu route",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s)": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "menu route": {
      "main": [
        [
          {
            "node": "حضّر الإرسال – الأسعار",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "حضّر الإرسال – طلب جديد",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "حضّر الإرسال – طلب متابعة",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "حضّر الإرسال – نقل الخادمات",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "حضّر الإرسال – الترجمة",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "حضّر الإرسال – شكوى",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "حضّر الإرسال – لالمكتب",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "حضّر الإرسال – الموظف",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "السير": {
      "main": [
        [
          {
            "node": "If1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "حفظ الميديا",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "متابعة": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upsert row(s)": {
      "main": [
        [
          {
            "node": "Code in JavaScript4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message2": {
      "main": [
        [
          {
            "node": "إدخال نقل خادمات1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Action in an app": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "عن المكتب": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "في وسائط؟": {
      "main": [
        [
          {
            "node": "Action in an app",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "تنزيل الوسائط",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "If2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript1": {
      "main": [
        [
          {
            "node": "سجل الرسائل",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript2": {
      "main": [
        [
          {
            "node": "bot on?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript4": {
      "main": [
        [
          {
            "node": "Code in JavaScript1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Menu Cooldown Check": {
      "main": [
        [
          {
            "node": "If3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "اقرأ الحالة": {
      "main": [
        [
          {
            "node": "رسالة جديدة؟",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "حفظ الميديا": {
      "main": [
        [
          {
            "node": "Upsert row(s)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "رسالة السير": {
      "main": [
        [
          {
            "node": "إدخال طلب جديد",
            "type": "main",
            "index": 0
          },
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل الرسائل": {
      "main": [
        [
          {
            "node": "Code in JavaScript2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "رسالة جديدة؟": {
      "main": [
        [
          {
            "node": "Menu Cooldown Check",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "sub route",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "الترجمة - رابط": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "تنزيل الوسائط": {
      "main": [
        [
          {
            "node": "Code in JavaScript1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "رسالة الأسعار": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "إدخال طلب جديد": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "التحدث مع موظف": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send a message3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "رسالة المتابعة": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "رسالة المتابعة1": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة1": {
      "main": [
        [
          {
            "node": "طلب جديد - اختر جنسية",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة2": {
      "main": [
        [
          {
            "node": "الشكاوى - اطلب تفاصيل",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة3": {
      "main": [
        [
          {
            "node": "الشكاوى - اطلب تفاصيل1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة4": {
      "main": [
        [
          {
            "node": "رسالة الأسعار",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة5": {
      "main": [
        [
          {
            "node": "متابعة - اطلب رقم",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة6": {
      "main": [
        [
          {
            "node": "نقل خادمات - اختر جنسية",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة7": {
      "main": [
        [
          {
            "node": "الترجمة - رابط",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة8": {
      "main": [
        [
          {
            "node": "عن المكتب",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة9": {
      "main": [
        [
          {
            "node": "التحدث مع موظف",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "إدخال نقل خادمات": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send a message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة10": {
      "main": [
        [
          {
            "node": "رسالة تأكيد السيرة",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة11": {
      "main": [
        [
          {
            "node": "رسالة المتابعة",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة12": {
      "main": [
        [
          {
            "node": "رسالة المتابعة1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة13": {
      "main": [
        [
          {
            "node": "رسالة تأكيد طلب النقل الخادمات",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة14": {
      "main": [
        [
          {
            "node": "رسالة السير",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "متابعة - اطلب رقم": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          },
          {
            "node": "متابعة",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "استخراج البيانات": {
      "main": [
        [
          {
            "node": "في وسائط؟",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "نقل خادمات من الشيت": {
      "main": [
        [
          {
            "node": "إدخال نقل خادمات",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "الأسعار - اختر جنسية": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "حضّر الإرسال – شكوى": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة (عام)": {
      "main": [
        [
          {
            "node": "إرسال القائمة الرئيسية",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "طلب جديد - اختر جنسية": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "الشكاوى - اطلب تفاصيل": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "سجل رسالة خارجة (عام)1": {
      "main": [
        [
          {
            "node": "الأسعار - اختر جنسية",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "الشكاوى - اطلب تفاصيل1": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send a message2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "حضّر الإرسال – الموظف": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "نقل خادمات - اختر جنسية": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          },
          {
            "node": "نقل خادمات من الشيت",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "إرسال القائمة الرئيسية": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "تحضير الإرسال - الأسعار": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "حضّر الإرسال – الأسعار": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة (عام)1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "حضّر الإرسال – الترجمة": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "حضّر الإرسال – لالمكتب": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "حضّر الإرسال – طلب جديد": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "حضر الارسال - نقل الخادمات": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة13",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "حضّر الإرسال – طلب متابعة": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "تحضير إرسال - رسالة المتابعة": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة11",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "حضّر الإرسال – نقل الخادمات": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "حضّر الإرسال – شكوى تم التسجيل": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "رسالة تأكيد طلب النقل الخادمات": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "حضّر الإرسال – القائمة الرئيسية": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة (عام)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "تحضير إرسال - رسالة السير الذاتية": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة14",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "تحضير إرسال - رسالة السير الذاتية1": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة10",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "تحضير إرسال - رسالة المتابعة لا يوجد": {
      "main": [
        [
          {
            "node": "سجل رسالة خارجة12",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}