Connecting Your AI Chatbot to WooCommerce
Beyond simply appearing on your store (see the WordPress guide for the widget itself), a WooCommerce-aware chatbot can answer product questions from your catalog and look up live order status — two of the highest-value automations for an online store.
Step 1: Install the Widget (If Not Already Done)
Follow the WordPress channel guide first — WooCommerce runs on WordPress, so the same embed/plugin steps apply.
Step 2: Feed Your Product Catalog to the Bot
- In your chatbot platform’s Knowledge Base section, look for a WooCommerce or product-feed connector, or export your products as a CSV and upload it directly.
- Include product name, description, price, and stock status so the bot can answer “Do you have X in stock?” and “How much is Y?” style questions.
- Re-sync this feed on a schedule (weekly at minimum) so pricing and stock stay accurate — a stale product feed causing wrong-price quotes is the most common complaint with ecommerce bots.
Step 3: Connect Order Status Lookups
This requires a small automation layer since it needs a live API call, not just static knowledge:
- In WooCommerce, go to Settings → Advanced → REST API and generate a Read-only API key.
- Build a flow in Make.com or n8n: Webhook (from chatbot) → HTTP Request node calling WooCommerce’s `/orders` endpoint with the order number → format and return the status.
- In your chatbot flow, add a step that asks for the order number and/or email, then calls this webhook and displays the returned status.
Common Automations Worth Building
- Order status lookup — reduces “where is my order” support tickets significantly
- Abandoned cart recovery — trigger a chatbot or email follow-up (via Brevo) when a cart is abandoned
- Product recommendation — bot asks 2–3 questions and suggests matching products from the catalog
- Return/refund policy Q&A — simplest to build, highest immediate value
Troubleshooting
- Order lookups return nothing: double-check the REST API key has at least “Read” permission and that the order number format matches what customers actually receive in confirmation emails.
- Stock/price answers are wrong: your product feed sync interval is too long — shorten it, or switch to a live API call instead of a static upload for fast-moving inventory.
Want leads and orders synced to a CRM too? See the HubSpot integration guide.
Two ways to get your chatbot live
Follow the guide yourself, or skip the setup entirely and have it done for you.