I recently saw that in the graphical interface we can now export the flows in yaml format.
Does anyone know what api we have to invoke to get that same yaml?
Thanks in advance
Charly
I recently saw that in the graphical interface we can now export the flows in yaml format.
Does anyone know what api we have to invoke to get that same yaml?
Thanks in advance
Charly
Hi Charly,
There's no Public API endpoint for exporting YAML, but you can use Archy (the command line tool for Architect) or Architect Scripting (the NPM library for Architect) to export a flow as YAML.
Archy info (see "Is there a way to export a flow from Genesys Cloud Architect to YAML?" and ignore the third question on here... that one is out of date and will be changed): https://developer.genesys.cloud/devapps/archy/faq
Scripting functions: https://mypurecloud.github.io/purecloud-flow-scripting-api-sdk-javascript/ArchBaseFlow.html#exportToDirAsync and https://mypurecloud.github.io/purecloud-flow-scripting-api-sdk-javascript/ArchBaseFlow.html#exportToObjectAsync
Thanks,
Scott
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.