WooCommerce

Stable

Run your WooCommerce store from WhatsApp — orders, refunds, inventory, and reports

E-commerce

What is WooCommerce?

WooCommerce is the most popular e-commerce plugin for WordPress, powering roughly a third of all online stores. The LunoGen WooCommerce integration connects to your store via the WooCommerce REST API and webhooks, so your AI agent can read and manage orders, products, customers, refunds, and coupons directly from WhatsApp messages or cron jobs.

Why connect WooCommerce?

Running a WooCommerce store usually means staying glued to the WordPress admin — refreshing the orders screen, clicking through products, manually issuing refunds. With an AI agent on WhatsApp, you skip the admin entirely. Every order pings your phone. Every refund is one sentence. Every report is waiting for you at 8 AM.

What you can do

  • Real-time order alerts via WooCommerce webhooks (order.created, order.updated)
  • Process full and partial refunds through the WooCommerce REST API
  • Low-stock notifications based on per-product reorder thresholds
  • Customer lookup with lifetime value, order count, and last purchase
  • Daily and weekly sales reports with revenue, top products, and trends
  • Abandoned cart recovery via WooCommerce Cart Abandonment plugin hooks
  • Create and manage coupon codes from a WhatsApp message
  • Update product prices, stock, and descriptions without opening wp-admin
  • Bulk inventory updates via CSV upload
  • Order status transitions (processing → completed → shipped)
  • Works with any WooCommerce theme and payment gateway

Setup

Requirements

  • A self-hosted WordPress site with WooCommerce 6.0 or newer
  • Admin access to generate REST API keys
  • A publicly reachable site URL (for webhook delivery)
  • A LunoGen account with at least the Pro plan
  1. 1

    Generate WooCommerce REST API keys

    In WordPress admin go to WooCommerce → Settings → Advanced → REST API → Add key. Set permissions to Read/Write and generate. Copy the Consumer Key and Consumer Secret — you'll only see them once.

  2. 2

    Add the credential in LunoGen

    In the LunoGen dashboard open Credentials → New → WooCommerce. Paste your store URL (e.g. https://mystore.com), Consumer Key, and Consumer Secret. LunoGen will ping /wp-json/wc/v3 to verify the connection.

  3. 3

    Configure webhooks for real-time alerts

    Back in WooCommerce → Settings → Advanced → Webhooks, add a new webhook for order.created pointing to the LunoGen webhook URL shown in your integration page. Repeat for order.updated and order.refunded if you want status-change alerts.

  4. 4

    Set stock thresholds

    In WooCommerce → Settings → Products → Inventory, enable stock management and set a global low-stock threshold. LunoGen reads this value per product to decide when to send reorder alerts.

WooCommerce use cases

6 total

Related integrations

Ready to connect WooCommerce?

Spin up an AI agent in under 2 minutes, plug in your WooCommerce credentials, and start running your workflows from WhatsApp.