Skip to content
WooCommerce

How to use WooCommerce

CommerceCost: 1 credit per runTechnical reference

What it is for

E-commerce platform built on WordPress

WooCommerce triggers react instantly to events in the app.

Set up the connection

Authentication type: Custom credentials

  1. 1Sign in to WooCommerce and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a WooCommerce step, click "Connect" and paste it into: Base URL, Consumer Key, Consumer Secret.
  4. 4Save the connection: it is stored encrypted and is never shown in plain text.
Connection fieldTypeRequired
Base URLTextYes
Consumer KeyTextYes
Consumer SecretSecret keyYes

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Create Customer: fill in Email; use the data selector to map values from earlier steps.
  • Create Coupon: fill in Coupon Code, Discount Type, Amount; use the data selector to map values from earlier steps.
  • Create Product: fill in Name, Product Type; use the data selector to map values from earlier steps.

Tips

  • •Test each step before publishing to see the exact output structure.
  • •Enable retries on steps that call external services.

Triggers (12)

Events that can start a flow. Expand each one to see its fields.

Product CreatedWebhook (paste the URL in the app)0 fields

No fields to configure.

Product UpdatedWebhook (paste the URL in the app)0 fields

No fields to configure.

Product DeletedWebhook (paste the URL in the app)0 fields

No fields to configure.

Order CreatedWebhook (paste the URL in the app)0 fields

No fields to configure.

Order UpdatedWebhook (paste the URL in the app)0 fields

No fields to configure.

Order DeletedWebhook (paste the URL in the app)0 fields

No fields to configure.

Coupon CreatedWebhook (paste the URL in the app)0 fields

No fields to configure.

Coupon UpdatedWebhook (paste the URL in the app)0 fields

No fields to configure.

Coupon DeletedWebhook (paste the URL in the app)0 fields

No fields to configure.

Customer CreatedWebhook (paste the URL in the app)0 fields

No fields to configure.

Customer UpdatedWebhook (paste the URL in the app)0 fields

No fields to configure.

Customer DeletedWebhook (paste the URL in the app)0 fields

No fields to configure.

Actions (16)

Operations available as flow steps. Expand each one to see its fields.

Create Customer11 fields
FieldTypeRequired
EmailTextYes
First NameTextNo
Last NameTextNo
UsernameTextNo
PasswordTextNo
Street AddressTextNo
CityTextNo
StateTextNo
PostcodeTextNo
CountryTextNo
PhoneTextNo
Create Coupon4 fields
FieldTypeRequired
Coupon CodeTextYes
Discount TypeFixed listYes
AmountNumberYes
Minimum SpendNumberNo
Create Product7 fields
FieldTypeRequired
NameTextYes
Product TypeFixed listYes
Regular PriceNumberNo
DescriptionLong textNo
Short DescriptionLong textNo
Category IDsTextNo
Image URLsLong textNo
Find Customer1 fields
FieldTypeRequired
EmailTextYes
Find Product1 fields
FieldTypeRequired
Product IDTextYes
Find Coupon1 fields
FieldTypeRequired
Coupon IDTextYes
Get Customer1 fields
FieldTypeRequired
Customer IDTextYes
Update Customer8 fields
FieldTypeRequired
Customer IDTextYes
EmailTextNo
First NameTextNo
Last NameTextNo
Billing CityTextNo
Billing PostcodeTextNo
Billing CountryTextNo
Billing PhoneTextNo
Update Product7 fields
FieldTypeRequired
Product IDTextYes
NameTextNo
Regular PriceNumberNo
Sale PriceNumberNo
Stock QuantityNumberNo
StatusFixed listNo
DescriptionLong textNo
Update Coupon7 fields
FieldTypeRequired
Coupon IDTextYes
AmountNumberNo
Discount TypeFixed listNo
Minimum SpendNumberNo
Usage LimitNumberNo
Expiry DateDate and timeNo
DescriptionLong textNo
Get Order1 fields
FieldTypeRequired
Order IDTextYes
Find Orders4 fields
FieldTypeRequired
StatusFixed listNo
Customer IDTextNo
Created AfterDate and timeNo
Max ResultsNumberNo
Create Order6 fields
FieldTypeRequired
Line ItemsList of valuesYes
Customer IDTextNo
StatusFixed listNo
Billing EmailTextNo
Payment Method IDTextNo
Payment Method TitleTextNo
Update Order4 fields
FieldTypeRequired
Order IDTextYes
StatusFixed listNo
Customer NoteLong textNo
Transaction IDTextNo
Add Order Note3 fields
FieldTypeRequired
Order IDTextYes
NoteLong textYes
Visible to CustomerYes / NoNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

Authentication error

The connection expired or the key was revoked: reconnect it from Connections.

Field not found or empty

Re-test the previous step and remap the field in the data selector.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps