Search all guides

Reference · Tools

WooCommerce trigger

Starts workflow when WooCommerce store events occur (orders, products, customers, coupons)

Webhook trigger Sales v1

The WooCommerce Trigger fires on the store event topic you select — order.created, product.updated, customer and coupon events — sending the full resource data into the workflow. A typical build is starting fulfilment the moment an order is placed.

Works as
Webhook trigger
Tool name
woocommerce_trigger
Parameters
1
Outputs
Output
Credentials
WooCommerce API
Official docs
WooCommerce docs woocommerce.com

What you can build with WooCommerce

  • Trigger workflow when a new order is placed in WooCommerce.
  • React to product updates in your WooCommerce store.
  • Start a workflow when a new customer registers on your store.
  • When detect coupon creation or deletion in WooCommerce.

Overview

Receives webhook notifications from a WooCommerce store when events occur such as order creation, product updates, customer registration, and coupon changes. Verifies HMAC-SHA256 signatures to ensure payload authenticity. Outputs the full resource object sent by WooCommerce.

Node Type

Trigger — webhook (receives incoming HTTP callbacks)

Input / Output

DirectionPort(s)
InputNone (trigger node)
OutputOutput

Credentials

This tool requires WooCommerce API credentials. See the Credentials Guide for setup instructions.

Parameters

ParameterTypeRequiredDefaultDescription
EventoptionsYes—Determines which resource event the webhook is triggered for
Options: coupon.created, coupon.deleted, coupon.updated, customer.created, customer.deleted, customer.updated, order.created, order.deleted, order.updated, product.created, product.deleted, product.updated

Output Data

Each accepted delivery produces one output item containing the full WooCommerce resource (order, product, customer or coupon) with these fields added:

  • _trigger — always woocommerce_webhook
  • _timestamp — ISO 8601 timestamp of when the delivery was received
  • _webhookEvent — the WooCommerce topic that fired, e.g. order.created
  • _webhookResource — the resource part of the topic, e.g. order
  • _webhookId — the WooCommerce webhook ID that sent the delivery

Deliveries whose topic does not match the configured Event are acknowledged but do not start the workflow.

Reference the payload downstream by expression, e.g. {{ $json.billing.email }}.

Example Configuration

Start a workflow on every new order:

{
  "type": "woocommerce_trigger",
  "parameters": {
    "event": "order.created"
  }
}

React to product updates:

{
  "type": "woocommerce_trigger",
  "parameters": {
    "event": "product.updated"
  }
}

Welcome newly registered customers:

{
  "type": "woocommerce_trigger",
  "parameters": {
    "event": "customer.created"
  }
}

Trigger Behavior

  • Activation: When the workflow is activated, a webhook endpoint is registered with the service.
  • Deactivation: The webhook is automatically unregistered when the workflow is deactivated.
  • Payload: The incoming webhook payload is parsed and output as workflow items.
  • Verification: Supports signature verification where applicable.

Tips

This tool triggers a workflow when events occur in a WooCommerce store, such as new orders, product updates, or customer registrations. It is ideal for initiating processes based on specific changes within your WooCommerce environment, unlike tools that perform direct actions or retrieve data. The tool produces the full resource object from WooCommerce corresponding to the detected event.

Frequently asked questions

Are the webhooks verified?

Yes — deliveries are verified using HMAC-SHA256, so a forged request cannot start your workflow.

What does the workflow receive?

The full resource data for the event, so order or product details are available without a follow-up API call.

Which topics can I subscribe to?

WooCommerce's event topics covering orders, products, customers and coupons, selected when configuring the trigger.

Which credential does it need?

A WooCommerce API credential with consumer key and secret.

Build with WooCommerce

Drop it into a workflow, wire it to an agent, or call it on a schedule. You'll need WooCommerce API credentials first.

Open BusyBot

Last reviewed . Spotted something wrong? Tell us.