Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  sers assigned to each skill

    Posted 12-02-2024 05:59
    No replies, thread closed.

    Hello,

    How can I extract the list of users assigned to each skill?

    Thank you


    #API/Integrations
    #Quality Management
    #Reporting/Analytics
    #Routing(ACD/IVR)
    #System Administration
    #Telephony
    #Unsure/Other

    ------------------------------
    Rihab
    ------------------------------


  • 2.  RE: sers assigned to each skill

    Posted 12-02-2024 09:11
    No replies, thread closed.

    Hi RIhab,

    There isnt currently an inbuilt export/view for this information, although there is an idea for this functionality in the Genesys Cloud Product Ideas Lab

    There is also a thread within the Developer Forum with some info on how to get this information using the APIs



    ------------------------------
    Sam Jillard
    Online Community Manager/Moderator
    Genesys - Employees
    ------------------------------



  • 3.  RE: sers assigned to each skill
    Best Answer

    Posted 12-03-2024 14:46
    No replies, thread closed.

    Rihab, 

    Unfortunately there isn't an API that will get you the members of each skill.

    If you are familiar with the Genesys Cloud Platform CLI you can get the list of users in an org and call for the skills using the skills expand flag.

    Here is an PowerShell example after you have downloaded and installed the GC CLI.  

    $Response = .\gc.exe users list --expand lasttokenissues,authorization,dateLastLogin,profileskills,locations,skills --state active --autopaginate --pageSize 500 --clientid $ClientId --clientsecret $ClientSecret --environment $Region --outputformat JSON --profile gc-cli | ConvertFrom-Json

    Here is an example of what you'll get in the response for one of the user objects. 

    Here is how you can drill down to the skills for the user object. 
    You can then loop thru each of the user objects to compile a new Custom Array to export it in your desired file format. You can then use a "If Contains" filter in the skills column to show the members. If you export to excel or csv one of the tabs/columns will contain an array of skill names.


    ------------------------------
    Carlos Albor
    Senior Principal PS Consultant
    ------------------------------



  • 4.  RE: sers assigned to each skill

    Posted 12-03-2024 16:47
    No replies, thread closed.

    GC CLI along with JQ is a great too for doing this as Carlos mentioned.  Here is the one I use for User, Skill, and Proficiency.

    gc -p {{profileName}} users list -a --expand="skills" | jq -r ".[] | [ .name, ([.skills[].name + \"(\" + (.skills[].proficiency | tostring) + \")\"] | join(\",\")) ] | @csv" > UsersWithSkills.csv



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------