{
	"Version": "2019-10-30",
	"StartAction": "e785dee4-4fd9-4ef2-86a8-444ec569634d",
	"Metadata": {
		"entryPointPosition": {
			"x": 20,
			"y": 20
		},
		"snapToGrid": false,
		"ActionMetadata": {
			"e785dee4-4fd9-4ef2-86a8-444ec569634d": {
				"position": {
					"x": 171,
					"y": 23
				}
			},
			"3e31d52d-bf58-4026-8421-e2e5b60b4243": {
				"position": {
					"x": 406,
					"y": 20
				},
				"conditionMetadata": [{
					"operator": {
						"name": "Equals",
						"value": "Equals",
						"shortDisplay": "="
					},
					"value": "TASK",
					"id": "ad75d5f6-a479-4ddf-a6bc-3ebeb67a83b7"
				}]
			},
			"202f83f8-3dbe-42c4-9f62-9dc48e03b25e": {
				"position": {
					"x": 172.50001525878906,
					"y": 253.00001525878906
				},
				"useDynamic": false
			},
			"114ac34a-ed48-4904-ac35-ce24ef5ce916": {
				"position": {
					"x": 650,
					"y": 244
				},
				"conditionMetadata": [{
					"operator": {
						"name": "Equals",
						"value": "Equals",
						"shortDisplay": "="
					},
					"value": "$.Attributes.verificationCode",
					"id": "2b6b603c-c71b-42c2-8056-4be92bcede8c"
				}]
			},
			"6201ecb2-b2e5-456d-91f4-1fbecaa56931": {
				"position": {
					"x": 894,
					"y": 244
				},
				"useDynamic": false
			},
			"9ba5e23d-2db5-4fc2-8163-ad0659a8a45f": {
				"position": {
					"x": 419,
					"y": 258
				},
				"useDynamic": false,
				"useDynamicForEncryptionKeys": true,
				"useDynamicForTerminatorDigits": false,
				"countryCodePrefix": "+1"
			},
			"0aa55291-1dc6-43f3-ab7e-b0d25a6b196a": {
				"position": {
					"x": 901,
					"y": 415
				},
				"useDynamic": false
			},
			"15d1b07a-a672-47d7-bc8b-d5dd7296e10a": {
				"position": {
					"x": 571,
					"y": 498
				},
				"useDynamic": false
			},
			"6c3054e1-de4d-47ce-ac18-88408e5735d9": {
				"position": {
					"x": 636,
					"y": 19
				},
				"useDynamic": false,
				"queue": {
					"id": "arn:aws:connect:us-west-2:651223342218:instance/6516cbfd-70a1-43c9-9174-fda3c70b0aab/queue/1c041719-0ae5-4741-a106-34c249a5fe55",
					"text": "BasicQueue"
				}
			},
			"a0892f32-1efd-48a2-a63a-d96caf6079ac": {
				"position": {
					"x": 865,
					"y": 16
				},
				"useDynamic": false
			},
			"1fc48935-77ed-4978-b38d-350f60b97f20": {
				"position": {
					"x": 1119,
					"y": 7
				}
			},
			"d22f0994-b229-40f7-ac2a-bf3a4bf021af": {
				"position": {
					"x": 919,
					"y": 586
				},
				"useDynamic": false
			},
			"5bd91c06-0be5-4f25-9b1b-2ae206e5d7b7": {
				"position": {
					"x": 1144,
					"y": 581
				}
			}
		}
	},
	"Actions": [{
		"Identifier": "e785dee4-4fd9-4ef2-86a8-444ec569634d",
		"Parameters": {
			"FlowLoggingBehavior": "Enabled"
		},
		"Transitions": {
			"NextAction": "3e31d52d-bf58-4026-8421-e2e5b60b4243",
			"Errors": [],
			"Conditions": []
		},
		"Type": "UpdateFlowLoggingBehavior"
	}, {
		"Identifier": "3e31d52d-bf58-4026-8421-e2e5b60b4243",
		"Parameters": {
			"ComparisonValue": "$.Channel"
		},
		"Transitions": {
			"NextAction": "202f83f8-3dbe-42c4-9f62-9dc48e03b25e",
			"Errors": [{
				"NextAction": "202f83f8-3dbe-42c4-9f62-9dc48e03b25e",
				"ErrorType": "NoMatchingCondition"
			}],
			"Conditions": [{
				"NextAction": "6c3054e1-de4d-47ce-ac18-88408e5735d9",
				"Condition": {
					"Operator": "Equals",
					"Operands": ["TASK"]
				}
			}]
		},
		"Type": "Compare"
	}, {
		"Identifier": "202f83f8-3dbe-42c4-9f62-9dc48e03b25e",
		"Parameters": {
			"Text": "Hello $.Attributes.CustomerName! Thank you for contacting our company, about your $.Attributes.Issue request."
		},
		"Transitions": {
			"NextAction": "9ba5e23d-2db5-4fc2-8163-ad0659a8a45f",
			"Errors": [],
			"Conditions": []
		},
		"Type": "MessageParticipant"
	}, {
		"Identifier": "114ac34a-ed48-4904-ac35-ce24ef5ce916",
		"Parameters": {
			"ComparisonValue": "$.StoredCustomerInput"
		},
		"Transitions": {
			"NextAction": "0aa55291-1dc6-43f3-ab7e-b0d25a6b196a",
			"Errors": [{
				"NextAction": "0aa55291-1dc6-43f3-ab7e-b0d25a6b196a",
				"ErrorType": "NoMatchingCondition"
			}],
			"Conditions": [{
				"NextAction": "6201ecb2-b2e5-456d-91f4-1fbecaa56931",
				"Condition": {
					"Operator": "Equals",
					"Operands": ["$.Attributes.verificationCode"]
				}
			}]
		},
		"Type": "Compare"
	}, {
		"Identifier": "6201ecb2-b2e5-456d-91f4-1fbecaa56931",
		"Parameters": {
			"Text": "Thank you."
		},
		"Transitions": {
			"NextAction": "6c3054e1-de4d-47ce-ac18-88408e5735d9",
			"Errors": [],
			"Conditions": []
		},
		"Type": "MessageParticipant"
	}, {
		"Identifier": "9ba5e23d-2db5-4fc2-8163-ad0659a8a45f",
		"Parameters": {
			"SSML": "<speak>Please enter <s><say-as interpret-as=\"digits\">$.Attributes.verificationCode</say-as></s> for verification purpose.</speak>",
			"StoreInput": "True",
			"InputTimeLimitSeconds": "5",
			"InputValidation": {
				"CustomValidation": {
					"MaximumLength": "3"
				}
			},
			"DTMFConfiguration": {
				"DisableCancelKey": "False"
			}
		},
		"Transitions": {
			"NextAction": "114ac34a-ed48-4904-ac35-ce24ef5ce916",
			"Errors": [{
				"NextAction": "15d1b07a-a672-47d7-bc8b-d5dd7296e10a",
				"ErrorType": "NoMatchingError"
			}],
			"Conditions": []
		},
		"Type": "GetParticipantInput"
	}, {
		"Identifier": "0aa55291-1dc6-43f3-ab7e-b0d25a6b196a",
		"Parameters": {
			"Text": "We were unable to verify the code. Please try again."
		},
		"Transitions": {
			"NextAction": "15d1b07a-a672-47d7-bc8b-d5dd7296e10a",
			"Errors": [],
			"Conditions": []
		},
		"Type": "MessageParticipant"
	}, {
		"Identifier": "15d1b07a-a672-47d7-bc8b-d5dd7296e10a",
		"Parameters": {
			"LoopCount": "2"
		},
		"Transitions": {
			"NextAction": "d22f0994-b229-40f7-ac2a-bf3a4bf021af",
			"Errors": [],
			"Conditions": [{
				"NextAction": "d22f0994-b229-40f7-ac2a-bf3a4bf021af",
				"Condition": {
					"Operator": "Equals",
					"Operands": ["DoneLooping"]
				}
			}, {
				"NextAction": "9ba5e23d-2db5-4fc2-8163-ad0659a8a45f",
				"Condition": {
					"Operator": "Equals",
					"Operands": ["ContinueLooping"]
				}
			}]
		},
		"Type": "Loop"
	}, {
		"Identifier": "6c3054e1-de4d-47ce-ac18-88408e5735d9",
		"Parameters": {
			"QueueId": "arn:aws:connect:us-west-2:651223342218:instance/6516cbfd-70a1-43c9-9174-fda3c70b0aab/queue/1c041719-0ae5-4741-a106-34c249a5fe55"
		},
		"Transitions": {
			"NextAction": "a0892f32-1efd-48a2-a63a-d96caf6079ac",
			"Errors": [{
				"NextAction": "1fc48935-77ed-4978-b38d-350f60b97f20",
				"ErrorType": "NoMatchingError"
			}],
			"Conditions": []
		},
		"Type": "UpdateContactTargetQueue"
	}, {
		"Identifier": "a0892f32-1efd-48a2-a63a-d96caf6079ac",
		"Transitions": {
			"NextAction": "1fc48935-77ed-4978-b38d-350f60b97f20",
			"Errors": [{
				"NextAction": "1fc48935-77ed-4978-b38d-350f60b97f20",
				"ErrorType": "NoMatchingError"
			}, {
				"NextAction": "1fc48935-77ed-4978-b38d-350f60b97f20",
				"ErrorType": "QueueAtCapacity"
			}],
			"Conditions": []
		},
		"Type": "TransferContactToQueue"
	}, {
		"Identifier": "1fc48935-77ed-4978-b38d-350f60b97f20",
		"Type": "DisconnectParticipant",
		"Parameters": {},
		"Transitions": {}
	}, {
		"Identifier": "d22f0994-b229-40f7-ac2a-bf3a4bf021af",
		"Parameters": {
			"Text": "Thank you for contacting us. However we were unable to complete verification. Please contact us later."
		},
		"Transitions": {
			"NextAction": "5bd91c06-0be5-4f25-9b1b-2ae206e5d7b7",
			"Errors": [],
			"Conditions": []
		},
		"Type": "MessageParticipant"
	}, {
		"Identifier": "5bd91c06-0be5-4f25-9b1b-2ae206e5d7b7",
		"Type": "DisconnectParticipant",
		"Parameters": {},
		"Transitions": {}
	}]
}