{"id":237370,"date":"2025-09-09T09:20:33","date_gmt":"2025-09-09T09:20:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/msg91-for-woocommerce\/"},"modified":"2026-06-09T13:52:24","modified_gmt":"2026-06-09T13:52:24","slug":"msg91-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/szl.wordpress.org\/plugins\/msg91-for-woocommerce\/","author":23287197,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.0","stable_tag":"2.0.0","tested":"7.0","requires":"5.0","requires_php":"","requires_plugins":null,"header_name":"Msg91 for WooCommerce","header_author":"MSG91","header_description":"A plugin for Msg91 integration with WooCommerce.","assets_banners_color":"0c2f4a","last_updated":"2026-06-09 13:52:24","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":60,"downloads":795,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"msg91official","date":"2025-09-09 09:21:17"},"2.0.0":{"tag":"2.0.0","author":"msg91official","date":"2026-06-09 13:52:24"}},"upgrade_notice":{"2.0.0":"<p>Major upgrade adding AI chatbot, WhatsApp bot, product search, cart API, and discount engine. Review the new Chat Bot and WhatsApp Bot settings after updating.<\/p>","1.0.0":"<p>Initial release of the plugin.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3358441,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3358441,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3358441,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3358441,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","2.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"MSG91 Settings \u2014 Authentication Configuration (AuthKey, Country, IP, Domain)","2":"MSG91 Chat Widget \u2014 Widget Token and WhatsApp Configuration","3":"MSG91 Chat Bot \u2014 Bot Instructions, Assisted Selling, Discount Support, and WhatsApp Settings","4":"MSG91 Automations \u2014 Campaign and notification automation management interface"}},"plugin_section":[],"plugin_tags":[2364,163207,4906,711,286],"plugin_category":[41,45],"plugin_contributors":[266325],"plugin_business_model":[],"class_list":["post-237370","plugin","type-plugin","status-publish","hentry","plugin_tags-chatbot","plugin_tags-msg91","plugin_tags-notifications","plugin_tags-sms","plugin_tags-woocommerce","plugin_category-communication","plugin_category-ecommerce","plugin_contributors-msg91","plugin_committers-msg91official"],"banners":{"banner":"https:\/\/ps.w.org\/msg91-for-woocommerce\/assets\/banner-772x250.png?rev=3358441","banner_2x":"https:\/\/ps.w.org\/msg91-for-woocommerce\/assets\/banner-1544x500.png?rev=3358441","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/msg91-for-woocommerce\/assets\/icon-128x128.png?rev=3358441","icon_2x":"https:\/\/ps.w.org\/msg91-for-woocommerce\/assets\/icon-256x256.png?rev=3358441","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The <strong>MSG91 for WooCommerce<\/strong> plugin is an AI-powered shopping assistant that combines automated SMS notifications, a Web Chatbot, and a WhatsApp Bot to drive conversational commerce.<\/p>\n\n<p>Customers can search products using natural language (\"cheap shirts under 999\", \"top selling products\"), manage their cart, apply discounts, and complete checkout \u2014 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.<\/p>\n\n<p>Administrators configure channels, discount rules, bot tokens, and automation triggers from a single settings panel.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li><strong>Automated SMS Notifications<\/strong> for WooCommerce events via MSG91.<\/li>\n<li><strong>AI Chatbot \/ VoiceBot API<\/strong> \u2014 REST endpoints for natural-language product search, cart CRUD, discount application, checkout, and order placement.<\/li>\n<li><strong>WhatsApp Bot<\/strong> \u2014 assisted selling and discount support over WhatsApp with deterministic session handling.<\/li>\n<li><strong>Web Chat Widget<\/strong> \u2014 real-time customer support with WooCommerce customer data sync.<\/li>\n<li><strong>Natural-Language Product Search<\/strong> \u2014 fuzzy search with intent parsing (price filters, sorting, category \/ brand \/ tag \/ attribute detection, compare &amp; related products).<\/li>\n<li><strong>Runtime Coupon Engine<\/strong> \u2014 auto-generates and applies best-fit discount coupons per channel (web \/ WhatsApp).<\/li>\n<li><strong>Multi-Channel Cart<\/strong> \u2014 unified cart for guest, mobile, and logged-in users with bidirectional sync.<\/li>\n<li><strong>Tokenized Checkout<\/strong> \u2014 browser hand-off URL that restores the bot session and cart automatically.<\/li>\n<li><strong>Admin Interface<\/strong> for AuthKey, chat-bot, WhatsApp-bot, automation, and widget settings.<\/li>\n<\/ul>\n\n<h3>Supported WooCommerce Events<\/h3>\n\n<p>This plugin triggers SMS notifications for:\n- New Customer Registration (<code>woocommerce_new_customer<\/code>)\n- Customer Update (<code>woocommerce_update_customer<\/code>)\n- New Order Placement (<code>woocommerce_new_order<\/code>)\n- Order Update (<code>woocommerce_update_order<\/code>)\n- Payment Completion (<code>woocommerce_payment_complete<\/code>)\n- Order Completion (<code>woocommerce_order_status_completed<\/code>)\n- Order Cancellation (<code>woocommerce_order_status_cancelled<\/code>)\n- Order Refund (<code>woocommerce_order_status_refunded<\/code>)<\/p>\n\n<h3>AI Product Search<\/h3>\n\n<p>Natural-language queries are parsed for:\n- <strong>Price ranges<\/strong> \u2014 \"under 999\", \"between 100 and 500\", \"above 500\"\n- <strong>Sorting<\/strong> \u2014 \"cheap\" (price ASC), \"top selling\" (total_sales DESC), \"newest\" (date DESC), \"top rated\" (rating DESC)\n- <strong>Filters<\/strong> \u2014 category, brand, tag, and product attributes (color, size, material, etc.)\n- <strong>Intents<\/strong> \u2014 compare (\"A vs B\"), related (\"similar to X\"), on-sale, featured \/ recommended<\/p>\n\n<h3>How to Use<\/h3>\n\n<p>= Setting Up the MSG91 AuthKey =\n1. Navigate to <strong>MSG91 &gt; Settings<\/strong>.\n2. Enter your <strong>AuthKey<\/strong>.\n3. Select the <strong>Default Country<\/strong>.\n4. Click <strong>Save Auth Settings<\/strong>.<\/p>\n\n<h4>Managing Automation Rules<\/h4>\n\n<ol>\n<li>Navigate to <strong>MSG91 &gt; Automations<\/strong>.<\/li>\n<li>Add or update automation rules for triggering Campaign notifications via multiple channels.<\/li>\n<\/ol>\n\n<h4>Configuring Chat Bot<\/h4>\n\n<ol>\n<li>Navigate to <strong>MSG91 &gt; Chat Bot<\/strong>.<\/li>\n<li>In the <strong>Chat Widget<\/strong> section, enter the <strong>Bot Instructions<\/strong> to define the AI assistant behaviour.<\/li>\n<li>Enable <strong>Assisted Selling<\/strong> to allow cart operations through the bot.<\/li>\n<li>Enable <strong>Discount Support<\/strong> to let the bot auto-apply runtime coupons.<\/li>\n<li>Save settings.<\/li>\n<\/ol>\n\n<h4>Configuring WhatsApp Bot<\/h4>\n\n<ol>\n<li>Navigate to <strong>MSG91 &gt; Chat Bot<\/strong>.<\/li>\n<li>In the <strong>WhatsApp<\/strong> section, select the <strong>WhatsApp Number<\/strong>.<\/li>\n<li>Enable <strong>Use Widget Bot<\/strong> to reuse the chat-widget bot for WhatsApp (instead of creating a separate bot).<\/li>\n<li>Enable <strong>Assisted Selling<\/strong> and <strong>Discount Support<\/strong> as needed.<\/li>\n<li>Save settings.<\/li>\n<\/ol>\n\n<h4>Configuring Chat Widget<\/h4>\n\n<ol>\n<li>Navigate to <strong>MSG91 &gt; Chat Widget<\/strong>.<\/li>\n<li>Select the <strong>Widget Token<\/strong> from the dropdown.<\/li>\n<li>Configure the <strong>WhatsApp Number<\/strong> for the widget.<\/li>\n<li>Click <strong>Save Settings<\/strong> or <strong>Preview Widget<\/strong> to test.<\/li>\n<\/ol>\n\n<h3>File Storage and Data Management<\/h3>\n\n<p>This plugin follows WordPress.org guidelines for file storage:<\/p>\n\n<h4>Data Storage Location<\/h4>\n\n<ul>\n<li>Plugin Data: All plugin-generated files are stored in the WordPress uploads directory at <code>wp-content\/uploads\/msg91-for-woocommerce\/<\/code><\/li>\n<li>WordPress Compliance: Ensures compatibility with plugin update guidelines<\/li>\n<li>Automatic Cleanup: Files are removed when the plugin is uninstalled<\/li>\n<\/ul>\n\n<h4>File Operations<\/h4>\n\n<p>The plugin uses the WordPress filesystem API for secure operations:\n- Save JSON files in uploads directory\n- Read stored JSON files\n- Delete files when needed\n- Automatic migration of old files to uploads during activation<\/p>\n\n<h3>External Services<\/h3>\n\n<p>This plugin connects to external services:<\/p>\n\n<h4>MSG91.com<\/h4>\n\n<ul>\n<li>Purpose: SMS delivery, chat-bot orchestration, WhatsApp template \/ campaign management, and inbox linking<\/li>\n<li>Data sent: User phone numbers, message content, campaign data, bot configuration<\/li>\n<li>API Endpoints: https:\/\/control.msg91.com\/api\/v5<\/li>\n<li>Terms of use: https:\/\/msg91.com\/terms<\/li>\n<li>Privacy policy: https:\/\/msg91.com\/privacy<\/li>\n<\/ul>\n\n<h4>Additional Services<\/h4>\n\n<ul>\n<li>IP Info API: Used for location-based services (https:\/\/ipinfo.io\/json)<\/li>\n<li>Sokt.io: Used for flow management (https:\/\/flow.sokt.io)<\/li>\n<\/ul>\n\n<h3>Support<\/h3>\n\n<p>For any issues, contact support via <a href=\"https:\/\/github.com\/your-repo\/issues\">GitHub Issues<\/a>\nor the WooCommerce Support Forums.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin ZIP file.<\/li>\n<li>Navigate to <strong>Plugins &gt; Add New<\/strong> in your WordPress admin panel.<\/li>\n<li>Click <strong>Upload Plugin<\/strong>, select the ZIP file, and click <strong>Install Now<\/strong>.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Go to <strong>MSG91 &gt; Settings<\/strong> to configure the AuthKey.<\/li>\n<li>Go to <strong>MSG91 &gt; Chat Bot<\/strong> to configure the chat bot, WhatsApp bot, and discount rules.<\/li>\n<li>Go to <strong>MSG91 &gt; Chat Widget<\/strong> to configure the web widget token and WhatsApp number.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20is%20msg91%3F\"><h3>What is MSG91?<\/h3><\/dt>\n<dd><p>MSG91 is a cloud communication platform that provides SMS, WhatsApp, and chat-bot services for businesses.<\/p><\/dd>\n<dt id=\"do%20i%20need%20a%20msg91%20account%3F\"><h3>Do I need a MSG91 account?<\/h3><\/dt>\n<dd><p>Yes, you need a MSG91 account to obtain the AuthKey and bot IDs required for SMS and chat-bot features.<\/p><\/dd>\n<dt id=\"is%20this%20plugin%20free%3F\"><h3>Is this plugin free?<\/h3><\/dt>\n<dd><p>Yes, this plugin is free and open source under the GPLv2 license.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20work%20with%20woocommerce%3F\"><h3>Does this plugin work with WooCommerce?<\/h3><\/dt>\n<dd><p>Yes, WooCommerce must be installed and activated.<\/p><\/dd>\n<dt id=\"can%20customers%20checkout%20from%20whatsapp%3F\"><h3>Can customers checkout from WhatsApp?<\/h3><\/dt>\n<dd><p>Yes. The plugin generates a tokenized checkout URL that restores the bot cart and session in the browser.<\/p><\/dd>\n<dt id=\"what%20customer%20types%20are%20supported%3F\"><h3>What customer types are supported?<\/h3><\/dt>\n<dd><p>Guest (widget), mobile (WhatsApp), and logged-in WordPress users. Each has a deterministic session and isolated cart.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Added AI VoiceBot API with natural-language product search, cart CRUD, discount, checkout, and order placement.<\/li>\n<li>Added WhatsApp Bot integration with assisted selling and discount support.<\/li>\n<li>Added runtime coupon \/ discount engine with channel-aware rules.<\/li>\n<li>Added tokenized checkout for seamless WhatsApp-to-browser hand-off.<\/li>\n<li>Added fuzzy product search with intent parsing (price, sort, category, brand, tag, attributes, compare, related).<\/li>\n<li>Added Web Chat Widget integration with WooCommerce customer data sync.<\/li>\n<li>Updated admin settings panel for unified chat-bot and WhatsApp-bot configuration.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Basic SMS automation functionality<\/li>\n<li>Admin interface for managing automations<\/li>\n<li>Secure AuthKey storage<\/li>\n<\/ul>","raw_excerpt":"AI-powered shopping assistant with WhatsApp &amp; Web chatbot, product search, cart management, and SMS notifications via MSG91 for WooCommerce events.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/237370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=237370"}],"author":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/msg91official"}],"wp:attachment":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=237370"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=237370"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=237370"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=237370"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=237370"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=237370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}