function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Thomas CarlsonThomas Carlson 

Salesforce Custom Field for Ringcentral Embeddable Widget userPresence status

We are making the switch to Salesforce (from GoldMine) and we are working to implement a system that will automatically route phone calls to the appropriate trip adviser based on their destination specialization and phone availability status. This system will be looking at a custom field on a custom object we have (User Setting.user_status__c) to determine who is available. 

I have been searching to try and find anything that gives me an idea of how best to accomplish this, and I feel like all the pieces are there for me to do so (the UserPresence status, accessed by the embeddable widget, maybe using Salesforce's streaming api to push changes to RC widget and desktop application to update the HUD) but I don't know where to start in regards to having the RC embeddable listen to changes on a custom field in Salesforce. 

Is this possible? 

Best Answer chosen by Thomas Carlson
NagendraNagendra (Salesforce Developers) 
Hi Thomas,

You can implement a server-side app to listen to user presence status changes at the account level then update user settings in Salesforce accordingly.

Please refer to these documentations for more info:

1. Webhook notifications quick start (change the event type with presence) https://developers.ringcentral.com/guide/notifications/quick-start/webhook/node
2. Presence information explained https://medium.com/ringcentral-developers/api-spotlight-presence-e9a725f2afa6

Hope this helps!

Thanks,
Nagendra

All Answers

NagendraNagendra (Salesforce Developers) 
Hi Thomas,

You can implement a server-side app to listen to user presence status changes at the account level then update user settings in Salesforce accordingly.

Please refer to these documentations for more info:

1. Webhook notifications quick start (change the event type with presence) https://developers.ringcentral.com/guide/notifications/quick-start/webhook/node
2. Presence information explained https://medium.com/ringcentral-developers/api-spotlight-presence-e9a725f2afa6

Hope this helps!

Thanks,
Nagendra
This was selected as the best answer
Thomas CarlsonThomas Carlson

Hi Nagendra, 
 

Thank you so much for the confirmation in regards to if it can be done, we have a short schedule before deployment and I wanted to make sure this could be done before spending too much time on it because of all the other things that need implementing before mid July! 

Also, thank you so much for the provided links, I assumed it could be done after seeing all the data that I wanted is accessable. 

 

This helps tremendously and I really appreciate you taking the time; I'm excited to get this working. I'll update this thread with my progress :)