API REST to create and publish flow from yaml or .i3inboundMessage

Hi Guys,

I looked at the APIs available for both flow and architect and I couldn't find any APIs that allow you to import a file (yaml or i3InboundMessage) so that you can create a flow with the available APIs and publish it with the content of the imported files.

I'll be waiting for your response and I thank you in advance,

Járlei

Hi Jariel,

There are three ways you can import an architect flow:

  1. Using the Archy tool. This node-base command line tool can import/export an Architect flow in either an i3 or YAML format.

  2. Using CX as Code. CX as Code is our Terraform provider for Genesys Cloud and we can import a flow using CX as Code.

  3. Our API. Our CX as Code provider uses our public API to import an Architect flow. If you look at the terraform-provider-genesyscloud/genesyscloud/architect_flow/resource_genesyscloud_flow.go at main · MyPureCloud/terraform-provider-genesyscloud · GitHub file you can see how our provider deploys a flow to our public API.

Note: Our API only supports the importing of YAML based flows. We do not support using I3 flows in #2 and #3.

Thanks,
John Carnell
Director, Developer Engagement

1 Like

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