- Newest
- Most votes
- Most comments
My module code is designed assuming that you would want to give callers multiple chances at each IVR "Get Customer Input" block in order to get proper input from the caller.
Import the below module code -- copy/paste the text directly into the module flow, or save the text as a text file and then import to the module: {"Version":"2019-10-30","StartAction":"fc3a5ed4-5606-4db0-a69a-cb775ba098fe","Metadata":{"entryPointPosition":{"x":-152,"y":41.6},"ActionMetadata":{"7c6aac6f-909f-4763-abc9-b1c12f8dc8c5":{"position":{"x":505.6,"y":211.2}},"6bd5c230-ba90-45e2-8f5a-dd52816378a0":{"position":{"x":278.4,"y":168.8}},"fc3a5ed4-5606-4db0-a69a-cb775ba098fe":{"position":{"x":-36.8,"y":22.4}},"e4504ed7-614c-464b-a789-4a7f01495ee5":{"position":{"x":512,"y":-27.2}},"9de3dc34-1a13-4240-b1c6-3784eed4f4db":{"position":{"x":232.8,"y":-74.4}}},"Annotations":[{"type":"default","id":"21e76eb3-c5ee-4eae-8931-2cb745cbd046","content":"This Looping is optional.\n.\nThe problem with using this "Resuable" module approach is that the number of attempts either needs to be left infinite for the caller (by not having this Loop block at all), and/or that this Loop block controls the number of loops for the caller's entire call journey (across multiple blocks and Get Customer Input blocks ... so just keep that in mind).","actionId":"fc3a5ed4-5606-4db0-a69a-cb775ba098fe","isFolded":false,"position":{"x":-26.833333333333332,"y":234.66666666666666},"size":{"height":295,"width":300}}],"name":"Reusuable No-Match and No-Input Module","description":"","status":"published","hash":{}},"Actions":[{"Parameters":{},"Identifier":"7c6aac6f-909f-4763-abc9-b1c12f8dc8c5","Type":"DisconnectParticipant","Transitions":{}},{"Parameters":{"Text":"We're having trouble connecting your call. Please try again later."},"Identifier":"6bd5c230-ba90-45e2-8f5a-dd52816378a0","Type":"MessageParticipant","Transitions":{"NextAction":"7c6aac6f-909f-4763-abc9-b1c12f8dc8c5","Errors":[{"NextAction":"7c6aac6f-909f-4763-abc9-b1c12f8dc8c5","ErrorType":"NoMatchingError"}]}},{"Parameters":{"LoopCount":"12"},"Identifier":"fc3a5ed4-5606-4db0-a69a-cb775ba098fe","Type":"Loop","Transitions":{"NextAction":"6bd5c230-ba90-45e2-8f5a-dd52816378a0","Conditions":[{"NextAction":"9de3dc34-1a13-4240-b1c6-3784eed4f4db","Condition":{"Operator":"Equals","Operands":["ContinueLooping"]}},{"NextAction":"6bd5c230-ba90-45e2-8f5a-dd52816378a0","Condition":{"Operator":"Equals","Operands":["DoneLooping"]}}]}},{"Parameters":{},"Identifier":"e4504ed7-614c-464b-a789-4a7f01495ee5","Type":"EndFlowModuleExecution","Transitions":{}},{"Parameters":{"Text":"I'm sorry, I didn't recognize that. Please try again."},"Identifier":"9de3dc34-1a13-4240-b1c6-3784eed4f4db","Type":"MessageParticipant","Transitions":{"NextAction":"e4504ed7-614c-464b-a789-4a7f01495ee5","Errors":[{"NextAction":"e4504ed7-614c-464b-a789-4a7f01495ee5","ErrorType":"NoMatchingError"}]}}],"Settings":{"InputParameters":[],"OutputParameters":[],"Transitions":[{"DisplayName":"Success","ReferenceName":"Success","Description":""},{"DisplayName":"Error","ReferenceName":"Error","Description":""}]}}
Relevant content
- asked 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago