Share via


WooCommerce

WooCommerce is a free, open-source commerce platform for WordPress. It empowers anyone, anywhere, to sell anything – with unlimited extensibility, flexibility, and control.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions
Power Automate Premium All Power Automate regions
Power Apps Premium All Power Apps regions
Contact
Name Reenhanced Team
URL https://reenhanced.com/contact
Email support@reenhanced.com
Connector Metadata
Publisher Reenhanced, LLC
Website https://www.reenhanced.com/
Privacy Policy https://reenhanced.com/privacy/
Categories Commerce

WooCommerce is a free, open-source commerce platform for WordPress. It empowers anyone, anywhere, to sell anything – with unlimited extensibility, flexibility, and control. Using this connector you can access built-in resources for WooCommerce and if enabled, Subscription and Coupon resources. You can easily extend the WordPress plugin to support your own resources, even fully customized resources.

Prerequisites

In order to use this plugin, you must have the following:

  • An active WooCommerce installation
  • Purchase and install the Power Automate for WooCommerce plugin
  • REST API Credentials created in WooCommerce

How to get credentials

To generate REST API credentials you'll need to access this application, go to WooCommerce > Settings > Advanced > REST API and press the "Add Key" button. From here, you can generate an API key that will be used for your connection.

Get started with your connector

After you've installed the plugin a new navigation item labeled "Power Automate" will appear as a sub-menu item under the "WooCommerce" top navigation item. This area will show you a log of all interactions from Power Automate, providing you with fully bi-directional auditing of requests and responses sent when your flows run.

Each request contains the full details sent or received from Power Automate so you will always know exactly how your store has interacted with Power Automate. The request log captures all Power Automate traffic for the last 30 days by default.

Each trigger that you create is stored as a WooCommerce webhook, visible under WooCommerce > Settings > Advanced > Webhooks. Don't disable these webhooks or your flows will not run.

Every action and trigger is dynamic. Your store provides information about what resources are available and what parameters are sent and received for each action and trigger. Developers can extend this system through custom plugins that provide additional functionality.

Known issues and limitations

In some cases we have observed that when a flow is deleted or disabled, the associated webhook is not removed from the WooCommerce store. These expired webhooks will not cause any issues and can be manually removed.

Common errors and remedies

If your flow is not triggering, check the Webhooks section under advanced settings to make sure your webhooks are not disabled.

If you disable the plugin, all of the webhooks are removed. You will need to re-enable the plugin and then save each flow with a WooCommerce trigger to recreate each webhook. You probably don't want to disable the plugin.

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
Specify the WordPress Site URL. (Find in Settings > General) string Specify the WordPress Site URL. (Find in Settings > General) True
Consumer Key securestring Enter REST API Consumer Key (WooCommerce > Settings > Advanced > REST API) True
Consumer Secret securestring Enter REST API Consumer Secret (WooCommerce > Settings > Advanced > REST API) True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Create a new item of the specified type

Creates an item using specified parameters

Delete an item of the specified type

Deletes an item of the specified type and id

Find a list of the selected item type

Gets a list of items of the selected type from the store

Get a single item of the selected type

Fetchs an item of the selected type from the store

Perform a batch operation

Completes an operation on a number of WooCommerce items

Update an item of the specified type

Updates an item using specified parameters

Create a new item of the specified type

Creates an item using specified parameters

Parameters

Name Key Required Type Description
Resource Type
resource True string

Specify the type of resource to work with

body
body

Returns

Delete an item of the specified type

Deletes an item of the specified type and id

Parameters

Name Key Required Type Description
Resource Type
resource True string

Specify the type of resource to work with

Resource ID
id True number

The ID of the resource

Force deletion?
force True boolean

Set to TRUE if the record should be forced to be removed.

Returns

response
object

Find a list of the selected item type

Gets a list of items of the selected type from the store

Parameters

Name Key Required Type Description
Resource Type
resource True string

Specify the type of resource to work with

body
body

Returns

Name Path Type Description
array of

Get a single item of the selected type

Fetchs an item of the selected type from the store

Parameters

Name Key Required Type Description
Resource Type
resource True string

Specify the type of resource the Resource ID refers to

Resource ID
id True number

Specify the ID of the resource you wish to get

Returns

Perform a batch operation

Completes an operation on a number of WooCommerce items

Parameters

Name Key Required Type Description
Resource Type
resource True string

Specify the type of resource to work with

body
body

Returns

Update an item of the specified type

Updates an item using specified parameters

Parameters

Name Key Required Type Description
Resource ID
id True number

The ID of the resource

Resource Type
resource True string

Specify the type of resource to work with

body
body

Returns

Triggers

When a WooCommerce event happens

Select events across Coupons, Customers, Orders, Order Notes, Products, Subscriptions and more

When a WooCommerce event happens

Select events across Coupons, Customers, Orders, Order Notes, Products, Subscriptions and more

Parameters

Name Key Required Type Description
Resource Type
webhook_resource_schema True string

Specify the type of resource to work with

Trigger Event
topic True string

Returns

response
object

Definitions

object

This is the type 'object'.