Sunshine/Smooch.io integration
# 🤝help
b
Hi, I'm trying to integrate Botpress into Sunshine Conversations. However, when I use the webhook generated by Botpress there is no authentication details. The webhook format generated is as follows: https://webhook.botpress.cloud/xxxxxxxxx So when I attempt to use the webhook in Zendesk (which is connected to Sunshine) I get an unknown error. Has anybody had any experience or know how to get this to work? Following this botpress tut has not helped as the last step is failing as described above. https://botpress.com/docs/cloud/channels/sunco/
a
@bright-magazine-792
b
Thanks for the @ @acceptable-gold-88171 . Any feedback on this? We are getting ready to purchase botpress for our digital call center, but I need to POC the integration to Sunshine before the bosses will sign off on it and I am not making any headway by following the tutorial. Any help would be appreciated. Lastly, I have contacted support over a week ago and sent a separate email to Sabrina Dostie with no response from either.
a
hey @breezy-megabyte-18599, it's a holiday weekend in Canada, so responses will be slow. We recently open-sourced integrations, you can see them here: https://github.com/botpress/botpress/ If you want to make changes to the sunco integration, this is the place to start!
a
Hi @breezy-megabyte-18599 👋 were you able to make progress with the link Gordy provided?
b
If anybody ever searches the discord for help using this plugin, here are the steps I eventually took to get it working. The Botpress doc further up this thread assumes using Sunshine directly. This is how to do it if you are using Sunshine through Zendesk. 1.) Open your Zendesk Admin Panel 2.) Go to -> Apps and Integrations -> Conversations API 3.) Create an API Key 4.) N.B. copy the AppID, KeyID and Secret key (You won't be shown the secret key again after this) 5.) These three details are what you will use in the Sunshine plugin in Botpress 6.) Go to Botpress and enable the Sunshine plugin. 7.) Take note of the Webhook URL that Botpress will generate and also enter a strong webhook key 8.) Open Zendesk Admin Panel 9.) Go to -> Apps and Integrations -> Conversations integrations 10.) Create a new integration 11.) Use the Botpress webhook URL and the webhook key that you just took note of in step 7 in the "Webhook endpoint" and "Shared Secret" fields. This will then allow Sunshine through Zendesk to post all replies to your Botpress Bot(s) webhook. Botpress will then automatically format a response using the Sunshine API call back to Zendesk. Closing thoughts: - This creates a one to one connection between Zendesk and Botpress. - So if you need to be capturing the conversation in your own backend systems you will have to use separate webhook events in Zendesk to post copies of the messages to your systems. - You will need to create a bot for every conversation integration (i.e. one bot per whatsapp number/live chat channel/SMS number etc) - This gives us very fine control and makes the process modular as opposed to having one bot to rule them all while trying to manage multiple conversation flows.
a
@breezy-megabyte-18599 this is EPIC. thank you so much for sharing with the community!! 🎉
46 Views