- Newest
- Most votes
- Most comments
Based on the information provided, it seems you're encountering an issue with your Amazon Connect flow where the "Play Prompt" blocks are being skipped in favor of the "Get Customer Input" block. This behavior suggests there might be a problem with how your flow is structured or how the queue metrics are being evaluated.
To address this issue, consider the following points:
-
Ensure that your "Get queue metrics" block is correctly configured to retrieve the wait time for the specific queue you're targeting.
-
Verify that the "Check contact attributes" block is properly set up to evaluate the queue wait time metric. Make sure you're using the correct attribute name for wait time (e.g., "Queue.WaitTime").
-
Check that the conditions in your "Check contact attributes" block are correctly defined to route to the appropriate "Play Prompt" blocks based on the wait time values.
-
Confirm that the connections between blocks are correct, with each "Play Prompt" block properly linked to the next evaluation or to the "Get Customer Input" block.
-
Consider adding a "Set contact attributes" block after the "Get queue metrics" block to store the wait time in a custom attribute. This can help you verify that the wait time is being correctly retrieved and used in your flow.
-
Use a "Loop prompts" block instead of individual "Play Prompt" blocks if you want to continuously play messages while the customer is in the queue. This block allows you to set up multiple prompts and specify how often they should repeat.
-
If you're using a customer queue flow, make sure it's properly configured and associated with your queue in the routing settings.
If after checking these points, you're still experiencing issues, you may want to simplify your flow for testing purposes. Start with a basic structure and gradually add complexity to identify where the problem occurs. Additionally, use Amazon Connect's debugging tools, such as contact flow logs, to trace the path of your contacts through the flow and identify any unexpected behavior.
Remember, the order and connection of blocks in your flow are crucial for determining the customer's experience. Ensure that your flow logic accurately reflects the intended customer journey based on queue wait times.
Sources
Set up a flow to manage contacts in a queue in Amazon Connect - Amazon Connect
Use attributes in Amazon Connect to route based on number of contacts in a queue - Amazon Connect
Create prompts in Amazon Connect - Amazon Connect
answered 2 years ago
To troubleshoot the issue where your Amazon Connect flow skips the "Play Prompt" block and proceeds to the "Get Customer Input" block, here are the key points to consider:
- Flow Sequencing: Ensure that the "Play Prompt" block is properly placed before the "Get Customer Input" block in the flow. Skipping can occur if these blocks are not correctly sequenced, especially when they are too close together. For example, if the "Get Customer Input" block immediately follows the "Play Prompt" block without a sufficient gap, the prompt might be interrupted.
- Queue Metrics: you're trying to play prompts based on queue wait time metrics, ensure that the metrics from the "Check queue status" block are properly evaluated. If the queue wait time condition is not met or the system fails to retrieve it, the flow may not trigger the "Play Prompt" block and move directly to the next block .
- Timeouts and Conditions: timeout settings in the "Get Customer Input" block. If the system is expecting input quickly, it may skip the prompt playback to prioritize input collection. Configuring the timeouts appropriately (e.g., adding a delay before triggering input collection) can prevent premature skipping.
- Enable Logging in the Flow: To debug why the "Play Prompt" block is being skipped, enable logging in your contact flow. • Go to the flow you're working on in the Amazon Connect console. • Enable Flow Logging to capture details on the execution of each block. • Logs are sent to CloudWatch, where you can review them to trace the flow’s execution and see if any blocks are being skipped or if metrics are not being retrieved correctly. • After enabling logging, interact with the flow and trigger the sequence in question. • Check the CloudWatch logs for any errors, warnings, or unexpected transitions between blocks. These logs will help you identify if the "Play Prompt" block was skipped, why the queue metric failed, or if there are any other issues in the flow.
By following these steps, including enabling logging and reviewing the logs in CloudWatch, you should be able to diagnose and resolve the issue of the "Play Prompt" block being skipped in your flow.
answered 2 years ago
Relevant content
asked 9 months ago
asked 4 years ago
