WooCommerce works seamlessly with the WordPress REST API, allowing you to create, read, update, and delete data from your WooCommerce store.
This includes managing coupons, orders, customers, products, refunds, and more!
(For a full overview, you can check out the WooCommerce REST API documentation.)
With Aissist’s Integration and Smart Action features, our AI can directly access your WooCommerce store’s data through the REST API, helping you deliver faster, smarter support to your customers.
Below, we'll walk you through how to set up WooCommerce integration with Aissist.
WooCommerce Integration — Setup at a Glance
Step
Action
Details
1
Generate API Key in WooCommerce
Go to Settings → Advanced → REST API, create a key, and save the Consumer Key and Secret.
2
Add Integration in Aissist
In Workspace → Integration, click Add Integration, select WooCommerce, and input your API URL, Consumer Key, and Secret.
3
Use Default Smart Actions
Smart Actions like order lookup and customer search are available automatically. You can control when they trigger (session start, interaction, or both).
4
Create Customized Smart Actions (Optional)
Build custom actions like getOrder, getCustomer, and getCustomerOrders using the Smart Action Builder for more tailored workflows.
⚡ Quick Tips
✅ Always save your API keys when you generate them.
✅ It's okay to run Smart Actions both at session start and during interactions.
✅ Customize Smart Actions to match your specific business needs for even better results!
🚀 How to Set Up WooCommerce Integration
Step 1: Generate WooCommerce API Key
Log into your WooCommerce dashboard.
Go to Settings → Advanced → REST API.
Click "Add Key" to create a new API key.
Save the Consumer Key and Consumer Secret immediately — they won't be shown again once you leave the page.
🔑 Tip: Keep your keys somewhere safe — you’ll need them to connect WooCommerce to Aissist.
Create Customer Key and Customer secret
Step 2: Create WooCommerce Integration on Aissist.io
Sign into your Aissist.io account.
In the sidebar, go to Workspace → Integration.
Click "Add Integration" and select WooCommerce.
In the setup page, enter:
A name for your integration
Your WooCommerce API URL
Your Consumer Key and Consumer Secret
🔵 Example Setup:
Name: My WooCommerce Store
API URL: https://yourstore.com/wp-json/wc/v3
Consumer Key: (paste your key)
Consumer Secret: (paste your secret)
🧠 Default mart Actions with WooCommerce Integration
When you integrate WooCommerce, several Smart Actions are automatically available to help you handle common needs.
You can control when each action runs:
At the start of a session
During a user interaction
✅ It’s perfectly fine to select both options for the same action!
Each default Smart Action comes with predefined descriptions and parameters.
If needed, you can customize them by creating your own Smart Actions.
🛠️ Creating Customized Smart Actions
The default Smart Actions cover most needs, but you can also build your own custom Smart Actions for specific workflows.
Here’s how:
From the Aissist dashboard, go to Workspace → Action.
Click "Add Action" and then choose your WooCommerce integration.
In the Smart Action Builder window, fill in:
Choose a method from the list
Input Action Name and Description
Associate with Sub-Agents:
You can link the action to a Sub-Agent for specific scenarios.
Decide When to Run:
Choose to run the action at the beginning of a session or during the interaction — or even enable both.
Select Action Trigger to be inbound, outbound or both
Inbound means a user's input message triggers this action
Outbound means Aissistant's reply triggers this action
Both means both direction can trigger this action
Customize Parameters:
You can add specific details about your shop’s setup.
Example:
“Our order IDs start with an 'E' followed by 8 digits”
“Order IDs are usually 10 digits long”
Returning and Summarizing Information
You can also add instructions to explain the type of information the action returns.
If the response contains a lot of data, you can guide Aissistant to summarize it and extract only the important details needed for user responses
🛒 Currently supported methods:
getOrder: Retrieve complete order details using an Order ID.
getCustomer: Retrieve customer information using their email.
getCustomerOrders: Retrieve a customer’s full order history using their email.
getCustomerSubscription: Retrieve a customer's subscription using email.
cancelOrder: Cancel a user's order
updateOrderAddress: Update the order address
This allows you to tailor Aissistant’s capabilities to exactly what your business needs!
WooCommerce Integration
By connecting WooCommerce to Aissist, you unlock powerful automation that keeps your customer support efficient, fast, and personalized. 🎯
After setting up the WooCommerce integration and actions, you can use the Action Debugger to test and verify that everything is working correctly.