← All guides

How do you connect a WooCommerce store to WhatsApp?

28 August 2026

Short answer

Connect WooCommerce using its REST API keys, which lets your WhatsApp agent read your live product catalogue — titles, prices, stock status and photos. Once connected, the agent answers from real data instead of a pasted price list, and a webhook plus a nightly re-sync keeps it current when you change a price.

The difference between an AI agent and a salesperson is knowing what is actually in stock today. That is what connecting your store buys you.

What syncing gives you

  • Real prices, including sale prices, quoted from the catalogue rather than typed by a model.
  • Stock awareness, so out-of-stock items are never offered or sold.
  • Product photos the agent can send when a customer asks to see something.
  • Order capture that references a real product, not a guess at what the customer meant.

An agent connected to your catalogue cannot invent a product or a price. That guarantee is the whole point — it is the difference between a helpful assistant and an expensive liability.

Setting it up

  1. 1In WordPress, go to WooCommerce → Settings → Advanced → REST API.
  2. 2Create a key with Read permission — the agent only needs to read your catalogue.
  3. 3Copy the consumer key and consumer secret.
  4. 4Paste them into your agent’s store connection settings along with your store URL.
  5. 5Run the first sync; products and photos import in a few seconds.

Read permission is enough for selling. Only grant write access if you specifically want orders pushed back into WooCommerce.

Keeping it current

Prices change. Two things keep the agent honest: a webhook that fires when you edit a product, and a full re-sync overnight in case a webhook was ever missed. The nightly pass is the safety net — webhooks fail occasionally, and a stale price quoted to a customer is a real problem.

What if I do not have an online store?

Plenty of Sri Lankan shops do not. You can still run an agent on uploaded documents and your website content — it will answer questions about policies, delivery and services. What you lose without a catalogue is photos, live stock and precise order capture.

Common questions

Do I need WooCommerce to use a WhatsApp agent?

No. Without a store the agent works from uploaded documents and your website, but you lose live stock, product photos and precise order capture.

How often does the catalogue update?

A webhook updates it when you change a product, and a full re-sync runs nightly as a safety net in case a webhook is missed.

What permissions does it need?

Read access is enough to sell. Write access is only needed if you want orders pushed back into your store.

See it working

Message the live demo shop and ask it anything — in Sinhala, Singlish, Tamil, English, Hebrew, Russian or Arabic. No signup needed.

More guides