wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.94k stars 1.31k forks source link

Contact Support: Submit details to HE #18829

Open ravishanker opened 1 year ago

ravishanker commented 1 year ago

This is split it into two separate issues #18901 , #18902

staskus commented 11 months ago

Some relevant information from the docs:

You can customize the widget to match your brand and desired behaviour on your bot settings page. Some of the options include: Custom support link - Choose a custom support link that will appear in the widget for user's to contact you directly if they need to.

If you would like to run a callback when the user clicks the support link in the widget you can pass a supportCallback function. This function will be called with the event and history objects. The event object is the click event and the history object is the chat history array. You could use this for example to open your own support modal or live chat widget, or prefilling and submitting a support ticket with the chat history. https://docsbot.ai/docs/embeddable-chat-widget

Using this functionality we could theoretically deep link back into the app with the history object, open the existing support ui, and send the message.

Zendesk Web Widget (classic) Integration If your business uses Zendesk Web Widget (classic) for support tickets or live chat, here's an example of how you could use the supportCallback argument to open the Web Widget if the user clicks the get support link in the DocsBot Widget. https://docsbot.ai/docs/widget-integrations/zendesk

However, I suppose this will be the cleaner way to go to have all the integrations in one place.

dangermattic commented 3 weeks ago

Thanks for reporting! 👍