Workflows
Blocks
Integrations
WooCommerce

WooCommerce

The WooCommerce block connects your workflows to a WooCommerce store — read and update orders, manage products and customers, create coupons and refunds, add order notes, and pull sales reports.

Store Automation: Combine this action block with the WooCommerce Trigger — the trigger fires when something happens in your store, and this block reads or changes store data in response.

Key Features

  • Orders: List, fetch, create, update, and delete orders, plus order notes
  • Products: Full product CRUD with title, description, price, SKU, and status
  • Customers: Create, update, and look up customers
  • Coupons & Refunds: Create and manage discount coupons; issue refunds (optionally through the payment gateway)
  • Reports: Sales, top sellers, and totals reports by period or date range
  • Extra Fields: Pass any additional WooCommerce API field as JSON

Operations

Orders

OperationDescription
Get Orders / Get OrderList orders, or fetch one by ID
Create OrderCreate a new order
Update OrderChange an order (e.g. set status to processing or completed)
Delete OrderTrash an order, or delete permanently with force: true
Get Order Notes / Add Order NoteRead notes, or add one (optionally visible to the customer)

Products

OperationDescription
Get Products / Get ProductList products, or fetch one by ID
Create ProductAdd a product with title, description, price, and SKU
Update ProductChange a product (price, status, stock fields via Extra Fields)
Delete ProductTrash or permanently delete a product

Customers

OperationDescription
Get Customers / Get CustomerList customers, or fetch one by ID
Create CustomerAdd a customer with email, first name, and last name
Update CustomerChange customer details

Coupons & Refunds

OperationDescription
Get Coupons / Create Coupon / Update Coupon / Delete CouponManage discount coupons (code, discount type, amount, usage limit)
Get Refunds / Create RefundList refunds for an order, or issue one with amount, reason, and optional gateway refund

Store

OperationDescription
Get Shipping ZonesList the store's shipping zones
Get ReportsPull sales, top_sellers, or totals reports (orders/totals, products/totals, customers/totals, coupons/totals, reviews/totals) by period (week, month, last_month, year) or date range

Configuration

ParameterTypeRequiredDescription
CredentialsSelectYesYour saved WooCommerce connection
ActionSelectYesOne of the 24 operations above
Order / Product / Customer / Coupon IDTextPer operationThe target record's ID
Title / Description / Price / SKU / StatusTextFor products & ordersRecord fields — support {{variables}}
Customer Email / First Name / Last NameTextFor customersCustomer details
Code / Discount Type / Discount Amount / Usage LimitTextFor couponsCoupon settings
Refund Amount / Reason / API RefundTextFor refundsAPI Refund: true also refunds through the payment gateway
Report Type / Period / Date Min / Date MaxTextFor reportsWhat to report on and for when
Extra FieldsJSONNoAny additional fields merged into the request body (e.g. {"stock_quantity": 12})

Connecting your WooCommerce store

  1. In your WordPress admin, go to WooCommerce → Settings → Advanced → REST API.
  2. Click Add key, give it a description, choose a user, and set Permissions to Read/Write.
  3. Click Generate API key and copy the Consumer key (ck_...) and Consumer secret (cs_...) — the secret is shown only once.
  4. In Indite, add the WooCommerce block, click Connect new, and enter the Consumer Key, Consumer Secret, and your Site URL (e.g. https://shop.example.com).
⚠️

Your store must be served over HTTPS and have the WooCommerce REST API enabled (it is by default). If requests fail with 401 errors, re-check that the key has Read/Write permissions.


Output

The block returns the raw WooCommerce API response — an order, product, customer, or coupon object, or an array for list operations. Reference fields in later blocks with {{<blockId>.<field>}}.


Example: thank-you coupon after delivery

  1. WooCommerce Trigger — fires when an order status changes to completed.
  2. WooCommerce → Create Coupon — code THANKS-{{trigger.id}}, discount type percent, amount 10, usage limit 1.
  3. Send Email — send the customer their personal 10% coupon for the next purchase.
Indite Documentation v1.7.1
PrivacyTermsSupport