AT Arab Templates مركز المنتجات الرقمية
حزمة أتمتة · n8n

مزامنة المخزونInventory Sync

مخزون واحد بين المتجر والمستودع والكاشير — بلا بيع صنف ناقص.

جاهز للأتمتة ⚡

n8n محاكاة مباشرة

غيّر الأرقام — كل المؤشرات والخطوات أدناه تُحسب فورًا.

ماذا يفعل المسار

    JSON ملف n8n جاهز للاستيراد

    انسخ الملف أو نزّله، ثم استورده في n8n واستبدل {{الروابط}} بمفاتيحك وروابط أنظمتك.

    {
      "name": "Inventory Sync",
      "nodes": [
        {
          "parameters": {
            "path": "stock-change"
          },
          "id": "n1",
          "name": "Stock Webhook",
          "type": "n8n-nodes-base.webhook",
          "typeVersion": 1,
          "position": [
            240,
            300
          ]
        },
        {
          "parameters": {
            "operation": "set",
            "ttl": 30
          },
          "id": "n2",
          "name": "Lock SKU",
          "type": "n8n-nodes-base.redis",
          "typeVersion": 1,
          "position": [
            460,
            300
          ]
        },
        {
          "parameters": {
            "method": "PUT",
            "url": "{{CHANNELS}}/stock"
          },
          "id": "n3",
          "name": "Push To Channels",
          "type": "n8n-nodes-base.httpRequest",
          "typeVersion": 1,
          "position": [
            680,
            300
          ]
        },
        {
          "parameters": {
            "conditions": {
              "number": [
                {
                  "value1": "={{$json.qty}}",
                  "operation": "smaller",
                  "value2": 10
                }
              ]
            }
          },
          "id": "n4",
          "name": "Low Stock Alert",
          "type": "n8n-nodes-base.if",
          "typeVersion": 1,
          "position": [
            900,
            300
          ]
        },
        {
          "parameters": {
            "operation": "send"
          },
          "id": "n5",
          "name": "Slack Notify",
          "type": "n8n-nodes-base.slack",
          "typeVersion": 1,
          "position": [
            1120,
            300
          ]
        }
      ],
      "connections": {
        "Stock Webhook": {
          "main": [
            [
              {
                "node": "Lock SKU",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Lock SKU": {
          "main": [
            [
              {
                "node": "Push To Channels",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Push To Channels": {
          "main": [
            [
              {
                "node": "Low Stock Alert",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Low Stock Alert": {
          "main": [
            [
              {
                "node": "Slack Notify",
                "type": "main",
                "index": 0
              }
            ]
          ]
        }
      },
      "settings": {
        "executionOrder": "v1"
      },
      "meta": {
        "generatedBy": "Arab Templates",
        "template": "inventory_sync"
      }
    }

    التركيب في 4 خطوات

    • 1استورد JSON في n8n (Workflows ← Import from file).
    • 2افتح عقد HTTP والمراسلة وضع مفاتيحك.
    • 3شغّل مرة في وضع الاختبار، ثم فعّل المُشغّل.
    • 4كل تشغيل يُسجّل؛ والمحاكاة على اليمين تستخدم القواعد نفسها.

    الحزمة الكاملة: ملف المسار + دليل التركيب + دعم

    دفعة واحدة وتحديثات مدى الحياة. المحاكاة هنا هي المنطق نفسه داخل المسار.

    بيانات تجريبية فقط — لا يُرسل شيء إلى أي خدمة من هذه الصفحة. استورد JSON في نسختك لربط حساباتك الحقيقية.