question

mg8729 avatar image
mg8729 asked ·

Glip bot in multiple companies / glip instances?

I have the following use case:

* A user from glip (it could be any glip) needs to be able to interact with 'our app'.
* Our app needs to update a DB and respond to the user  based on what the user entered.

* I'm not sure if it's possible to have a bot that would be integrated in multiple glips?
* If so, would there be a way to have a button 'Add bot to glip' on our app? At the moment, I see that button in the dev console and it seems like this would link it to the corresponding glip VS the current dev account?
* If it's not possible with a bot or if there's something more efficient, how could we achieve that?

topic-default
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered ·
Hi Mg,

Just want to clarify one thing before I'll look into a solution for your problem.
Saying "any glip" and "multiple glips" do you mean "any glip channels under the same account" or from different accounts? 

Thanks,
Phong
1 comment Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phung - you seem to be extremely knowledgeable. Can you help me fix a Fax API issue please?  Please see my profile or email to scarter@sterlingtherapy.com
0 Likes 0 · ·
mg8729 avatar image
mg8729 answered ·
Hi Phong!

I mean different accounts. Like the company ABC inc has a glip and wants these features, then the company Cleaning inc also has a glip and wants these features, etc.
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

embbnux-ji avatar image
embbnux-ji answered ·
Hi, Mg,

You can create a Bot in public type. So it can be installed in different account. Every account can install it by 'Add to Glip' button. and it will creates different bot user for different account. When different account install glip bot, your server can get different token.    

You can try this  https://github.com/embbnux/botbuilder-glip . it supports public bot.

Thanks
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

mg8729 avatar image
mg8729 answered ·
Thank you for your answer Embbnux Ji, but I'm not sure I understand your answer.

What would be the process for a customer to add our bot? What do you mean by 'Add to glip button'? 

I saw a 'add to glip' button, but in my  developer.ringcentral.com account when creating the app. Is there a way to add a 'Add to glip' button anywhere (like on our own web app)?

Or would a customer need to create a developer account? If so, how do they 'find' our bot to add it? Is there a catalog of bots when the bot is public?

Ideally, we would want a way for the users to simply click a button and integrate the app or bot in their Glip account, without having to create a Ring Central dev account.

For example on Slack, there's a way to package a bot with a slack app:
https://api.slack.com/bot-users#attaching_bot_users_to_a_slack_app

So that users just have to click a 'install to slack' button that you can put anywhere and adds a bot user into their slack team.
1 comment Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

After bot app goes to production, you can set 'Add to Glip' in RingCentral app gallery or a button in your website. Customer doesn't need dev account.  https://apps1.ringcentral.com/apps?compatibility=ringcentral&appCategory=Bots
0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.