WooCommerce Chatbot (Rasa) A conversational AI chatbot built with Rasa and integrated with the WooCommerce REST API. This bot can help users search for products, discover cross-sell recommendations, and interact with your WooCommerce store in real time.
Features
Product Search – Find products in your WooCommerce store by name or keyword.
Cross-Sell Recommendations – Suggest complementary products automatically.
Conversational AI – Built with Rasa NLU + Core for intent recognition and dialogue.
Custom Actions – Python-based actions connected to the WooCommerce API.
Integration Ready – Deploy with REST, Webchat, or embed in your WooCommerce site.
Prerequisites:
Python 3.10.x (recommended for Rasa 3.6) pip (latest version) Virtual environment (venv or conda) A WooCommerce store with REST API enabled
Installation:
Clone the repo and set up your environment:
git clone https://github.com/your-username/woocommerce-chatbot.git cd woocommerce-chatbot
py -3.10 -m venv rasa_env .\rasa_env\Scripts\activate
pip install -r requirements.txt
WooCommerce API Setup:
Log in to your WordPress Admin
Navigate to:
WooCommerce > Settings > Advanced > REST API
Click "Add Key" → Give it a description (e.g., Chatbot Integration)
Set Permissions = Read (or Read/Write if needed)
Copy the generated:
Consumer Key (ck_xxxxx...)
Consumer Secret (cs_xxxxx...)
Add them as environment variables (recommended) or directly in credentials.yml