Integrations / Commerce

WooCommerce

Look up orders, customers and products in a WooCommerce store, add order notes and update order status, and trigger workflows from order, customer, product and coupon events.

8 tools 12 trigger events

Tools

woocommerce.get_order

Get an order with its line items by numeric ID, e.g. 727.

id*

woocommerce.list_orders

List orders, newest first, filtered by status, customer, search text or date.

statuscustomersearchaftermodified_afterper_page

woocommerce.search_customers

Find registered customers by email or search text.

emailsearchper_page

woocommerce.list_products

Find products by SKU or search text.

skusearchper_page

woocommerce.add_order_note writes

Add a note to an order by numeric ID, e.g. 727, privately or visible to the customer.

id*note*customer_note

woocommerce.update_order_status writes

Change an order's status by numeric ID, e.g. 727.

id*status*

woocommerce.api_get

Send a GET request to any WooCommerce API path under https://{store}/wp-json/wc/v3 and return the response. For endpoints the named tools don't cover.

path*params

woocommerce.api_request writes

Send a POST, PUT, PATCH or DELETE request to any WooCommerce API path under https://{store}/wp-json/wc/v3.

method*path*paramsbody

Tick Allow raw writes on the connection to add api_request, which can send POST, PUT, PATCH and DELETE requests to any WooCommerce API path.

Connect

  1. In WordPress, go to WooCommerce → Settings → Advanced → REST API and click Add key. Pick a user who can manage the store, and choose Read permissions, or Read/Write if workflows add order notes or change order status.
  2. Copy the consumer key (ck_…) and consumer secret (cs_…), which WooCommerce shows only once, and paste them on the connection with the store's domain.
  3. The store must be served over HTTPS with pretty permalinks switched on (Settings → Permalinks), so that /wp-json/wc/v3 answers.
  4. To trigger workflows, go to WooCommerce → Settings → Advanced → Webhooks, add a webhook for each topic with the URL shown on the connection page, and paste its secret on the connection.

Credentials

Consumer key Consumer secret Webhook secret

WooCommerce API docs

Triggers

In WordPress, go to WooCommerce → Settings → Advanced → Webhooks, add a webhook with status Active, the topic you want and this URL as the delivery URL, and paste its Secret on this connection. WooCommerce's first unsigned ping is refused, so saving shows a response code 401 error, but the webhook stays active and real deliveries are signed.

Events

order.createdorder.updatedorder.deletedcustomer.createdcustomer.updatedcustomer.deletedproduct.createdproduct.updatedproduct.deletedcoupon.createdcoupon.updatedcoupon.deleted
trigger
kind: woocommerce connection: woocommerce events: [order.created] statuses: [...]

Your next automation is one sentence away.

14-day free trial with $5 of built-in AI included. Cancel anytime.