Getting Started with WooCommerce
Prerequisites
- A WooCommerce account
Connecting Engini to WooCommerce
Get your Customer Key (ck)
Follow the next steps to get the customer key for your WooCommerce store:- Log in to your WordPress Dashboard.
- In the left-hand sidebar, click on “WooCommerce”.
- Click on “Settings”.
- Click on the “Advanced” tab.
- Click on “REST API”.
- Click on the “Add Key” button to create a new API key.
- Enter a description for the API key and select the user that the key will be associated with.
- Select the level of access you want to grant the API key.
- Click on the “Generate API Key” button.
- The Customer Key will be displayed under “Consumer Key”.
Get your Customer secret (cs)
After steps 1-9 the Customer Secret (customer password) will be displayed under “Consumer Secret”.Add a connection to WooCommerce in Engini
- Enter your Engini account at https://app.engini.io.
-
Navigate to Connections page by clicking on the Connections on the left sidebar or by clicking here.

-
Click on the “New Integration” option located at the top bar.

-
Choose WooCommerce option from the available applications.

-
Enter the following details in the “New Integration” form and press Save:

- Connection name - Choose a signifacnt name.
-
WordPress URL - The WordPress URL of WooCommerce can be found in the WordPress Dashboard. Here are the steps to find it:
- Log in to your WordPress Dashboard.
- In the left-hand sidebar, click on “WooCommerce”.
- Click on “Settings”.
- Click on the “Advanced” tab.
- Look for the “Site Address (URL)” fields.
- Customer Key (ck) - Enter the customer key you obtained from WooCommerce.
- Customer password - Enter the customer password you obtained from WooCommerce.
- Save Settings - After signing in, click Save to finalize and store the connection.
Triggers
The trigger is executed automatically in response to a specific event, such as an order being created or updated. Every workflow has to start with a trigger.Orders
Order updated
Listens for an order’s updates.
- Add Conditions - Click Add Conditions to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, click here.
Order created
Listens for a new order creation.
- Add Conditions - Click Add Conditions to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, click here.
Products
Product updated
Listens for a product’s updates.
- Add Conditions - Click Add Conditions to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, click here.
Product created
Listens for a new product creation.
- Add Conditions - Click Add Conditions to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, click here.
Customers
Customer updated
Listens for a customer’s updates.
- Add Conditions - Click Add Conditions to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, click here.
Customer created

- Add Conditions - Click Add Conditions to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, click here.
Actions
Customers
Create Customer
This action creates a new customer account in WooCommerce using the provided details
- Email - The Email can come from the trigger or another action you performed in the process before the “create customer” action.
- Click on the empty field and the tooltip will pop up showing all the names you can use.
- Select from the tooltip the email of the new customer you create. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Password – Enter the password for the new customer account. If left empty, WooCommerce may automatically generate a password (depending on store settings).
- Username – Enter the username for the customer. If not provided, WooCommerce may automatically generate one based on the email address.
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Update customer
Edits an existing customer’s attributes.
- Customer Id
- Click on the empty field and the tooltip will pop up.
- Enter the customer id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Get Customer
Get one customer record.
- Customer id
- Click on the empty field and the tooltip will pop up.
- Enter the customer id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
Get Customers
Get the records of all customers.
- Add Filter - Click Add Filter to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, click here.
Products
Create Product

- SKU - SKU stands for “Stock Keeping Unit”. Set the SKU of the product.
- Name - The name of the new product you create.
- Click on the field to show the tooltip with all the options you can choose.
- You can populate the field in one of the following options:
- Static value – number / string. when using strings, you need to surround them with single quotes (‘).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Update Product
Edits an existing product’s attributes.
- Product Id
- Click on the empty field and the tooltip will pop up.
- Enter the Product Id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Get Product
Get one product record.
- Product id
- Click on the empty field and the tooltip will pop up.
- Enter the Product Id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
Get Products
Get the record of all customers.
- Add Filter - Click Add Filter to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, click here.
Variant
In WooCommerce, a variant refers to a specific variation of a product. Variants are essentially product options or attributes that can be customized by the customer. Each variant is associated with a unique SKU (Stock Keeping Unit) price, and can be managed separately in terms of inventory and pricing.Create Product variation

