Integrations
WooCommerce: product catalog
How to connect your WooCommerce store to Clovie: REST API keys, plugin, refresh after a sale.
Once you connect the catalog, the assistant knows your products, prices and availability: it recommends them in the conversation as cards with a buy button and says plainly when something is out of stock.
As of: 2026-10-16.
Setup in your WordPress store
- REST API key: WooCommerce → Settings → Advanced → REST API → Add key →
Read permissions → copy the consumer key (
ck_…) and the consumer secret (cs_…) (the secret is shown only once). - Permalinks: Settings → Permalinks, any setting except “Plain” (the REST API needs working permalinks).
- Clovie Embed plugin: Plugins → Add New → Upload Plugin → clovie-embed-woocommerce.zip → Install Now → Activate.
Setup in the Clovie dashboard
- Assistant setup → Integrations step → Online store card → WooCommerce platform.
- Enter the Store URL, the Consumer key and the Consumer secret; check whether prices include tax (gross).
- Test connection → after it succeeds, Connect store (starts the first full sync).
- Copy the Event endpoint and the Sync token → paste them in WordPress (Settings → Clovie) and turn on Synchronizuj katalog produktów (product catalog sync). The plugin settings are in Polish.
What the plugin sends (event sync)
Hooks: woocommerce_new/update_product, woocommerce_new/update_product_variation,
woocommerce_product_set_stock, woocommerce_variation_set_stock,
woocommerce_order_status_processing/completed, wp_trash_post/before_delete_post
(type product). Product IDs are collected per PHP request and sent once in shutdown
(debounce: bulk editing or import doesn't trigger a flood of POST requests), fire-and-forget
(blocking => false, 3 s timeout).
Common errors
| Symptom | Solution |
|---|---|
| 401/403 during the test | Check the consumer key/secret and the Read permission; the key must belong to a user with access to products |
404 /wp-json/… |
Turn on permalinks (other than “Plain”); check that WooCommerce is active |
| The catalog doesn't refresh after a sale | In Settings → Clovie, check the endpoint and token and that the sync switch is on |
| No stock quantity in replies | The store doesn't track stock (manage_stock is off). This is intended behavior |