Automate tasks with WooCommerce
WooCommerce is a customizable, open-source eCommerce platform built on WordPress.
https://www.woocommerce.com
Triggers
The trigger is the event that starts the automation.
-
Instantly upon creating a product
It triggers every time a new product is created in WooCommerce.
-
Instantly upon deleting a product
It triggers every time a product is deleted in WooCommerce.
-
If there are products, extract the following one
Returns the next product from a search.
-
If there are inactive products, extract the following one
Starting with the oldest product, return one by one each product that has been without updates for more than a specified number of hours.
Actions
The action is what happens automatically, without you having to do anything else.
-
Extract a list of inactive products
Return the products (up to a maximum of 10) that have been without updates for the longest time.
-
Edit a list of External/Affiliate products by Id
Update specific data of selected products in your WooCommerce store from a list of external or affiliate products, specifying the IDs of the products in your WooCommerce store and the specific data you want to update.
-
Add, update and delete product variations
Set the different variations for a specific product. New variations will be added automatically, existing ones will be updated, and optionally, any remaining variations (variations that the product may have but have not been updated) will be deleted.
All variations should have at least one price, a unique SKU, and an attribute. -
Create a product review
Add a user review for a specific product by providing a comment and a rating.
-
Add a list of External/Affiliate products by SKU
Add new products to your WooCommerce store from an external or affiliated product list, specifying the product SKU codes and specific data you want to add. Any product whose SKU already exists in WooCommerce will be excluded, avoiding duplicates.
-
Delete a product
Delete the product indicated by its Id.
-
Auto-generate attributes
Automatically generates the attributes of a product. It searches for the values (terms) of each attribute previously defined in WooCommerce in the product's text and title. All the found values will be added to the existing attributes of the product. It does not affect the use of uppercase or lowercase letters. You can specify whether the new attributes will be visible on the product page or not. The attributes that already exist in the product will retain their original configuration, and new values will be added only if there are matches.
-
Edit a list of External/Affiliate products by SKU
Update specific data of selected products in your WooCommerce store from a list of external or affiliate products, specifying the SKU code of the products in your WooCommerce store and the specific data you want to update.
-
Extract a product by Id
Extract the product indicated by its Id.
-
Extract a product by SKU
Extract the product indicated by its SKU.
-
Create a Simple Product
Create a new Simple Product.
-
Create a Variable Product
Create a new Variable Product.
-
Create a External/Affiliate Product
Create a new External/Affiliate Product.
-
Edit a Simple Product
Edit a new Simple Product.
-
Edit a External/Affiliate Product
Edit a External/Affiliate Product by Product Id.
-
Edit a Variable Product
Edit a Variable Product.
Tutorials
Guide to obtain the credentials to automate WooCommerce.
Frequently Asked Questions
The 'Error 403: Forbidden' error occurs
It is possible that your WooCommerce server's ModSecurity is blocking API calls from Botize.
To resolve this, please contact your hosting provider to add a 'SecRuleRemoveById' rule in the '.htaccess' file.
How to specify product categories?
To assign categories to a product when adding or modifying it in your WooCommerce, use the field called 'Category IDs' in the automatic task.
You must specify the desired category IDs, separated by commas. It is important that you use the numeric IDs and not the names of the categories. Before carrying out this operation, you will need to access your WooCommerce to identify the ID associated with each category you are interested in.
Access the 'Categories' section of your WooCommerce and click on the 'Edit' button for any category. The ID you need to specify is the number you can see in the URL right after 'tag_ID='.
Common Errors
Error 400. woocommerce_product_image_upload_error
The URL provided to WooCommerce for the product image is invalid or does not point to a valid image. Please ensure that the URL is correct and in a compatible format