wp-chatbot icon indicating copy to clipboard operation
wp-chatbot copied to clipboard

Add communication through webhook and Push API

Open krilor opened this issue 8 years ago • 1 comments

Possible use case:

  1. A chatbot SaaS does not provide a REST api with a synchronous chat response, it only has webhook based communication.

  2. A chatbot SaaS gives the customer the ability to "step in" as the bot and continue in the conversation. This will require a exposed webhook because synchronous response is impossible

krilor avatar Jan 24 '17 12:01 krilor

  • Push API is not well supported in browsers, but will work in WordPress/PHP (already plugins that uses it)
  • WebSockets requires a WS server (might be able to use PHP Sockets somehow)
  • Fallback: REST calls to ask for new messages

krilor avatar Jan 24 '17 13:01 krilor