Cloudkibo / KiboPush

0 stars 1 forks source link

Implement FAQs in commerce chatbot #11024

Closed sojharo closed 3 years ago

sojharo commented 3 years ago

Coming from Sapphire issue https://github.com/Cloudkibo/KiboPush/issues/10825

This is the server side work on commerce chatbot logic layer to add faqs given by commerce chatbot.

It will gradually start with showing common FAQs and then will have option to let consumer ask his question if it is not in FAQs which will activate an agent session. We can talk to sapphire on which of the FAQs are most common.

bjafri5 commented 3 years ago

Work on this is complete. This can be tested once merged

jekram commented 3 years ago

@sojharo @bjafri5 Can we push the merge in real time

jekram commented 3 years ago

@bjafri5 This has been merged - please test

bjafri5 commented 3 years ago

@sojharo please test

sojharo commented 3 years ago

This is working fine on messenger and whatsapp

sojharo commented 3 years ago

We need to do change in this as per discussion in Sapphire meeting. We need to group the FAQs by topic on both whatsapp and messenger chatbot. Currently, it is just showing flat FAQs. They will be sending new FAQs and once they are received, I will put them here. As @bjafri5 is not here, I am assigning this to @AnishaChhatwani as per discussion with Sir.

ImranBinShoukat commented 3 years ago

Updated FAQs link: https://pk.sapphireonline.pk/pages/faqs

jekram commented 3 years ago

@AnishaChhatwani What is the status?

AnishaChhatwani commented 3 years ago

Status Update: I have done the work for whatsApp. Work for messenger is remaining here

AnishaChhatwani commented 3 years ago

As discussed in meeting, I have pushed the whatsApp part in production and it can be tested there

sojharo commented 3 years ago

For messenger part, besides our test chatbot, also add this in Sapphire's staging shopify chatbot that we just created in meeting with them:

Here is the chatbot information from mongodb:

"_id" : ObjectId("6024e16ecb4a90597b67b3e2"),
"pageId" : "602398db344f0e55b251a888",
"companyId" : "60239741344f0e55b251a87e",
"userId" : "60239741344f0e55b251a87d",
"type" : "automated",
"vertical" : "commerce",
"storeType" : "shopify",
"datetime" : ISODate("2021-02-11T07:49:02.861Z"),
AnishaChhatwani commented 3 years ago

Completed the work on this. @sojharo please test on production

sojharo commented 3 years ago

Please do the change as per discussion.

sojharo commented 3 years ago

This is working fine now.