Ragheb,
-
Thats corretct, when looking up the contact in Salesforce, return the user ID.
-

-
After that, I call another Salesforce API to retrieve the user's email using the ID.
-

-
After this, once I have the email, I route it using the Preferred Agent method.
-

------------------------------
Kaio Oliveira
GCP - GCQM - GCS - GCA - GCD - GCO - GPE & GPR - GCWM
PS.: I apologize if there are any mistakes in my English; my primary language is Portuguese-Br.
------------------------------
Original Message:
Sent: 07-05-2026 23:47
From: Ragheb Gmira
Subject: SCV - Routing a call to the Salesforce Account Owner with Service Cloud Voice
Hi Kaio,
Thank you for sharing your approach.
The Data Action for the Account Owner returns a Salesforce User ID. How did you map or use that Salesforce User ID to route the interaction to the corresponding Genesys Cloud agent using Preferred Agent routing?
Thanks in advance for your clarification.
Best regards,
Ragheb
------------------------------
Ragheb Gmira
Consultant IT
------------------------------
Original Message:
Sent: 07-05-2026 07:48
From: Kaio Oliveira
Subject: SCV - Routing a call to the Salesforce Account Owner with Service Cloud Voice
Hi Ragheb
-
We implemented a very similar use case in the past, although using Salesforce Open CTI instead of Service Cloud Voice.
Our approach was:
- The inbound call arrives in Genesys Cloud.
- We use a Data Action to call a Salesforce API, passing the caller's phone number.
- If a matching customer is found, the API returns the customer information, including the assigned Account Owner (or the corresponding agent).
- Based on the API response, we use the Preferred Agent routing method in Genesys Cloud to route the interaction directly to the assigned agent whenever they are available. If the preferred agent is unavailable, the interaction follows the normal routing strategy.
-
This architecture worked very well because the routing decision was made entirely within Genesys Cloud based on Salesforce data retrieved in real time.
I haven't implemented this specifically with Service Cloud Voice, so I'm not sure whether the same approach is officially supported in that integration, but from a Genesys Cloud perspective, using a Data Action together with Preferred Agent routing is definitely a viable solution.
------------------------------
Kaio Oliveira
GCP - GCQM - GCS - GCA - GCD - GCO - GPE & GPR - GCWM
PS.: I apologize if there are any mistakes in my English; my primary language is Portuguese-Br.
------------------------------