Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Downloading Architect Flows

    Posted 03-22-2022 19:19
    No replies, thread closed.
    Hi,

    OK, so I am trying to put together some documentation surrounding our configurations. The idea is to use the API to grab a lot of the information and update the various documentation automatically.

    All this is working fine, but I'm running up against a roadblock when it comes to Architect. I need to create a master table of Participant Data items that are set / read as well as variables used, their descriptions etc. I have found I can download yaml files which I can parse to get the information I need, however we currently have 134 flows and that's a lot of manual exporting! I would also like to automate the whole process so it runs periodically and therefore captures changes pretty quickly.That's not really compatible with a manual download process.

    So, has anyone figured out a way to programmatically export / download a flow definition yaml file? (I am assuming that the actual configurations themselves cannot be accessed via the API.)

    TIA
    #ArchitectureandDesign
    #Integrations


  • 2.  RE: Downloading Architect Flows

    Posted 03-22-2022 19:24
    No replies, thread closed.
    Use archy to do the exports.  You can still only export 1 at a time, but you can automate a process to do it for all of them.

    https://developer.genesys.cloud/devapps/archy/

    ------------------------------
    Melissa Bailey
    Genesys - Employees
    ------------------------------



  • 3.  RE: Downloading Architect Flows

    Posted 03-22-2022 21:31
    No replies, thread closed.
    You can also use the CLI of gc flows latestconfiguration get <FlowId> to export as JSON or if you use alternativeformats as YAML.

    ------------------------------
    Robert Wakefield-Carl
    Avtex Solutions, LLC
    Contact Center Innovation Architect
    robertwc@avtex.com
    https://www.Avtex.com
    https://RobertWC.Blogspot.com
    ------------------------------