Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Export flow yaml API

    Posted 06-05-2025 19:21

    Carlos_Leal | 2021-06-11 19:40:05 UTC | #1

    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


    anon99530797 | 2021-06-11 20:43:57 UTC | #2

    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


    system | 2021-07-12 20:44:00 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 11187