Title: How to postback a message on javascript event trigger on the webpage?
Last modified: May 10, 2019

---

# How to postback a message on javascript event trigger on the webpage?

 *  Resolved [satvikbhai](https://wordpress.org/support/users/satvikbhai/)
 * (@satvikbhai)
 * [7 years ago](https://wordpress.org/support/topic/postback-message-on-javascript-event-trigger/)
 * We want to auto send a user message to Watson server when user clicks on buy 
   button(buy button in on the web page but outside Watson assistant chat window).
 * How can I do that? Is there any way to auto post the message? If so how can I
   do that?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Intela-bot Help](https://wordpress.org/support/users/intelahelp/)
 * (@intelahelp)
 * [7 years ago](https://wordpress.org/support/topic/postback-message-on-javascript-event-trigger/#post-11524915)
 * Hello [@satvikbhai](https://wordpress.org/support/users/satvikbhai/). Thanks 
   for reaching out to us.
 * We don’t have straightforward way to do this yet, but we have deeper integration
   of plugin with WooCommerce and other ecommerce solutions in our roadmap.
 * For now you can manipulate the behavior of chatbox by interacting with Javascript
   code of plugin or extending it. If you want to customize the plugin, you can 
   visit our [Github repository](https://github.com/HASidd/watson-assistant-wordpress).
   It has the source code for plugin and build instructions. Our chatbox is implemented
   using React, so it may be useful to check out [React’s website](https://reactjs.org/)
   and complete the [initial tutorial](https://reactjs.org/tutorial/tutorial.html)
   to understand React’s core principles.
 * If you have any other questions, don’t hesitate to ask them.
 *  Plugin Author [Intela-bot Help](https://wordpress.org/support/users/intelahelp/)
 * (@intelahelp)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/postback-message-on-javascript-event-trigger/#post-11722281)
 * We haven’t heard from you recently.
    Do you still have any questions or need 
   our assistance? We will gladly help you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to postback a message on javascript event trigger on the webpage?’
is closed to new replies.

 * ![](https://ps.w.org/conversation-watson/assets/icon-256x256.png?rev=1684465)
 * [Chatbot with IBM watsonx Assistant](https://wordpress.org/plugins/conversation-watson/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/conversation-watson/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/conversation-watson/)
 * [Active Topics](https://wordpress.org/support/plugin/conversation-watson/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/conversation-watson/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/conversation-watson/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Intela-bot Help](https://wordpress.org/support/users/intelahelp/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/postback-message-on-javascript-event-trigger/#post-11722281)
 * Status: resolved