Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Export Canned Responses

    Posted 02-28-2025 13:53
    No replies, thread closed.

    Is there a method to export canned responses (including body of canned response messages)? I've searched Resource Center, Developer, and Community, but haven't found anything yet.

    Thank you.


    #Unsure/Other

    ------------------------------
    Mark Kastner
    Gate 1 Travel
    ------------------------------


  • 2.  RE: Export Canned Responses

    Posted 02-28-2025 15:22
    No replies, thread closed.

    Hey Mark,

    Did you see this thread in the Genesys Cloud Developer Forum? I think this may have some useful info for you.



    ------------------------------
    Jason Kleitz
    Online Community Manager/Moderator
    ------------------------------



  • 3.  RE: Export Canned Responses

    Posted 03-01-2025 17:42
    No replies, thread closed.

    Hi Mark,

    There are Genesys APIs available to export the canned responses. Looks for the Response management category in API explorer.



    ------------------------------
    Thanks!

    Ganesh S
    ------------------------------



  • 4.  RE: Export Canned Responses
    Best Answer

    Posted 03-03-2025 10:26
    No replies, thread closed.

    Hi Mark,

    If you install the Genesys Cloud Platform SDK CLI (https://developer.genesys.cloud/devapps/cli/), then exporting just about anything out of Genesys Cloud becomes very easy from the command line.  Using the CLI to export canned responses takes to CLI commands.

    The first command you have to run is to list all of the defined canned response libraries so that you can get the library's ID:

    gc responsemanagement libraries list -a > list_of_libraries.txt

    Then using one of the returned library IDs you can export all the canned responses for that library (note replace my example library id with one of yours):

    gc responsemanagement responses list -a --libraryId 9ca093fa-2b83-455a-9820-9bc6a378a8c9 > list_of_canned_responses.txt

    You'll end up with the two files to the right of the ">" sign.  You can open those files with any text editor or word processor.  You'll see the data in JSON format, and there are plenty of tools that can take that JSON and convert it to something useful for you, including Excel.

    I hope that helps.



    ------------------------------
    Jim Crespino
    Senior Director, Developer Evangelism
    Genesys
    https://developer.genesys.com
    ------------------------------