WooCommerce
NativeConnect your WooCommerce store to sync your full product catalog, customer list, and orders β and unlock the flagship feature: your AI agent takes orders directly on WhatsApp, builds the cart through natural conversation across multiple messages, and generates a real WooCommerce checkout payment link. All automatic. No human agent needed.
AI Conversational Cart β the headline feature
When a customer messages βI want 2 kg apples, 1 banana, and that sweet red fruitβ across multiple WhatsApp messages, your AI agent looks up each item in your WooCommerce catalog, asks for clarification only when truly needed, remembers their growing list, shows the running total, and β when they say βcheckoutβ β creates a real WooCommerce pending order and sends a direct payment link.
How the AI cart works
The cart is built through natural conversation β the customer can add items across as many messages as they like. The cart is saved per-conversation and persists until they checkout or clear it, even if they come back hours later.
Customer says
βI want 2 kg apple and 1 bananaβ
AI does
Adds both to cart β shows cart with total β "Reply checkout when ready π"
Customer says
βAdd something red and sweet and juicy (next message)β
AI does
Searches catalog β matches "Shimla Apple" β adds it β updates cart total
Customer says
βActually change it to 3 applesβ
AI does
Updates apple quantity to 3 β shows updated cart and new total
Customer says
βRemove bananaβ
AI does
Removes banana β shows updated cart
Customer says
βCheckout / Place order / Buy nowβ
AI does
Creates WooCommerce pending order via API β sends payment link β customer pays on your store
Customer says
βWhere is my order?β
AI does
Looks up latest order by customer phone number β replies with real-time status
Fuzzy matching
"Red sweet fruit" β matches Apple by searching name, tags & description
Multi-message memory
Cart survives multiple messages, topic changes, and hours of inactivity
Real WooCommerce order
Creates a pending order via REST API β direct payment link on your store
Prerequisites
- 1A live WooCommerce store (WordPress + WooCommerce 3.0 or later)
- 2WordPress admin access to generate REST API keys
- 3EmacronAI CRM with WhatsApp Business connected
- 4AI Pilot enabled in Settings β AI Configuration β WhatsApp AI Pilot ON
- 5Admin or Owner role in EmacronAI CRM
Step-by-step setup
- 1
Enable the WooCommerce REST API
In WordPress Admin β WooCommerce β Settings β Advanced β REST API tab. Confirm the REST API is enabled (it is on by default in WooCommerce 3.0+).
- 2
Create an API Key
Click "Add key" β Description: EmacronAI CRM β User: your admin user β Permissions: Read/Write β click "Generate API key".
β οΈ Read/Write is required. Read-only keys cannot create orders for the AI cart feature. - 3
Copy your Consumer Key & Secret
Both keys are shown only once. Copy the Consumer Key (ck_...) and Consumer Secret (cs_...) and store them securely.
Consumer Key: ck_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Consumer Secret: cs_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- 4
Find your Store URL
Your store URL is the root WordPress site URL β do not include /wp-json or a trailing slash.
Correct: https://yourstore.com Incorrect: https://yourstore.com/wp-json Incorrect: https://yourstore.com/
- 5
Connect in EmacronAI CRM
Go to Settings β Integrations β WooCommerce β enter your Store URL, Consumer Key, and Consumer Secret β Save. EmacronAI CRM validates the connection live before saving.
Open Integrations settings β - 6
Sync your Store
Click "Sync Store" β this imports all your published products (with stock, pricing, images), all customers, and automatically registers WooCommerce webhooks for real-time order and product updates. Your WhatsApp AI Store is now live.
β οΈ Webhooks are registered automatically β no manual WooCommerce webhook setup needed. First sync may take 1β3 minutes for large catalogs. - 7
Configure Order Notifications (optional)
Go to Store β Settings β Notifications to configure WhatsApp alerts for new orders β customer order confirmations and admin team alerts.
Open Store Settings β - 8
Enable AI Pilot
Go to Settings β AI Mode β turn on "WhatsApp AI Pilot". This activates the conversational cart β your AI will now automatically handle incoming orders, build carts, and generate checkout links 24/7.
Open AI Mode β
What you can do
AI Conversational Cart
Customers order naturally on WhatsApp β "I want 2 apples and 1 banana." The AI builds the cart, shows the total, and creates a real WooCommerce checkout link. No human agent needed.
Direct WooCommerce Checkout
When the customer says "checkout", a real WooCommerce pending order is created via the API and a direct payment link is sent β customers pay on your store without leaving WhatsApp.
Fuzzy Product Matching
Customers do not need to know exact product names. "That red sweet fruit" can match "Shimla Apple" β the AI searches across product names, tags, and descriptions.
Multi-Message Cart Memory
Customers can add items across many messages, ask questions in between, and come back later. Their cart persists for the entire conversation.
Live Stock Warnings
The AI warns customers if an item is out of stock or low quantity before adding it to their cart β preventing failed orders.
Order Tracking on WhatsApp
Customers can ask "where is my order?" and the AI looks it up live from WooCommerce and replies with real-time order status.
Customer Import
All WooCommerce customers are imported as contacts in EmacronAI CRM β with total spend, order count, city, and purchase history shown alongside every conversation.
Live Product Catalog
Your full WooCommerce catalog is accessible from any conversation in the inbox β agents can look up stock, pricing, and share product details instantly.
Real-time webhooks
EmacronAI CRM registers the following WooCommerce webhooks automatically when you click βSync Storeβ. No manual WooCommerce webhook setup is ever needed. This is idempotent β safe to run multiple times.
order.created
New order with status "processing" β decrements stock, fires WA notifications instantly
product.updated
Product changed in WooCommerce β instantly updates price, stock, images in EmacronAI CRM
product.created
New product added in WooCommerce β instantly available in EmacronAI CRM catalog
WhatsApp order notifications
Configure automatic WhatsApp messages for every new WooCommerce order β sent to the customer and your team the moment payment is confirmed.
Customer Order Confirmation
Automatically sends an itemized WhatsApp receipt and payment link to the customer immediately when an order or AI cart is placed.
Admin Team Alert
Sends instant WhatsApp notification to store owners or support agents when a new WooCommerce order is received.
Troubleshooting
"Connection failed" or "Invalid credentials"
Check that Consumer Key starts with ck_ and Consumer Secret starts with cs_. Permissions must be Read/Write. Store URL must have no trailing slash and no /wp-json suffix. Example: https://yourstore.com
AI cart not working β no checkout link sent
Ensure: (1) WooCommerce is connected and active, (2) AI Pilot (WhatsApp) is enabled in Settings β AI Configuration, (3) Products are synced β the AI cannot order products it has not imported. Also verify your API key has Read/Write permission.
Products not appearing after sync
Only published, non-draft products are imported. Make sure your products are set to "Published" status in WooCommerce, then click "Sync Store" again.
Customer asks for a product but AI says "not found"
The product may not have been synced yet, or the name/tags/description do not contain the keywords the customer used. Add descriptive tags to the product in WooCommerce (e.g. "red", "sweet", "fruit", "apple") and re-sync.
Checkout payment link expired or says "Order not found"
WooCommerce pending orders expire based on your "Hold Stock" setting β WooCommerce β Settings β Products β Inventory. Increase this to at least 24β48 hours so customers have enough time to pay.
Customer cart is lost between sessions
Cart state is tied to the WhatsApp conversation. If the conversation is deleted or the customer messages from a new number, the cart resets. Otherwise it persists indefinitely.