MessageParticipantIteratively - Amazon Connect


Loops a sequence of prompts while a customer or agent is on hold or in queue. This block can be configured with an interruption timeout when in a Queue flow that interrupts the message loop to run other flow logic. The message loop can include entries for both Text and Prompts.

Parameter object

{ "Messages" : [ A List of messages to be played in a loop. These are defined with either TTS or a Prompt { "Text" : An optional string that defines text to send to the participant }, { "PromptId" : A prompt ID or prompt ARN to play to the participant }, { "SSML" : An optional string that defines the ssml } ], "InterruptFrequencySeconds" : [Optional] Time to elapse before the action completes with "MessagesInterrupted" run result }

Results and conditions

When the timeout elapses, the action completes with the result as "MessagesInterrupted". Conditions are supported, but only the "Equals" operator is supported. The only supported operand is MessagesInterrupted.


  • NoMatchingError - if no other Error matches.


This action is supported in Customer Queue, Customer Hold, and Agent Hold flows.

"PromptId" is supported only for the Voice channel, all other channels support only the "Text" option.

If this action is used on the chat channel, it immediately takes the error branch. If no error branch is available, the flow stop running and the contact is routed to next available agent.

Corresponding block in the UI

Loop prompts