Thirty Percent of the Web, Mostly Unanswered
WooCommerce powers over 30% of all online stores in the world. That's tens of millions of product pages, checkout flows, and customer inboxes — most of them relying on human agents to answer questions that, frankly, should never need a human in the first place. "Is this in stock?" is not a question that requires a person. "What's the return policy?" doesn't need a ticket. "Where's my order?" should never result in a three-hour wait for a response.
If your store runs on WordPress and WooCommerce, Mujib can give it the intelligence it's been missing. Not a chatbot that guesses. A real AI that reads your actual store data and answers with precision.
A Store That Answers Itself
Mujib connects to your store's REST API as one of your own APIs, and each request you need becomes a tool. A shopper asks if the Samsung TV is on sale — the assistant looks the product up live, finds the current and sale price, and answers with accurate information. A customer asks about their order from last Tuesday — the assistant looks the order up, reads the status and gives a real answer, not a template.
This is different from uploading product spreadsheets or writing FAQ entries, which freeze your data at a point in time. A tool returns the data as it is right now in your WordPress database.
Which Data Can the Assistant Look Up?
Start with two tools. Products: search your catalog by name and answer with price, sale price, stock status and description. Orders: look up an order by number and answer with its status and line items. Each tool has a plain-word rule for when to use it, and every call is recorded in the conversation with the reason the assistant gave.
One important technical note: WooCommerce's REST API requires an HTTPS connection. If your store doesn't have a valid SSL certificate, the API won't work. Most modern WordPress hosts include SSL automatically — but it's worth verifying before you start.
A customer messages your store at 2am: "I ordered the standing desk last Friday but haven't received a shipping notification." Your AI queries WooCommerce, finds order #892, reads the status — Processing — and replies: "Order #892 is currently being prepared and will ship by tomorrow. You'll receive a tracking email once it's dispatched." No human woke up for that.
How to Connect WooCommerce to Mujib
WooCommerce has a built-in REST API that doesn't require any plugins. You just need API keys.
Step 1 — Generate WooCommerce API Keys
From your WordPress admin panel, go to WooCommerce → Settings → Advanced → REST API and click Add key. Give it a description like "Mujib AI", set the user to your admin account, and set the permissions to Read only. Click Generate API key and copy both the Consumer Key (starting with ck_) and the Consumer Secret (starting with cs_).
Step 2 — Connect Your Store as an API in Mujib
In the Mujib console, open Tools → Connect a new system → Your API. Set the base address to https://yourstore.com/wp-json/wc/v3 and save the Consumer Key and Secret as the connection's secrets; requests then authenticate with them. They are stored encrypted and never shown again.
Step 3 — Import the Requests as Tools and Publish
Use Import a request and paste a cURL command such as curl "https://yourstore.com/wp-json/wc/v3/orders/892" -u ck_…:cs_…. Mujib moves the keys into the connection; the order number becomes an input the assistant asks the customer for. Do the same for a product search (/products?search=…). Write when to use each tool, switch them on for your assistant, try them as a customer and publish from Test & publish.
ثلاثون بالمئة من الويب، معظمها دون إجابة
يشغّل WooCommerce أكثر من 30% من جميع المتاجر الإلكترونية في العالم. هذه عشرات الملايين من صفحات المنتجات ومسارات الدفع وصناديق البريد — معظمها يعتمد على موظفين بشريين للإجابة على أسئلة لا تحتاج موظفاً بشرياً في الأساس. "هل هذا متوفر؟" ليس سؤالاً يحتاج شخصاً. "ما سياسة الإرجاع؟" لا تحتاج تذكرة دعم. "أين طلبي؟" لا يجب أن تؤدي لانتظار ثلاث ساعات للرد.
إذا كان متجرك يعمل على WordPress وWooCommerce، يستطيع مُجيب منحه الذكاء الذي كان يفتقده. ليس باوت يخمّن. ذكاء اصطناعي حقيقي يقرأ بيانات متجرك الفعلية ويجيب بدقة.
متجر يجيب بنفسه
يتصل مُجيب بواجهة REST API لمتجرك كواحدة من واجهاتك البرمجية، ويصبح كل طلب تحتاجه أداة. يسأل متسوق إن كان تلفاز Samsung عليه خصم، فيستعلم المساعد عن المنتج مباشرة ويجد السعر الحالي وسعر التخفيض ويجيب بدقة. ويسأل عميل عن طلبه من الثلاثاء الماضي، فيستعلم المساعد عن الطلب ويقرأ حالته ويعطي إجابة حقيقية لا نموذجًا جاهزًا.
وهذا يختلف عن رفع جداول المنتجات أو كتابة الأسئلة الشائعة التي تجمّد بياناتك عند لحظة معينة؛ فالأداة تعيد البيانات كما هي الآن في قاعدة بيانات WordPress.
ما البيانات التي يستطيع المساعد الاستعلام عنها؟
ابدأ بأداتين. المنتجات: ابحث في الكتالوج بالاسم وأجب بالسعر وسعر التخفيض وحالة المخزون والوصف. والطلبات: استعلم عن طلب برقمه وأجب بحالته وبنوده. لكل أداة قاعدة بكلمات بسيطة تحدد متى تُستخدم، ويُسجَّل كل استدعاء في المحادثة مع السبب الذي ذكره المساعد.
ملاحظة تقنية مهمة: تتطلب واجهة WooCommerce REST API اتصال HTTPS، فإن لم يكن لمتجرك شهادة SSL صالحة فلن تعمل. ومعظم استضافات WordPress الحديثة توفر SSL تلقائيًا، لكن يستحسن التحقق قبل البدء.
يراسل عميل متجرك الساعة 2 فجراً: "طلبت المكتب الواقف الجمعة الماضية لكنني لم أتلق إشعار شحن." يستعلم ذكاؤك WooCommerce، يجد الطلب #892، يقرأ الحالة — قيد المعالجة — ويجيب: "الطلب #892 يجري تحضيره حالياً وسيُشحن غداً. ستتلقى بريداً بالتتبع فور شحنه." لم يستيقظ أحد لهذا.
كيف تربط WooCommerce بمُجيب
يتضمن WooCommerce واجهة REST API مدمجة لا تحتاج إلى أي إضافات؛ تحتاج فقط إلى مفاتيح API.
الخطوة الأولى — أنشئ مفاتيح WooCommerce API
من لوحة تحكم WordPress توجّه إلى WooCommerce → Settings → Advanced → REST API واضغط Add key. اكتب وصفًا مثل «Mujib AI»، واختر حساب المدير، واجعل الصلاحيات Read فقط. ثم اضغط Generate API key وانسخ Consumer Key (يبدأ بـ ck_) و Consumer Secret (يبدأ بـ cs_).
الخطوة الثانية — اربط متجرك كواجهة API في مُجيب
افتح في لوحة مُجيب الأدوات ← ربط نظام جديد ← واجهتك البرمجية. اضبط العنوان الأساسي على https://yourstore.com/wp-json/wc/v3، واحفظ المفتاح والسر كأسرار للاتصال لتُستخدم في المصادقة. يُخزَّنان مشفّرين ولا يُعرضان مرة أخرى.
الخطوة الثالثة — استورد الطلبات كأدوات وانشر
استخدم استيراد طلب والصق أمر cURL مثل curl "https://yourstore.com/wp-json/wc/v3/orders/892" -u ck_…:cs_…. ينقل مُجيب المفاتيح إلى الاتصال، ويصبح رقم الطلب مُدخلًا يطلبه المساعد من العميل. وافعل الشيء نفسه للبحث عن المنتجات (/products?search=…). اكتب متى تُستخدم كل أداة، وفعّلها لمساعدك، وجرّبها كأنك عميل، ثم انشر من الاختبار والنشر.
