krilor / wp-chatbot

Simple Wordpress Plugin to add any chatbot to your web page
GNU General Public License v3.0
20 stars 18 forks source link
chatbot wordpress-plugin

WP chatbot

A simple Wordpress plugin to connect to your favourite chatbot platform.

Works with

...and any other platform that has a REST-based JSON API

Roadmap

This plugin is under active development. Current plan is to keep it in GitHub for the foreseeable future.

There is a GitHub project to track high level features.

How to use

  1. Download a release as zip
  2. Open up the zip and rename the included folder to wp-chatbot (remove the -#.#.# version number)
  3. Upload to your Wordpress instance.
  4. Activate the plugin and head on over to Settings -> WP chatbot
  5. 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

The response

The returned data from the external API must be JSON formatted data (as of now). There is only one option for the response, which is a JSONpath used to extract the data.

Special param values

Warning

This plugin is still in development, and are still missing important error handling, validation of input and sanetizing of options. This will be fixed, just keep an eye on the Github Issues.

Contribute

Fork, branch, pull request

Contributors

Release Notes

Wordpress Coding Standards