> For the complete documentation index, see [llms.txt](https://docs.eesel.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eesel.ai/integrations/e-commerce/woocommerce.md).

# WooCommerce

Set up an AI agent for WooCommerce that looks up orders, customers, products and subscriptions, answers shoppers in your chat bubble and helpdesk, and handles refunds, status changes and order notes.

eesel's AI agent for WooCommerce looks up orders, customers, products and subscriptions in your store and acts on them while it answers shoppers in your [chat bubble](https://docs.eesel.ai/integrations/chat-surfaces/chat-bubble.md), your helpdesk (such as [Gorgias](https://docs.eesel.ai/integrations/helpdesks/gorgias.md)) and [Slack](https://docs.eesel.ai/integrations/communication/slack.md).

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-b7193d5ea563fe12c9f2ff5b7ad7d3338e18683b%2Fwoocommerce-hero.png?alt=media" alt="A WooCommerce coffee storefront with the eesel chat bubble open, where the agent recommends three coffees as product cards with prices after looking up products and checking stock"><figcaption><p>The agent answering on a WooCommerce store, showing products as cards.</p></figcaption></figure>

{% hint style="info" %}
**From Claude Code, Cursor or a terminal.** `eesel login`, then `eesel integrations connect woocommerce` prints the connect link for a person to open, and `eesel status` shows the connection. Full command reference: [The eesel CLI](https://docs.eesel.ai/apis-and-developer-resources/cli.md). Step-by-step: [Set up from Claude Code or the terminal](https://docs.eesel.ai/getting-started/set-up-from-a-coding-agent.md). From an MCP client: [Claude Code and MCP clients](https://docs.eesel.ai/apis-and-developer-resources/claude-code-and-mcp-clients.md).
{% endhint %}

## What your agent sees

WooCommerce never starts a run, so nothing from your store is in front of your agent when a conversation begins. It has the conversation that woke it (a chat, a ticket or a Slack message) and reads your store from there.

* **The order, when it looks one up.** Status, line items, totals, billing and shipping address, payment method and date paid, and the order's custom fields, which is where a shipping plugin keeps its tracking number. A customer's email and phone are on the billing address.
* **Order notes.** What the store, its plugins and your team recorded on the order, newest first, each marked as sent to the customer or private.
* **Orders by customer.** Order lists come back newest first, 10 at a time by default and up to 100 per page, and it can page back through older ones or narrow by status or date. There is no cut-off on how far back it can read.
* **The customer account.** Name, email, and the one billing and one shipping address WooCommerce saves on the account.
* **Products and stock.** Price, SKU, status and stock, with stock for each variation of a variable product.
* **Subscriptions**, on stores running the WooCommerce Subscriptions extension: status, billing schedule, next payment date, items and totals.
* **What it does not see.** Payment tokens, shopper IP addresses, browser details and ad click ids are withheld from every read. WooCommerce itself records no delivery confirmation, so your agent sees a status and maybe a tracking number, not whether the parcel arrived.

### Sources

Sources are what your agent learns from in your store ahead of time. eesel copies them when you connect, so your agent can find a record even when nobody gave it an order number or email. Before it quotes or acts on an order, it reads it live.

| Source        | Description                                                     | Requires                      |
| ------------- | --------------------------------------------------------------- | ----------------------------- |
| **Products**  | Your published products, with SKUs, pricing, stock and variants | Any REST API key              |
| **Orders**    | Orders changed in the last 90 days                              | A key that can read orders    |
| **Customers** | Customer accounts registered in the last 90 days                | A key that can read customers |

Each source holds up to 25,000 records. Orders and Customers only appear when the key can read them. Switch any source off on **Integrations > WooCommerce** if this agent shouldn't learn from it. Written content such as your shipping or returns policy is not in WooCommerce, so connect your [website](https://docs.eesel.ai/integrations/knowledge/website.md) as well.

## What it can do

### Triggers

WooCommerce has no triggers. Nothing in your store starts an agent run. The conversation comes from the [chat bubble](https://docs.eesel.ai/integrations/chat-surfaces/chat-bubble.md), your helpdesk or [Slack](https://docs.eesel.ai/integrations/communication/slack.md), and your agent uses its WooCommerce actions while it handles it.

### Actions

Actions are what your agent can do in your store. They are listed on **Integrations > WooCommerce** in two groups, Read and Write.

|           | Action                          | What it does                                                                                          |
| --------- | ------------------------------- | ----------------------------------------------------------------------------------------------------- |
| **Read**  | Look up orders                  | Lists orders by customer email, status, date or a search term, or reads one in full                   |
|           | Read order notes                | Reads the notes on an order, including tracking numbers that shipping plugins record there            |
|           | Look up customers               | Finds a customer by email or name and reads their saved addresses                                     |
|           | Look up products and categories | Lists and reads products, their variations and stock, and product categories                          |
|           | Look up subscriptions           | Lists and reads subscriptions, with the WooCommerce Subscriptions extension                           |
| **Write** | Add order note                  | Adds a private or customer-facing note to an order                                                    |
|           | Update order status             | Moves an order to another status. This is also how an order is cancelled                              |
|           | Create refund                   | Refunds an order, either through the payment gateway or recorded in WooCommerce only                  |
|           | Update customer address         | Changes the billing or shipping address saved on a customer's account                                 |
|           | Update subscription             | Pauses, resumes or cancels a subscription, moves its next payment date or changes how often it renews |
|           | Create order, create customer   | Creates a new order or customer                                                                       |
|           | Update products and categories  | Creates or updates products, and creates, renames or deletes categories                               |
|           | Delete order                    | Deletes an order                                                                                      |

You stay in control the whole way. Adjust your AI agent's access to knowledge and its action permissions to your liking. See [Actions and Approvals](https://docs.eesel.ai/instructions-and-memory/actions-and-approvals.md).

## Connect with the WordPress plugin

There are two ways to connect your store, and both end in the same connection:

* **The eesel AI plugin for WordPress.** Install it, sign in to eesel, and approve on WooCommerce's own screen. No API keys to create or copy. See [Connect with the WordPress plugin](#connect-with-the-wordpress-plugin).
* **A WooCommerce REST API key.** Create a key in your WordPress admin and paste it into eesel. See [Set up eesel in WooCommerce](#set-up-eesel-in-woocommerce).

The free **eesel AI** plugin is in the WordPress plugin directory at [wordpress.org/plugins/eesel-ai](https://wordpress.org/plugins/eesel-ai/).

**Before you begin**

* An **administrator** account on your WordPress site, with WooCommerce 7.0 or later.
* **Pretty permalinks** are on. In **Settings > Permalinks**, pick any option except **Plain**.

**Steps**

1. In your WordPress admin, open **Plugins > Add New Plugin**, search for **eesel AI**, then click **Install Now** and **Activate**.
2. Open **eesel AI** in the left sidebar and click **Connect eesel**.
3. Sign in to eesel and pick the agent that should work with this store.
4. WooCommerce shows its own approval screen. Click **Approve**. WooCommerce sends the store's access straight to eesel, so the plugin never sees your keys.
5. You land back on the **eesel AI** page in WordPress, which reads **Your store is connected.**

If pretty permalinks are off, the **eesel AI** page says so. Turn them on, then click **Connect your store** to try again.

The plugin connects your store. It doesn't add the chat bubble to your storefront. To do that, follow **Put it on your storefront** below.

## Set up eesel in WooCommerce

These steps connect your store from the eesel dashboard with a REST API key. If you connected with the WordPress plugin, skip ahead to **Confirm the connection**.

{% hint style="info" %}
WooCommerce is in **Integrations** on workspaces created since August 2026. On an older workspace that doesn't list it, connect with the [WordPress plugin](#connect-with-the-wordpress-plugin) instead, or contact us and we'll switch it on.
{% endhint %}

{% stepper %}
{% step %}

### Ask your agent to connect WooCommerce

Open the chat in your dashboard and ask it to connect WooCommerce with API keys. It posts a link to connect your store. Prefer to click? Open the WooCommerce page under **Integrations**, pick **API keys** and click **Connect with API keys**.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-98f21fd5e1fa77bd3a462fca2407c54da42ec4d9%2Fwoocommerce-connect-chat.png?alt=media" alt="The dashboard chat where the user asks to connect WooCommerce and the agent posts a Connect WooCommerce link"><figcaption><p>The agent posts the link to connect your store.</p></figcaption></figure>

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-30a4e982fc0f0aef56f9ee2ce0ba98c49044bb3c%2Fwoocommerce-integration-about.png?alt=media" alt="The WooCommerce page under Integrations in eesel, with a Connect button and a short description of how it works"><figcaption><p>The WooCommerce page under Integrations, before connecting.</p></figcaption></figure>
{% endstep %}

{% step %}

### Create a REST API key in WooCommerce

The connection needs a consumer key and secret. In your WordPress admin open **WooCommerce > Settings > Advanced > REST API**, click **Add key**, set **Permissions** to **Read/Write**, and click **Generate API key**. Copy both values before you leave the page.

A person signs in and does this in the WordPress admin. Every screen is on [Set up WooCommerce](https://docs.eesel.ai/integrations/e-commerce/woocommerce/woocommerce-setup.md).
{% endstep %}

{% step %}

### Paste the key into the connection window

Open the connect link. The connection window asks for the **Key**, the **Secret** and your store **Domain**. Paste them in and click **Continue**.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-6d71e1205efe9c8f9eec9c8ef5881fd548f6409a%2Fwoocommerce-pipedream-form.png?alt=media" alt="The connection window with masked Key and Secret fields and a Domain field"><figcaption><p>The connection window, with the key and secret masked.</p></figcaption></figure>

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-3fe738bcdead9414a97de47c529e843081edf0c9%2Fwoocommerce-pipedream-connected.png?alt=media" alt="The connection window saying Successfully connected your WooCommerce account"><figcaption><p>The store is connected.</p></figcaption></figure>
{% endstep %}

{% step %}

### Confirm the connection

Back in the chat, your agent confirms the store is connected and suggests a first thing to try, such as looking up an order.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-6ed02145462948c2782002abd28cd8fd6758f044%2Fwoocommerce-connected-chat.png?alt=media" alt="The dashboard chat confirming WooCommerce is connected, noting that nothing changed in the store, and suggesting order lookups to try"><figcaption><p>The chat confirming the store is connected.</p></figcaption></figure>

**Check it worked.** **Integrations > WooCommerce** reads **Connected**, lists **Products**, **Orders** and **Customers** under **Sources**, and splits the actions into **Read** and **Write** groups. From a terminal, `eesel status` lists WooCommerce as connected.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-496c07ab6cc2cab896a0d675f537715aebf47c3b%2Fwoocommerce-integration-page.png?alt=media" alt="The connected WooCommerce integration page in eesel, with Products, Orders and Customers under Sources and the Read and Write action groups"><figcaption><p>The connected integration page, with its sources and actions.</p></figcaption></figure>
{% endstep %}

{% step %}

### Ask about your store

Ask in the chat about your orders. Your agent reads the store and answers with real data. Here it groups recent orders by status and flags two that need attention.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-2afdfbdd2e7b33bc2bfbfe42c8d60e9001af9532%2Fwoocommerce-orders-chat.png?alt=media" alt="The dashboard chat answering a request for recent WooCommerce orders with tables of pending and processing orders"><figcaption><p>Recent orders, grouped by status.</p></figcaption></figure>

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-0181e5407b1d03b089898a72b0ea44eb7058abe1%2Fwoocommerce-orders-chat-flagged.png?alt=media" alt="The same answer scrolled down, listing on-hold, completed, cancelled and refunded orders and flagging an order that has been on hold for a month"><figcaption><p>The rest of the answer, with two orders flagged.</p></figcaption></figure>
{% endstep %}

{% step %}

### Act on an order from Slack

With [Slack](https://docs.eesel.ai/integrations/communication/slack.md) connected, a teammate can mention `@eesel` in a channel and ask it to act on an order. When an action needs your OK, eesel posts an approval card straight into the thread, with **Approve**, **Deny** and **Review in eesel** buttons.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-1521b213c6109d42f566742c7795e65ff8f7d3f3%2Fwoocommerce-slack-approval.png?alt=media" alt="A Slack thread where a teammate asks eesel to add a private note to order 84, and eesel replies with an approval card showing the action, the note and Approve, Deny and Review in eesel buttons"><figcaption><p>An order note waiting for approval in the Slack thread.</p></figcaption></figure>

Approve it, and the agent adds the note and confirms in the thread.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-bc7afc2f951893d62b9051e708bfe2429e2c2af8%2Fwoocommerce-slack-done.png?alt=media" alt="The same Slack thread after approval, with eesel confirming the private note was added to order 84 and is visible to the team only"><figcaption><p>The note added, confirmed in the thread.</p></figcaption></figure>

The note appears on the order in WooCommerce as a private note, so the customer does not see it.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-224259423c697432913f4a70e6176e4cc9abe52b%2Fwoocommerce-order-note.png?alt=media" alt="Order 84 in the WooCommerce admin with the new private note highlighted in the Order notes panel"><figcaption><p>The note on the order in WooCommerce.</p></figcaption></figure>
{% endstep %}

{% step %}

### Put it on your storefront

The [chat bubble](https://docs.eesel.ai/integrations/chat-surfaces/chat-bubble.md) puts your agent in front of shoppers on your store. Ask in the dashboard chat to add a chat bubble for your store. Your agent sets it up with your store's colours, a welcome message and starter questions. Then paste the snippet from your Chat Bubble page into your site, just before the closing `</body>` tag. The [Chat Bubble](https://docs.eesel.ai/integrations/chat-surfaces/chat-bubble.md) page has the install steps.

On your store, your agent shows products as cards. A shopper can add a product to the cart from its card and see their cart in the chat. A product with options to pick, such as a size, links to its product page instead.
{% endstep %}

{% step %}

### Hand a shopper to your team

When a shopper asks for a person, your agent can take their details and open a ticket in your helpdesk. Tell it how in the dashboard chat, for example: "When a shopper asks to speak to a person, ask for their name and email, create a Gorgias ticket with a summary of the chat, tag it chat-bubble-handover, and tell them our team will follow up."

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-9754185c5050cbb9cd4738e26acd5a9806846e07%2Fwoocommerce-handover-chat.png?alt=media" alt="The dashboard chat where the user sets up a chat bubble handover and the agent confirms it saved the rule to its instructions"><figcaption><p>The handover rule, set up in chat.</p></figcaption></figure>

It saves the rule to its [Instructions](https://docs.eesel.ai/instructions-and-memory/instructions-and-memory.md).

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-379b2ac5f6747c3a428cc99baa8cfc45eec7766b%2Fwoocommerce-handover-instructions.png?alt=media" alt="The Instructions page in eesel showing a Chat bubble handover section, with the setup chat open beside it"><figcaption><p>The saved handover rule on the Instructions page.</p></figcaption></figure>

On the storefront, a shopper reports a problem and asks for a person. Your agent asks for their name and email.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-9f4f23db254db8b1aea0672fb39690343466ff57%2Fwoocommerce-bubble-handover-ask.png?alt=media" alt="The chat bubble on a WooCommerce store where a shopper says order 84 arrived damaged and asks for a real person, and the agent asks for their name and email"><figcaption><p>The agent taking the handover and asking for contact details.</p></figcaption></figure>

The shopper gives them, and the agent opens the ticket.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-6f6c37f21489bc98d688e8b847ad7021eae31d61%2Fwoocommerce-bubble-handover-done.png?alt=media" alt="The same chat after the shopper gives their name and email, with the agent confirming the case has gone to the team"><figcaption><p>The agent confirming the handover.</p></figcaption></figure>

The ticket lands in your helpdesk under the shopper's email, with a summary of the chat as the first message and the handover tag on it.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-a810148cb7067e08112a08e5c6ff507b11d98f56%2Fwoocommerce-handover-gorgias.png?alt=media" alt="A Gorgias ticket for order 84 with the chat-bubble-handover tag, the shopper&#x27;s email as the requester and a summary of the chat as the first message"><figcaption><p>The handover ticket in Gorgias, tagged.</p></figcaption></figure>

Whether a handover waits for your OK depends on the permissions you set for your helpdesk actions.
{% endstep %}
{% endstepper %}

## Things to know

* **No WooCommerce triggers.** Nothing in your store starts your agent. A chat, a helpdesk ticket or a Slack mention does.
* **Guest orders are found by search, not by customer.** An order placed without an account has no customer record, so your agent finds it by searching for the email on the order.
* **The order number can differ from the order id.** If a plugin renumbers your orders, your agent searches by the number the customer quotes to find the right order.
* **A refund may or may not move money.** Your agent either asks the payment gateway (such as Stripe or PayPal) to send the money back, or only records the refund in WooCommerce for someone to pay back by hand. The approval card shows which. Bank transfer, cheque and cash on delivery can only be recorded.
* **Cancelling is a status change, not a refund.** A completed or refunded order can't be cancelled; it needs a refund instead.
* **WooCommerce doesn't record delivery.** A "completed" order means the store marked it finished. Your agent shares a tracking number when your shipping plugin saved one, and won't tell a customer an order was delivered from the status alone.
* **Address changes touch the saved account address only.** They don't change the address on an order already placed.
* **Status changes and customer notes can email the customer.** Whether WooCommerce sends one depends on your store's email settings. Ask for a **private** note when it is only for your team.
* **Subscriptions need the WooCommerce Subscriptions extension.** Without it there are no subscription actions.
* **The copied orders and customers are a recent window.** Sources hold orders changed and customers registered in the last 90 days. Older records are still read live.
* **Product cards use your store's public Store API.** If a plugin or your host turns that off, product cards can't show in the chat bubble.

## Troubleshooting

<details>

<summary>The WordPress plugin won't connect your store</summary>

The store connection needs pretty permalinks, and the **eesel AI** page in WordPress says when they are off. Turn them on in **Settings > Permalinks** (any option except **Plain**), then click **Connect your store** again. If the eesel sign-in page shows you a code instead of sending you back to WordPress, paste it under **Have a code?** on the **eesel AI** page and click **Finish connecting**.

</details>

<details>

<summary>The connection fails, or the agent can't read the store</summary>

Check the consumer key and secret are pasted into the right fields, and that the domain has no path. See the troubleshooting notes on [Set up WooCommerce](https://docs.eesel.ai/integrations/e-commerce/woocommerce/woocommerce-setup.md).

If your store sits behind Cloudflare or a WAF, our request can be refused before it arrives, even though your store's API answers the open internet. See [Allowing eesel through your firewall](https://docs.eesel.ai/apis-and-developer-resources/allowing-eesel-through-your-firewall.md).

</details>

<details>

<summary>Lookups work, but notes, status changes or refunds fail</summary>

The REST API key has **Read** permission only. Change it to **Read/Write** in **WooCommerce > Settings > Advanced > REST API**.

</details>

<details>

<summary>Need to replace your store's API key?</summary>

Create a new key in **WooCommerce > Settings > Advanced > REST API**. Then open **Integrations > WooCommerce**, click the **...** menu and choose **Reconnect**. Paste the new key into the connection window. eesel keeps the same connection and reads your store again.

</details>

<details>

<summary>A write action did not happen</summary>

It may be waiting for your OK. Approve it in the dashboard or in the Slack thread, and it runs.

</details>

## FAQ

<details>

<summary>How do I add an AI agent to WooCommerce?</summary>

The quickest way is the free [eesel AI plugin](https://wordpress.org/plugins/eesel-ai/) from the WordPress plugin directory: install it, click **Connect eesel**, sign in and approve on WooCommerce's screen. See [Connect with the WordPress plugin](#connect-with-the-wordpress-plugin).

Or create a REST API key in your WordPress admin, then connect WooCommerce from the eesel dashboard chat or the **Integrations** page and paste the key in. The steps are in [Set up eesel in WooCommerce](#set-up-eesel-in-woocommerce), and every WooCommerce screen is on [Set up WooCommerce](https://docs.eesel.ai/integrations/e-commerce/woocommerce/woocommerce-setup.md).

</details>

<details>

<summary>What access does the eesel AI agent need in WooCommerce?</summary>

A WooCommerce REST API key with **Read/Write** permissions, created by an administrator. The WordPress plugin asks WooCommerce for this key for you when you approve on WooCommerce's screen. **Read** is enough for lookups only. Adding notes, changing a status, refunding or changing an address needs **Read/Write**, and each of those actions still follows the permission you set for it in eesel.

</details>

<details>

<summary>Can the AI agent answer order status questions on my WooCommerce store?</summary>

Yes. Add the [chat bubble](https://docs.eesel.ai/integrations/chat-surfaces/chat-bubble.md) to your store, and your agent looks up the order live and answers with its status and what was ordered. It can answer the same questions in your helpdesk and in Slack.

</details>

<details>

<summary>Can the WooCommerce AI agent hand a shopper to a person?</summary>

Yes. Tell it when to hand over in the dashboard chat, and it asks the shopper for their name and email, opens a ticket in your helpdesk with a summary of the chat, and tells them your team will follow up. See [Hand a shopper to your team](#hand-a-shopper-to-your-team).

</details>

<details>

<summary>Can the WooCommerce AI agent refund or cancel orders?</summary>

Yes, within the permissions you set. Your agent refunds through the payment gateway or records the refund in WooCommerce only, and the approval card shows which. It cancels an order by changing its status to cancelled.

</details>

<details>

<summary>Does the AI agent work with WooCommerce Subscriptions?</summary>

Yes, when your store runs the WooCommerce Subscriptions extension. Your agent can find a customer's subscriptions, pause or resume them, cancel them now or at the end of the paid period, move the next payment date, and change how often they renew.

</details>

<details>

<summary>Can I connect WooCommerce to Claude or ChatGPT?</summary>

Yes, through eesel. Once WooCommerce is connected, you can talk to your eesel agent from Claude, ChatGPT or Cursor, and it works with your store data. See [Use eesel from Claude and other assistants](https://docs.eesel.ai/apis-and-developer-resources/use-eesel-from-claude-and-other-assistants.md), [Use eesel from ChatGPT](https://docs.eesel.ai/apis-and-developer-resources/use-eesel-from-chatgpt.md) and [Claude Code and MCP clients](https://docs.eesel.ai/apis-and-developer-resources/claude-code-and-mcp-clients.md).

</details>

## Related pages

* [eesel AI on WordPress.org](https://wordpress.org/plugins/eesel-ai/) for the WordPress plugin
* [Set up WooCommerce](https://docs.eesel.ai/integrations/e-commerce/woocommerce/woocommerce-setup.md) for every screen of the WooCommerce admin setup
* [E-commerce Sales Rep](https://docs.eesel.ai/use-cases/e-commerce-sales-rep.md) for the job your agent does on a store
* [Chat Bubble](https://docs.eesel.ai/integrations/chat-surfaces/chat-bubble.md) for putting your agent on your storefront
* [Actions and Approvals](https://docs.eesel.ai/instructions-and-memory/actions-and-approvals.md) for choosing what your agent may do
* [Integrations overview](https://docs.eesel.ai/integrations/overview.md) for how sources, triggers and actions fit together


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eesel.ai/integrations/e-commerce/woocommerce.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
