Solved

Asking questions directly from App

  • 16 January 2023
  • 4 replies
  • 53 views

Hello everyone! 

We want to provide customers with the possibility to ask questions (to the community) directly from our App (Cymulate). It is expected to increase community engagement and bring in more participants. 

Anyone tried it? Do you know what is needed from Insided? (API I assume)...

Are there any other considerations?

Thank you!

https://media.giphy.com/media/k9I0BjPWKk96E/giphy.gif

icon

Best answer by bas 23 January 2023, 15:47

View original

4 replies

Badge +1

Hi @Idan ,

I don’t think there will be too many technical hurdles (assuming a few things, see below). I do think there might be some expectations and tweaks needed to make this experience seamless :)

I’m assuming SSO is set up in both the app and inSided, otherwise it will be hard to guarantee that a user exists in both using the same email address. Furthermore I’m assuming you can do these calls on the backend of the app, to prevent leaking of credentials.

Then I think you should follow the steps below.

  1. Get a token with write level access: https://api2-eu-west-1.insided.com/docs/#section/Authentication/Introduction
  2. Find the user by email: https://api2-eu-west-1.insided.com/docs/user/#operation/findBy
    2a: if the user doesn’t exist, tell the user to register on community first, or automatically register them using https://api2-eu-west-1.insided.com/docs/user/#operation/register
  3. Post a question via the API, using the userid from step 2 as authorId: https://api2-eu-west-1.insided.com/docs/community/#operation/askQuestion

If possible, before submitting, you could pre-fetch and show similar results based on the entered title; kind of like what inSided does by default when people start a new question. https://api2-eu-west-1.insided.com/docs/search/#operation/search

And I’d make it explicit that further interaction will be done on the community, not in the app itself.

Hope this helps! Looking forward to your results

There is a widget from inSided to do this - snap in HTML to present the community as a floating bubble. I’m not too familiar with it but it has been demoed to us before. Its a much forgotten about feature and most don't know it exists.

Otherwise the manual way through API should work too.

Badge +1

@dandre are you referring to the embeddable widget?

Unfortunately it is designed to show existing content targeted to the context, not to allow interaction to happen.

'

@dandre are you referring to the embeddable widget?

Unfortunately it is designed to show existing content targeted to the context, not to allow interaction to happen.

Ooops - that''s probably it. I had though you could ask questions using the widget, but must have been mistaken. Thanks for the correction.

 

……. but that would be a sweet integration :)

'

Reply