Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/dr-robert-li/generic-wp-chatbot/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WP chatbot
A simple Wordpress plugin to connect to your favourite chatbot platform.
Works with
api.ai
motion.ai
program-o
...and any other platform that has a REST-based JSON API
Roadmap
This plugin was originally orphaned and has been updated to meet current PHP coding standards.
How to use
1. Download as zip
2. Upload to your Wordpress instance.
3. Activate the plugin and head on over to Settings - WP chatbot
4. Include [wp-chatbot] shortcode wherever you want (currently only supported once per page)
Getting automatic updates
This plugin can be updated directly from GitHub, in the Wordpress UI, using the Wordpress plugin GitHub Updater.
Settings
There are some base settings that need to be set. In basic terms, the purpose of these settings is to build the API request that is being used to connect with you chatbot API of choice. It maps the request and pulls data from the response.
The request
API url
The endpoint of the chatbot platform
Request method
GET (most well tested) and POST
Number of request parameters
How many params need to be part of the request
The request params and their value
Each request parameter will require a param-value pair (