- Product Id - The id of the product for which you want to create a variant.
- Click on the empty field and the tooltip will pop up.
- Enter the Product Id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- SKU - SKU stands for “Stock Keeping Unit”. Set the SKU of the variant.
- Click on the field to show the tooltip with all the options you can choose.
- You can populate the field in one of the following options:
- Static value – number / string. when using strings, you need to surround them with single quotes (‘).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Description - You have the ability to define the product’s description.
- Click on the field to show the tooltip with all the options you can choose.
- You can populate the fi
- Static value – number / string. when using strings, you need to surround them with single quotes (‘).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Update Variation

- Product Id - The id of the product for which you want to update the variant.
- Click on the empty field and the tooltip will pop up.
- Enter the Product Id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Variant Id - The id of the variant you want to update.
- Click on the empty field and the tooltip will pop up.
- Enter the Variant Id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Get Product Variation

- Product Id - The id of the product for which you want to Get the variant.
- Click on the empty field and the tooltip will pop up.
- Enter the Product Id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Variant Id
- Click on the empty field and the tooltip will pop up.
- Enter the Variant Id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
Get Product Variations

- Product Id - The id of the product for which you want to Get the variantions.
- Click on the empty field and the tooltip will pop up.
- Select the product ID for which you’d like to Get its variations.
You can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
Attributes
Create Attribute

- Name - The name of the new Attribute you create.
- Click on the field to show the tooltip with all the options you can choose.
- You can populate the field in one of the following options.
- Static value – number / string. when using strings, you need to surround them with single quotes (‘).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Create Attribute Term

- Attribute Id - The id of the Attribute for which you want to create it’s Term.
- Click on the empty field and the tooltip will pop up.
- Enter the Attribute Id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Delete Attribute

- Attribute Id - The id of the Attribute for which you want to delete.
- Click on the empty field and the tooltip will pop up.
- Enter the id of the Attribute you want to delete. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
Delete Attribute Term

- Attribute Id - The id of the Attribute for which you want to delete it’s Term.
- Click on the empty field and the tooltip will pop up.
- Enter the Attribute Id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Term Id - The id of the Attribute term for which you want to delete it’s Term.
- Click on the empty field and the tooltip will pop up.
- Enter the Term Id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
Update Attribute

- Attribute Id - The id of the Attribute for which you want to update.
- Click on the empty field and the tooltip will pop up.
- Enter the Attribute Id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Update Attribute Term

- Attribute Id - The id of the Attribute for which you want to update it’s Term.
- Click on the empty field and the tooltip will pop up.
- Enter the Attribute id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Term Id - The id of the Attribute term for which you want to update it’s Term.
- Click on the empty field and the tooltip will pop up.
- Enter the Term id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Get Attribute

- Attribute Id - The id of the Attribute for which you want to get.
- Click on the empty field and the tooltip will pop up.
- Enter the id of the Attribute you want to get. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
Get Attributes
Get the record of all Attributes.
Get Attribute Term

- Attribute Id - The id of the Attribute for which you want to get it’s Term.
- Click on the empty field and the tooltip will pop up.
- Enter the Attribute id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
- Term Id - The id of the Attribute term for which you want to get it’s Term.
- Click on the empty field and the tooltip will pop up.
- Enter the Term id. you can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
Get Attribute Terms

- Attribute Id - The id of the Attribute for which you want to get it’s Terms.
- Click on the empty field and the tooltip will pop up.
- Enter the id of the Attribute for which you want to get it’s Term.
You can use:
- Static value - number / string. when using strings, you need to surround them with single quotes (’).
- Property value from a previous activity (Using the tooltip that opens when clicking on the field).
Arrays
Initialize Meta Data Array

- Name - Add this action to initialize a meta data array.
Add Meta Data to array

- Variable - Select the array variable from your workflow that you want to append new objects to. This dropdown shows all available array variables that you initialized from previous steps in your automation.
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Initialize Product Attributes Array
Add this action to initialize a Product Attributes array.
- Name - In WooCommerce, “Product Attributes” are a way to add additional information to your products.
Add Product Attribute to Array

- Variable - Click the small arrow to Choose the array.
- Click on the name of the desired array from the dropdown that opens.
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.
Initialize Variation Attributes Array
Add this action to initialize a Variation Attributes array.
- Name - In WooCommerce, “Variation Attributes” are attributes that are used to create and manage variations of a variable product.
Add Product Variation Attribute to array
To use this action, you first need to initialize a Variation attribute array.
- Variable - Click the small arrow to Choose the array.
- Click on the name of the desired array from the dropdown that opens.
- Add Field - Click Add Field to add and populate additional fields for the selected activity. To learn more about managing activity data, click here.