in website-creator/js/connectflows.js [709:729]
async function getContactFlowDetails(accessKey, secretKey, region, instance, flow){
var p = await setAWSConfig(accessKey, secretKey, region);
handleWindow(true, '');
var params = {InstanceId : instance, 'ContactFlowId' : flow};
connect.describeContactFlow(params, function (err, res) {
console.log(params);
if (err) {
console.log("Error response: ", err);
handleWindow(false, '');
showResults(err);
} else {
console.log(res);
console.log(JSON.stringify(res));
handleWindow(false, '');
console.log(res);
var t = JSON.parse(res.ContactFlow.Content);
formatJSON(t, '#instancesFormatted');
$( "#dialogJSON" ).dialog( "open" );
}
});
}