jarlei | 2024-08-19 20:25:54 UTC | #1
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
John_Carnell | 2024-08-20 17:52:02 UTC | #2
Hi Jariel,
There are three ways you can import an architect flow:
- Using the Archy tool. This node-base command line tool can import/export an Architect flow in either an i3 or YAML format.
- Using CX as Code. CX as Code is our Terraform provider for Genesys Cloud and we can import a flow using CX as Code.
- Our API. Our CX as Code provider uses our public API to import an Architect flow. If you look at the https://github.com/MyPureCloud/terraform-provider-genesyscloud/blob/main/genesyscloud/architect_flow/resource_genesyscloud_flow.go#L70-L167 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
system | 2024-09-20 17:52:23 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: 28014