Description
The MSG91 for WooCommerce plugin is an AI-powered shopping assistant that combines automated SMS notifications, a Web Chatbot, and a WhatsApp Bot to drive conversational commerce.
Customers can search products using natural language (« cheap shirts under 999 », « top selling products »), manage their cart, apply discounts, and complete checkout — all via chat. The plugin exposes a full REST API (VoiceBot API) that powers bot integrations, and includes a tokenized checkout hand-off so users can move seamlessly from WhatsApp to the browser.
Administrators configure channels, discount rules, bot tokens, and automation triggers from a single settings panel.
Features
- Automated SMS Notifications for WooCommerce events via MSG91.
- AI Chatbot / VoiceBot API — REST endpoints for natural-language product search, cart CRUD, discount application, checkout, and order placement.
- WhatsApp Bot — assisted selling and discount support over WhatsApp with deterministic session handling.
- Web Chat Widget — real-time customer support with WooCommerce customer data sync.
- Natural-Language Product Search — fuzzy search with intent parsing (price filters, sorting, category / brand / tag / attribute detection, compare & related products).
- Runtime Coupon Engine — auto-generates and applies best-fit discount coupons per channel (web / WhatsApp).
- Multi-Channel Cart — unified cart for guest, mobile, and logged-in users with bidirectional sync.
- Tokenized Checkout — browser hand-off URL that restores the bot session and cart automatically.
- Admin Interface for AuthKey, chat-bot, WhatsApp-bot, automation, and widget settings.
Supported WooCommerce Events
This plugin triggers SMS notifications for:
– New Customer Registration (woocommerce_new_customer)
– Customer Update (woocommerce_update_customer)
– New Order Placement (woocommerce_new_order)
– Order Update (woocommerce_update_order)
– Payment Completion (woocommerce_payment_complete)
– Order Completion (woocommerce_order_status_completed)
– Order Cancellation (woocommerce_order_status_cancelled)
– Order Refund (woocommerce_order_status_refunded)
AI Product Search
Natural-language queries are parsed for:
– Price ranges — « under 999 », « between 100 and 500 », « above 500 »
– Sorting — « cheap » (price ASC), « top selling » (total_sales DESC), « newest » (date DESC), « top rated » (rating DESC)
– Filters — category, brand, tag, and product attributes (color, size, material, etc.)
– Intents — compare (« A vs B »), related (« similar to X »), on-sale, featured / recommended
How to Use
= Setting Up the MSG91 AuthKey =
1. Navigate to MSG91 > Settings.
2. Enter your AuthKey.
3. Select the Default Country.
4. Click Save Auth Settings.
Managing Automation Rules
- Navigate to MSG91 > Automations.
- Add or update automation rules for triggering Campaign notifications via multiple channels.
Configuring Chat Bot
- Navigate to MSG91 > Chat Bot.
- In the Chat Widget section, enter the Bot Instructions to define the AI assistant behaviour.
- Enable Assisted Selling to allow cart operations through the bot.
- Enable Discount Support to let the bot auto-apply runtime coupons.
- Save settings.
Configuring WhatsApp Bot
- Navigate to MSG91 > Chat Bot.
- In the WhatsApp section, select the WhatsApp Number.
- Enable Use Widget Bot to reuse the chat-widget bot for WhatsApp (instead of creating a separate bot).
- Enable Assisted Selling and Discount Support as needed.
- Save settings.
Configuring Chat Widget
- Navigate to MSG91 > Chat Widget.
- Select the Widget Token from the dropdown.
- Configure the WhatsApp Number for the widget.
- Click Save Settings or Preview Widget to test.
File Storage and Data Management
This plugin follows WordPress.org guidelines for file storage:
Data Storage Location
- Plugin Data: All plugin-generated files are stored in the WordPress uploads directory at
wp-content/uploads/msg91-for-woocommerce/ - WordPress Compliance: Ensures compatibility with plugin update guidelines
- Automatic Cleanup: Files are removed when the plugin is uninstalled
File Operations
The plugin uses the WordPress filesystem API for secure operations:
– Save JSON files in uploads directory
– Read stored JSON files
– Delete files when needed
– Automatic migration of old files to uploads during activation
External Services
This plugin connects to external services:
MSG91.com
- Purpose: SMS delivery, chat-bot orchestration, WhatsApp template / campaign management, and inbox linking
- Data sent: User phone numbers, message content, campaign data, bot configuration
- API Endpoints: https://control.msg91.com/api/v5
- Terms of use: https://msg91.com/terms
- Privacy policy: https://msg91.com/privacy
Additional Services
- IP Info API: Used for location-based services (https://ipinfo.io/json)
- Sokt.io: Used for flow management (https://flow.sokt.io)
Support
For any issues, contact support via GitHub Issues
or the WooCommerce Support Forums.
Installation
- Download the plugin ZIP file.
- Navigate to Plugins > Add New in your WordPress admin panel.
- Click Upload Plugin, select the ZIP file, and click Install Now.
- Activate the plugin.
- Go to MSG91 > Settings to configure the AuthKey.
- Go to MSG91 > Chat Bot to configure the chat bot, WhatsApp bot, and discount rules.
- Go to MSG91 > Chat Widget to configure the web widget token and WhatsApp number.
FAQ
-
What is MSG91?
-
MSG91 is a cloud communication platform that provides SMS, WhatsApp, and chat-bot services for businesses.
-
Do I need a MSG91 account?
-
Yes, you need a MSG91 account to obtain the AuthKey and bot IDs required for SMS and chat-bot features.
-
Is this plugin free?
-
Yes, this plugin is free and open source under the GPLv2 license.
-
Does this plugin work with WooCommerce?
-
Yes, WooCommerce must be installed and activated.
-
Can customers checkout from WhatsApp?
-
Yes. The plugin generates a tokenized checkout URL that restores the bot cart and session in the browser.
-
What customer types are supported?
-
Guest (widget), mobile (WhatsApp), and logged-in WordPress users. Each has a deterministic session and isolated cart.
Avis
Il n’y a aucun avis pour cette extension.
Contributeurs/contributrices & développeurs/développeuses
« Msg91 for WooCommerce » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
ContributeursTraduisez « Msg91 for WooCommerce » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal des modifications
2.0.0
- Added AI VoiceBot API with natural-language product search, cart CRUD, discount, checkout, and order placement.
- Added WhatsApp Bot integration with assisted selling and discount support.
- Added runtime coupon / discount engine with channel-aware rules.
- Added tokenized checkout for seamless WhatsApp-to-browser hand-off.
- Added fuzzy product search with intent parsing (price, sort, category, brand, tag, attributes, compare, related).
- Added Web Chat Widget integration with WooCommerce customer data sync.
- Updated admin settings panel for unified chat-bot and WhatsApp-bot configuration.
1.0.0
- Initial release
- Basic SMS automation functionality
- Admin interface for managing automations
- Secure AuthKey storage
