Cloudkibo / KiboPush

0 stars 1 forks source link

Modify create message block endpoints to create DialogFlow intent #11249

Closed ImranBinShoukat closed 3 years ago

ImranBinShoukat commented 3 years ago

In this, we will modify the create message block endpoints to create DialogFlow intent and train the DialogFlow agent on triggers of that block. This will be done for all three platforms SMS, WhatsApp, and Messenger.

For further info, please refer to the design document: https://docs.google.com/document/d/1of6lLT68r7KItLU9mmNnu07f2AQXE4TlRUNBwQUvl-4/edit#heading=h.dqa259vcxd2x

ImranBinShoukat commented 3 years ago

Work on this task has been completed. Assigning @AnishaChhatwani to test

AnishaChhatwani commented 3 years ago

Working fine

ImranBinShoukat commented 3 years ago

Please test on production as well

AnishaChhatwani commented 3 years ago

intents are not being created in sms. Also, got this sentry bug https://sentry.io/organizations/cloudkibo/issues/2296518298/?referrer=slack @ImranBinShoukat please look into it

ImranBinShoukat commented 3 years ago

This error happens when we try to create two intents with same name. This is a user error and now I am informing the user about this by displaying the correct error message.

@AnishaChhatwani please test

AnishaChhatwani commented 3 years ago

working fine on staging

ImranBinShoukat commented 3 years ago

Please test on production as well

AnishaChhatwani commented 3 years ago

working fine on production