This action will use the standard Wordpress search API to search for different terms and display the results as chat text or as a carousel.
The action uses the following settings:
The base url of your Wordpress website. Like https://www.mysite.com.
If required by your Wordpress configuration, paste here the consumer key.
If required by your Wordpress configuration, paste here the consumer secret.
The terms you want to use to search your website
No Results Text
The text you wish to display whenever the search yields no results
Max Results Count
The maximum number of items to be returned by the search
The action used by Xenioo to render the search results.
By default a Wordpress website may not have standard REST API enabled for searching. If you use this action on a website without REST API, it will fail.
Depending on your Wordpress version REST API enabling steps may vary. This guide can help you in setting up and configure your Wordpress website for search.
This action does not trigger any event.
This action produces the following variables:
The total number of items found. The number may be lower but never higher than Max Results Count
Channel specific availability follows the table below:
This action can be used only inside interactions and not as child of other actions. This action requires a Premium Account to be used on a live chatbot.