wp-chatbot
wp-chatbot copied to clipboard
Add communication through webhook and Push API
Possible use case:
-
A chatbot SaaS does not provide a REST api with a synchronous chat response, it only has webhook based communication.
-
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
- 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