loadsmart / rn-salesforce-chat

React Native wrapper for Salesforce SDK chat
MIT License
7 stars 10 forks source link

Connect to specific agent #19

Closed ignaciosanhkhipu closed 3 years ago

ignaciosanhkhipu commented 3 years ago

Hello, Is there a way to add in the configureChat, when we pass the chatConfig interface, to connect to a specific agent? or how can I do it?.

lenoirzamboni commented 3 years ago

Hello @ignaciosanhkhipu!

It seems that the Salesforce API does not support this feature yet, so we are not able to do so. Would mind explaining why are you trying to configure a chat with a specific agent?

Thanks!

ignaciosanhkhipu commented 3 years ago

Hello @lenoirzamboni , thanks for the answer. Currently, the application connects to the first available agent, but I need to redirect to a specific agent. The solution is for a bank, so the agent is actually the person's bank account executive, that's why it needs to be a targetted agent, and in the web version, there is a parameter to specify the agent id.

lenoirzamboni commented 3 years ago

@ignaciosanhkhipu Hello again! Did you manage to find a solution to your problem?

ignaciosanhkhipu commented 3 years ago

Yes, we implemented a webview of a webpage that uses the web plugin. Thanks for the concern :)

lenoirzamboni commented 3 years ago

Cool! That's nice!

I will close this issue then, and keep an eye if someday Salesforce API can support connection to a specific agent.