Voltar ao painel

Documentação

Aprenda a usar o Asyntai

Integração com WooCommerce

Sync your WooCommerce catalog into your chatbot in two minutes

Connect WooCommerce Store
Planos Standard, Pro e Enterprise

Visão Geral

The WooCommerce integration lets your AI chatbot answer product questions using live data from your WooCommerce store. Paste in your site URL and a read-only API key pair you generate in WordPress, and the chatbot will know about every published product in your catalog.

When a visitor asks about a product, the AI finds the most relevant matches, describes them in natural language, and (with Dynamic Product Cards enabled) can render them as visual product cards with images, prices, and buy buttons that link straight to your product pages.

Como funciona

  1. You generate a read-only REST API key in your WordPress admin
  2. You paste the site URL, consumer key, and consumer secret into our settings page
  3. We sync your catalog automatically — each published, visible product becomes searchable by the chatbot
  4. Visitors ask about products and the AI answers with real names, prices, and links
Assistente de IA
Do you have any running shoes under $150?
We do! The Runner Pro at $89 is our lightweight everyday trainer — great for daily runs on pavement. The Trail Blazer at $119 has more aggressive grip for off-road and uneven terrain. Both are in stock.
Running shoes
Runner Pro
$89
Buy now
Running shoes
Trail Blazer
$119
Buy now

Setting Up the Integration

Connecting takes about two minutes and doesn't require any code.

Step 1: Generate an API key pair

  1. In your WordPress admin, go to WooCommerce → Settings → Advanced → REST API
  2. Click Add key
  3. Add a description (e.g. Asyntai Integration), pick an admin user, and set Permissions to Read
  4. Click Generate API key

Step 2: Copy the credentials

  1. WooCommerce shows your Consumer key (starts with ck_) and Consumer secret (starts with cs_) on the confirmation screen
  2. Copy both — they're only shown once

Importante: The consumer secret is only shown once. Copy it straight into Asyntai or save it somewhere secure. If you lose it, you'll need to revoke the key and generate a new one.

Step 3: Paste into Asyntai

  1. Open the WooCommerce Integration page in Asyntai
  2. Paste your site URL (e.g. https://yourstore.com)
  3. Paste the consumer key and consumer secret
  4. Click Connect & start sync

The first sync kicks off automatically in the background. Depending on the size of your catalog, it takes anywhere from seconds to a few minutes.

Dica: HTTPS is required for the WooCommerce REST API with Basic authentication. If your site runs on HTTP, the connection won't work — install an SSL certificate first.

What Gets Synced

  • Product name, SKU, and categories
  • Price (including currency) and the regular price if the product is on sale
  • Stock status and quantity when stock management is on
  • Short description or description (HTML stripped to clean text)
  • Main product image URL
  • Product permalink — the direct URL to the product page on your storefront

Only products with status published and catalog visibility other than hidden are indexed. Drafts, private products, and hidden products stay out of the chatbot's knowledge.

Showing Products as Rich Cards

Enable Dynamic Product Cards to have the AI render synced WooCommerce products as rich visual cards with images, prices, and buy buttons — instead of plain text.

Re-syncing Your Catalog

Click Sync now on the WooCommerce Integration page any time you want to pull the latest product changes. The sync is incremental — unchanged products are skipped, so repeated syncs are fast and cheap.

Dica: If you edit a product in WooCommerce, the change won't appear in the chatbot until you re-sync. We don't auto-refresh yet (webhook-based syncing is planned).

Order Tracking

This integration handles product data only. For the chatbot to answer questions about a visitor's order status, we recommend a different approach:

  • Use User Context to pass the logged-in customer's recent orders from your WooCommerce storefront directly into the chat. The chatbot sees them instantly with no extra API permissions required.

Desligar

Click Disconnect on the WooCommerce Integration page to stop syncing. This removes the synced products from the chatbot's knowledge. Your WooCommerce store is untouched; you can reconnect any time.

If you revoke the API key in your WordPress admin, the next sync attempt will fail and our system will automatically mark the integration as disconnected.

Plan Requirements

  • Your Asyntai plan: Standard or Pro
  • Your WooCommerce site: any installation with HTTPS and the REST API enabled (it's on by default)

Alternative: Real-Time Data Feed

Instead of connecting via API keys, you can point our Real-Time Data Feed (or Real-Time Data Feed Max for large catalogs) at WooCommerce's built-in product feed or a custom endpoint on your site. More work upfront but gives you fully live data on every chat message.

When to choose which: Use the WooCommerce integration for the simplest setup. Use Real-Time Data Feed if you need fully live data on every message and have a developer who can expose a feed endpoint.