Facebook Messenger Chatbot

Hi,

Has anyone any experience in building a Facebook Chatbot for CS-CART?

I've started the process and this is my results so far.

1) Popup live realtime chat button with the Facebook Page

2) Ability to select "Send to messenger" when products are added to cart.

Ajax is triggered - but having difficulty sending the data back to the user

3) Ability to have a bot respond to certain keywords from within a CS-CART environment

a) Ask the bot a message containing "hi" and it will respond

b) Ask the bot a message looking for a coupon and it will respond

The logic for the response is within CS-CART so I can create custom functions or look ups depending on thats asked.

Next steps on the project

1) Fix add to cart message back - This is a proven method to increase sales,

90% open rate of FB messages,

Set intervals of 30 mins after add to cart to send reminder message

2) Ability to use keywords as commands,

eg "search KEYWORD" - search the CS-CART products for KEYWORD in product title and return top 5 products in a media template

3) Receipt - Looking to add receipt delivery when order is placed

https://developers.facebook.com/docs/messenger-platform/send-messages/template/receipt

Anyone interested in the project a DEMO is available here:

https://demo.cartbooster.ie/opulence/mens/mens-armani-long-sleeve-t-shirt-clone/

Any feedback / suggestions are welcome

Thanks

Stephen


Just to add, anyone interested the code to date is available to purchase:

https://www.cartbooster.ie/product/facebook-live-chat-messenger-cs-cart/