Chatspark
K
K

WooCommerce

Enable your AI agent to look up order status, track shipments, check inventory, and get product information from your WooCommerce store.

6 min read

Updated February 2026

Overview

The WooCommerce integration connects your AI agent to your WordPress-powered e-commerce store. Customers can check order status, find product information, and get shipping updates through natural conversation.

Perfect for WordPress users who want to automate common customer support questions like “Where's my order?” and “Do you have this in stock?”

Available Actions

ActionDescription
Get Order StatusLook up order status and details by order number or customer email
Track ShipmentGet tracking information and delivery status for shipped orders
Get Product InfoRetrieve product details, pricing, variations, and availability
Check InventoryCheck real-time stock levels for specific products
Get Customer OrdersList all orders for a customer by email address

Prerequisites

Before setting up the WooCommerce integration, you'll need:

  • A WordPress site with WooCommerce installed and active
  • WooCommerce REST API enabled (enabled by default)
  • Admin access to WordPress to generate API keys
  • SSL certificate (HTTPS) — required for WooCommerce API

Setup Instructions

Step 1: Generate WooCommerce API Keys

  1. Log in to your WordPress admin
  2. Go to WooCommerceSettings
  3. Click the Advanced tab
  4. Click REST API
  5. Click Add key

Step 2: Configure the API Key

  1. Enter a description (e.g., “ChatSpark Integration”)
  2. Select a user with admin permissions
  3. Set permissions to Read
  4. Click Generate API key
Save Your Keys
The Consumer Secret is only shown once. Copy both the Consumer Key and Consumer Secret immediately and store them securely.

Step 3: Enable in ChatSpark

  1. In ChatSpark, go to AI Actions
  2. Find WooCommerce in the Library and click Enable
  3. Select the chatbot(s) that should have access
  4. Enter your Site URL, Consumer Key, and Consumer Secret
  5. Click Save

Configuration Fields

FieldDescriptionExample
Site URLYour WordPress site URL (must be HTTPS)https://yourstore.com
Consumer KeyThe Consumer Key from WooCommerceck_xxxxx...
Consumer SecretThe Consumer Secret from WooCommercecs_xxxxx...

Testing Your Integration

After setup, test the integration:

  1. Open your chatbot widget
  2. Try asking: “What's the status of order #1001?”
  3. The AI should look up and return the order details

Other test queries:

  • “Is the Blue Widget in stock?”
  • “What are the details for product SKU ABC123?”
  • “Show me my recent orders” (requires customer email)

Troubleshooting

Connection refused or SSL error

WooCommerce REST API requires HTTPS. Make sure your site has a valid SSL certificate installed and configured.

401 Unauthorized error

Check that your Consumer Key and Consumer Secret are correct. If needed, generate new API keys in WooCommerce.

REST API disabled

Some security plugins disable the WordPress REST API. Check your security plugin settings and whitelist the WooCommerce API endpoints.

Permalinks issue

WooCommerce API requires “pretty permalinks.” Go to SettingsPermalinks and select any option except “Plain.”

Need Help?
If you're having trouble with the WooCommerce integration, contact our support team with your site URL and we'll help you troubleshoot.

Previous

Stripe

Next

Zendesk