Amazon Connect Flow language is JSON-based representation of a series of flow actions, and the criteria for moving between them. In other words, what we draw manually using flowchart can be represented in JSON format. Amazon Connect Flow editor also provides a an option to “export” and “import” the JSON files.
However, I can’t imagine any practical use case or scenario where those JSON files could be helpful. We could consider a case where we export our flows into JSON files and later in case of disaster or if we simply want to create a copy of the existing instance, we could use those files.
The problem is that when you export an existing flow (or usually flows) it exports ARNs of all existing resources. In particular JSON files contain ARNs of all queues which are unique and belong to only current amz connect instance. When this instance is gone all ARNs become invalid and so we can’t use those JSON files for import and restore the flows in a new amz connect instance.
First creating an new amz connect instance and resources and later replacing ARNs inside a JSON manually does not make sense either.
So, could someone explain what is the purpose of the Amazon Connect Flow language and how to use it?
PS: Please don’t post links to the AWS docs, they are useless.