Prerequisites

1. Webhook Access

You need to have sufficient privileges in your WooCommerce account to be able to create and use webhooks. Please contact your WooCommerce admin or refer to this help article in case you’re not sure about your privileges.

2. Store URL

Your Store URL should start with ‘https’.

3. API Enabled

Make sure API is enabled for your Woocommerce account and while adding API key make sure you give Read/Write permission. Reference https://docs.woocommerce.com/document/woocommerce-rest-api/

4. Pretty Permalinks

Make sure the Pretty Permalinks feature is enabled under WordPress settings and the right credentials are entered.

5. WooCommerce Version

We only support version 2 of the WooCommerce Plugin.

6. Reporting

We’re not supporting Reports in WooCommerce at the moment.

WooCommerce is a powerful and highly customizable eCommerce platform built on top of WordPress. It offers all you need to create a store and sell online.


Connecting WooCommerce with Automate.io (if this is required)

Connecting your WooCommerce store to Automate.io needs your Consumer Key, Consumer Secret, and your Store URL.

In case you see an ‘Invalid Credentials’ error, please refer to this help article.


Triggers

⚡️ New Customer

Description: Triggers when a new customer profile is created in your WooCommerce store.

Data limits: We recommend importing a max of 100 customers at a time to prevent any chance of data loss.

Unsupported items: Custom fields. Please use Search Customer after the trigger to fetch the custom fields (if any).

⚡️ New Order

Description: Triggers when there is a new order in your WooCommerce store. Works regardless of order status. Works for up to 5 line items only.

Unsupported items: ‘Coupons’ field, order note, shipping method, inventory management, vendor-related output fields, line item metadata.

⚡️ New Order Line Item

Description: Triggers for each line item of a new order. If there is a new order with 5 line items, the Bot will run 5 times, each time with the details of one of the line items.

Unsupported items: ‘Coupons’ field, order note, shipping method, inventory management, vendor-related output fields, line item metadata.

⚡️ New Product

Description: Triggers when a new product is added to your WooCommerce store.

⚡️ Modified Customer

Description: Triggers when a customer profile gets modified or when a new customer profile is created.

Unsupported items: Custom fields.

⚡️ Order Status Changed

Description: Triggers when the status of an order is changed. You can optionally specify the bot to work only when the order is changed to the status of your choice.

Unsupported items: line Items, third party plug-in fields.


Actions

✅ Add or Update Customer

Description: Used for adding or modifying (if it already exists) customer profile in WooCommerce. Bot updates the customer profile if the email address provided matches with an existing customer’s email address. You may prevent updating existing customer profiles by selecting ‘No’ for the ‘Update if Exists’ field.

It is recommended to leave the fields ‘Customer Username’ and ‘Customer Password’ blank.

✅ Add an Order

Description: Used to add orders in your WooCommerce store associated with a customer. You need a Customer ID (unique for every customer) to use this action. You may use the ‘Search Customer’ action to fetch the customer ID.

✅ Add Order Line Item

Description: Used to add items to an already existing order. You need an Order ID to use this action.

✅ Add or Update a Product

Description: Used to add a new or update an existing product. Use the ‘Product ID’ field only to update existing product(s).

The field ‘Product Images’ needs a publicly accessible URL of the image. You can add multiple images of a product by clicking on the ‘+ Add’ button below this field.

✅ Add or Update a Product Variation

Description: Used to add a new or update an existing variant of a specified product.

You need the ‘Product ID’ to use this action.

The field ‘Image URL’ needs a publicly accessible URL of the image.

✅ Search Customers

Description: Used to search for a customer (existing) in your WooCommerce store. You need either the customer's email address or customer ID (internal unique ID set by WooCommerce).

✅ Update Order

Description: Used to update an existing order using order ID (mandatory). You can update order status, billing/shipping address, currency, customer notes, payment methods as well as custom fields.

✅ Search Orders

Description: Used to search for an existing order in your WooCommerce store. You need either the order ID or customer ID. Both are internally set by WooCommerce and are unique.

Unsupported items: ‘Coupons’ field.

✅ Search Products

Description: Used to search for an existing product in your WooCommerce store. You need either the product SKU or product ID (internally set by WooCommerce).

✅ Search Product Variations

Description: Used to search specific variants of already existing products based on product ID (mandatory). Apart from product ID, you need either the variant SKU or the variant ID (internally set by WooCommerce).


Common problems with WooCommerce integration

❗️ I am unable to turn ON my Bot dependent on WooCommerce customers or products or orders.

If you are the administrator or site admins of this website note that your access has been limited because you broke one of the Wordfence blocking rules.
The reason your access was limited is: "POST received with blank user-agent and referrer".

If this is a false positive, meaning that your access to your own site has been limited incorrectly, then you will need to regain access to your site, go to the Wordfence "options" page, go to the section for Rate Limiting Rules and disable the rule that caused you to be blocked.

For example, if you were blocked because you were accessing your site too quickly, then increase the number of accesses allowed per minute.

If you're still having trouble, then simply disable the Wordfence advanced blocking and you will still benefit from the other security features that Wordfence provides.

❗️ How do I use line items with Automate.io?

To work with line items instead of the complete orders, please use the ‘New Order Line Item’ trigger.

❗️ I have new orders but my Bot does not work.

Re-connect the WooCommerce app. To reconnect an app please follow these steps: Open the Apps page in the app > Go to concerned app > Click on the re-connect icon appearing on the app icon.

If this does not help, the problem is usually on WooCommerce’s end. The best course of action would be to go to this link and submit a ticket so that WooCommerce can help directly.

❗️ My Bot triggered twice for the same order.

This error usually occurs when you’re using the Order Status Changed trigger and change the status of the same order multiple times within a very short time frame (2-5 seconds). Please make sure to wait for at least 5 seconds before changing the status of the same order again.

❗️ Error: required input parameters are missing.

This error indicates that you have not provided data for the field which is 'required'. Please ensure to provide value to that field.

❗️ Error: "Sorry, you cannot list resources. Status: 401" while connecting WooCommerce to Automate.io.

This error usually comes from WooCommerce’s end and there’s nothing we can do from our end. The best course of action would be to go to this link and submit a ticket so that WooCommerce can help directly.

❗️ Error: Failed to Load Data from Woocommerce OR Error: Unknown Error.

The message on the screen is usually a warning message which is caused by network latency. Reloading the bot setup might fix the issue.

❗️ Error in Bot Activity: Unknown Error.

This error is usually caused because of a missing meta tag element from Woocommerce. It is advised to get in touch with the Woocommerce Administrator in order to get it resolved.

❗️ Error: “Sorry you're not allowed to add resources”.

This error usually occurs when you do not have sufficient webhook privileges or admin access to your WooCommerce account.

Did this answer your question?