manifest / unclassified / generic-wp-chatbot
Generic WP Chatbot
Updated Generic WP Chatbot that will work with almost any Chat API that accepts an HTTP request.
by Kristoffer Lorentsen & Robert Li · github.com/dr-robert-li/generic-wp-chatbot · website
★ 0stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/dr-robert-li/generic-wp-chatbot/archive/refs/heads/main.zipDeclares an update source (https://github.com/dr-robert-li/generic-wp-chatbot), so updates arrive through the plugin's own updater.
From the readme
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 (