Answered

Is it possible to reference attributes in custom apps?

  • 11 August 2021
  • 5 replies
  • 21 views

Badge

We are trying to create a custom app that will be displayed in the messenger where a user can click a URL and it will take them to something like below:

 

{company.url}/training

 

Each company has a unique URL so this field would be dynamic based on the user that is logged in.

icon

Best answer by Colin L11 13 August 2021, 14:47

View original

5 replies

Badge +1

When you say 'logged in', what are you referring to? Do you mean the website the user is chatting from? Or do you mean in Intercom?

And the URL, is that unique to the workspace in Intercom? Or could each user who chats in be getting a different URL?

 

You'll need to explain the user flow a little more.

Badge

@colin l11​ Thanks for responding! Here is our use case:

 

 

We want to use a company attribute in the URL.

Badge +1

The first barrier would be the logged-in status. The messenger doesn't know the user is logged in and to what program/site (Cookies etc are not passed). The only way around this would be to only show the messenger to logged in users and verify them.

 

In terms of the URL, the only way I could think of doing this would be to match user (or their segment/tag etc) to a particular URL (or use a custom field set on them when they are created) and send this back in the replies.

Badge

All of our users are required to log in so we should know who they are and where they're coming from. We have hundreds of customers each with a different URL so matching each one to a particular URL would be challenging. Sounds like there isn't an elegant way to use an attribute in a messenger app. Thanks @colin l11​ 

Hi Kevin, perfectly possible if you let your customers create an account, based on that info you dynamically create the links.

Also possible via the Canvas Configure Panel & let them add their URL.

 

Hope this helps,

Francis from videosupport.io

Reply