Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  get group Id by group name

    Posted 08-04-2025 03:43
    Edited by Smriti Shomya 08-04-2025 03:43

    is there any way to get group id by group name in terraform 

    i can get queue id by queue name using this-

    data "genesyscloud_routing_queue" "my_queue" {
      name = var.queueName
    }

    but not able to get groupId 


    #CXasCode
    #PlatformAPI

    ------------------------------
    Smriti Shomya
    ------------------------------



  • 2.  RE: get group Id by group name

    Posted 08-05-2025 05:13

    Use Group Data Source to get id of group

    data "genesyscloud_group" "group" {
      name = "example group name"
    }

    This will return group Id.



    ------------------------------
    Jitesh Sonkusare
    Software Developer
    ------------------------------



  • 3.  RE: get group Id by group name

    Posted 08-05-2025 06:09

    it is showing this error.



    ------------------------------
    Smriti Shomya
    ------------------------------



  • 4.  RE: get group Id by group name

    Posted 08-05-2025 06:16

    Check the group visibility in Genesys Cloud. It should be set to Public.



    ------------------------------
    Jitesh Sonkusare
    Software Developer
    ------------------------------