WooCommerce template: Retrieving product information
This article will guide you through using the Woocommerce Action template.
By using this template, you can easily connect with your WooCommerce database, and have your chatbot respond to questions regarding your products. This template is prefilled with all necessary information, enabling you to retrieve products and product information seamlessly. However, you will need to fill out some information yourself, to be able to connect to your specific database.
1. Access the template
In your chatbot in Pulse, navigate to Actions. Select the WooCommerce template.
This template includes prefilled information necessary for retrieving products and product information from your WooCommerce database.
2. Fill add information
- Base URL: The BaseURL for this template is your rootdomain from your website.
- Authentication: Fill out the necessary credentials: 'consumer_key' and 'your_value'. These you can find using the WooCommerce API documentation.
3. Optional: Update the schema
The template already has a filled-in schema, so you can use it right away. If you want, you can change the schema to fit other purposes.
4. Validating your action
After filling in the required details and schema:
- Validate: Click Validate to check for any errors in your schema. Correct any issues that are identified.
- Available Actions: Once validated, the available actions will be displayed.
Updated 25 days ago