IntegrationsWooCommerce

WooCommerce

Connect your WooCommerce store so the AI agent can answer order questions and recommend products.

Connecting WooCommerce gives the AI agent and your team your store's orders and products. The AI agent can tell a customer where their order is and recommend products from your live catalog. If your store runs WooCommerce Subscriptions, it can look up and cancel subscriptions too.

Setup has two parts: connect the store from Octocom, then add the Octocom chat to your site.

What connecting WooCommerce gives you

  • Orders. A new connection installs editable order lookup actions (by order number and by email) and an Orders sidebar widget, so the AI agent and your team see a customer's orders in the conversation. See Order tracking.
  • Products. Your catalog syncs automatically. See Product catalog.
  • Subscriptions. If your store has the WooCommerce Subscriptions API, Octocom also installs subscription lookup and cancellation actions and a Subscriptions sidebar widget.
  • The WooCommerce REST API in your automations. Your Python actions can call the store with the connection's API keys, so anything the WooCommerce API supports can become an action. See For developers and AI agents.

1. Connect your store

You need an administrator account on your WordPress site, because you approve the connection in your WooCommerce admin.

Enter your store address

In Octocom, open Settings -> Workspace -> Integrations -> WooCommerce. Under Connect your store, enter your store address (for example https://my-store.com) and select Connect store. During first-time onboarding, the Connect your WooCommerce store page does the same.

Approve access in WooCommerce

WooCommerce opens in a new tab. Sign in as an administrator if asked, and approve Octocom's request for read and write access to your store's REST API. The approval link is valid for 15 minutes; if it expires, start again from Octocom.

Check the connection

The WooCommerce window in Octocom shows Connected to your store's address. The product sync starts right away.

Connecting again (for example to replace the API keys) keeps your existing actions, widgets and web chat deployment settings.

2. Add web chat to your store

Add your organization's Octocom script to your WordPress site, then turn on deployment for your store's domain.

  1. In Octocom, select the right organization and business, open Settings -> Channels -> Web Chat -> Deployment and choose Copy script. Keep both id="octocom-script" and data-organization-id in the copied tag.
  2. Add the complete tag once to your site's <head>, so it loads on every page. Use the method you already use for header code, for example your theme's header template in a child theme (so theme updates keep it) or a header-code plugin.
  3. Back in Deployment, find your store's domain. Octocom added it, turned off, when you connected the store. Turn on Enable Deployment and save. Enter only the hostname, without https:// or a path.
  4. Clear any page or CDN cache on your site, then open your store in a private browser window and confirm the chat launcher appears.

See Launch the chat widget for page rules and troubleshooting.

The Octocom WordPress plugin

The Octocom plugin for WordPress adds an Octocom menu to your WordPress admin with an Open Octocom Dashboard button, and adds an Octocom chat script to your storefront. You can install it from the WooCommerce Marketplace or upload it manually.

Chat comes from your organization's script

The plugin's built-in chat script doesn't include your organization ID, so it only shows chat on stores that were already approved for it. For every other store, add your organization's script as described in Add web chat to your store, then deactivate the plugin so each page loads a single Octocom script.

Install from the WooCommerce Marketplace

  1. In your WordPress admin, open WooCommerce -> Extensions.
  2. Search for Octocom, then select Octocom AI Agent to open its page in the WooCommerce Marketplace.
  3. Click Add to cart.
  4. Make sure you are logged in to your WooCommerce Marketplace account, then check out.
  5. On the order confirmation page, click Add to Site.
  6. If your WooCommerce Marketplace account isn't connected to your site, paste your store URL. If it is, select your site from the list. Then click Add to Site.
  7. Back in your WordPress admin, select Octocom in the left-side menu and click Open Octocom Dashboard.

The Octocom page in the WordPress admin

Then connect your store in Octocom as described in Connect your store.

Upload the plugin manually

Use this when the WooCommerce Marketplace doesn't suit your setup.

  1. Download the Octocom WordPress plugin (.zip file).

  2. In your WordPress admin, go to Plugins -> Add New Plugin.

    The Plugins menu in the WordPress admin with Add New Plugin

  3. Click Upload Plugin at the top of the page.

    The Upload Plugin button on the Add Plugins page

  4. Click Choose File and select the .zip file you downloaded.

    Choosing the plugin .zip file to upload

  5. Click Install Now.

    The Install Now button after choosing the file

  6. When the installation completes, click Activate Plugin. The plugin now appears in your installed plugins list.

    The Activate Plugin button after installation

  7. In the WordPress sidebar, select Octocom and click Open Octocom Dashboard. Sign in to Octocom, then connect your store as described in Connect your store.

Don't have an Octocom account yet? Request access. Octocom sets up your account, and a solution engineer can help you through the setup.

For developers and AI agents

Describe what you need to Copilot or your own agent through Octocom MCP, and it builds and tests the action for you.

On this page