Pricing
News
Blog
Docs
  • EU-based company
  • Encrypted in transit
  • Data deletion on request
  • Real human support

Footer

CapterraG2
Breezaro on SaasHubBreezaro on SaasHub

Product

  • Pricing
  • Blog

Company

  • Contact

Legal information

  • Terms of service
  • Privacy policy
  • Data processing agreement
  • Cookies
  • Withdraw from contract

© 2026 Breezaro s.r.o. · All rights reserved

← Back to blog

How to connect a chatbot to WooCommerce orders

Tutorials4 min readPublished July 25, 2026

Let the chatbot answer "where is my order?" straight from your WooCommerce. Step by step with custom actions, plus an ownership check so a customer only ever sees their own order.

A regular chatbot answers questions about shipping, returns or product specs, because all of that lives in your content. It cannot answer "where is my order number 1042?" though, that information is nowhere on your website. It lives in your WooCommerce and changes by the hour.

Custom actions (beta) close that gap. They connect the assistant to the WooCommerce REST API, so it fetches the order status live and answers on its own, no operator and no plugin. This guide walks you through the setup.

What you will need

  • The Pro plan or higher (works during the trial too). Custom actions are a beta feature available from Pro.
  • A WooCommerce store with access to the WordPress admin.
  • A few minutes. A ready-made template does most of the work for you.

Step 1: Generate WooCommerce REST API keys

WooCommerce has a built-in REST API, you just create an access key. In the WordPress admin go to WooCommerce → Settings → Advanced → REST API and choose Add key.

  • Description: so you know what the key is for, for example "Breezaro chatbot".
  • User: an account allowed to see orders.
  • Permissions: Read is enough. The assistant never writes anything, so do not give it more.

After saving, WooCommerce shows a Consumer key and a Consumer secret. They appear only once, so copy them right away. For details on authentication see the official WooCommerce REST API documentation.

Step 2: Create the action from the template in Breezaro

In the dashboard open Custom actions and pick the Order status (WooCommerce) template from the gallery. The template prefills almost everything:

  • Method and URL. GET https://your-shop.com/wp-json/wc/v3/orders/{{orderNumber}}, you only replace your-shop.com with your domain.
  • Inputs. orderNumber and email. The assistant asks the customer for them on its own.
  • Field selection. Only useful fields from the WooCommerce response reach the assistant (status, date, items, total, currency), not the whole technical object.

What is left is the authentication: put the Consumer key and Consumer secret from step one into a secret header. Breezaro stores them encrypted and never shows them again after saving. The steps are described right next to the template.

The custom action editor in Breezaro with the WooCommerce template prefilled
The action editor with the WooCommerce template prefilled and the secret-key field.

Step 3: Turn on the ownership check

This is the most important step, do not skip it. Without it, anyone who guesses an order number would see someone else's data.

The template has the check set up already: the customer's email must match the order's billing email. So the assistant asks for the email first, and if it does not match the order, it behaves as if the order did not exist. The customer cannot tell the difference between "wrong number" and "someone else's order", and guessing is throttled on top of that.

If you pass the order number and email straight to a different endpoint that filters on its own, test the action once with a deliberately wrong email. If the order comes back anyway, the endpoint is not filtering by it, and you should definitely keep the ownership check in Breezaro turned on.

Step 4: Test and enable

The editor has a test step. Enter a real order number and the matching email and run the test. You will see exactly the response the assistant would get, plus the result of the check. An action can only be enabled after a passing test, so a misconfigured endpoint never reaches customers.

The custom action test step with a passing ownership check
The test step with a sample response and a passing ownership check.

Once the test passes, enable the action. From then on, whenever a customer asks about an order, the assistant calls WooCommerce and answers with the current status.

About security

Custom actions are designed so a misconfigured action cannot do harm:

  • Read only, HTTPS only. Only GET and POST requests to public addresses are allowed; an action cannot reach your internal network.
  • Keys are encrypted and never shown again after saving, not even to your team.
  • The ownership check makes sure a customer only sees their own order.
  • Field selection sends the assistant only what it needs, not the whole record.
  • The assistant may call at most two actions per reply, and calls are rate limited, so they cannot be abused to hammer your store.

What a reply with an action costs

Every action call is billed as one extra reply at your model's credit rate. So an order-status question where the assistant calls WooCommerce costs twice a normal reply: 2 credits on a 1-credit model, 6 credits on a 3-credit model. When the customer asks about something else and no action is called, you pay nothing extra.

What's next

You connect any other system with an HTTP API the same way, custom actions are not tied to WooCommerce. For the full set of options see the custom actions documentation.

Custom actions are still in beta. If you want to try them, get in touch and we will enable them for you.

Related articles

Guides4 min read

Custom actions: connect your chatbot to your own systems

Custom actions let the assistant fetch live data from your systems and answer questions that static content cannot. An overview of what you can connect, plus what to watch out for.

July 25, 2026
Use cases2 min read

AI chatbot for WooCommerce / WordPress, how to set it up (2026)

How to put an AI chatbot on a WooCommerce store (WordPress) that answers customers from your website and products. Via crawl or a product feed, no native plugin.

June 25, 2026
Guides4 min read

AI chatbot for WhatsApp, which to pick and how to connect it (2026)

AI chatbot for WhatsApp, what unlocks AI replies in each tool and how to connect your bot through Meta's official flow, with no code. On Breezaro it answers from the same knowledge base as your website widget, a human can take over, and it is included from the Standard plan and the trial. Current as of 17 July 2026.

July 16, 2026