Independent study lab
This is an independent, free, learning-only student project. It respects every company and vendor. Trademarks belong to their owners. It is not affiliated with or endorsed by Amazon Web Services, Cisco, Genesys, Salesforce, Twilio, or any other company. If you have a concern, the page will be removed or corrected promptly through the contact form. Nothing here is sold. There are no ads. The author is happy to volunteer for any organization.
When the work is slower than eight seconds — Learn it in 5 minutes
About five minutes of reading
Silence is a defect. Async plus a prompt is the pattern.
Set the block to asynchronous. Play a prompt. Use Wait if you must observe completion, up to 60 seconds. Do not chain synchronous calls until you pass 20 seconds in total.
If the result is only needed by the agent, write it to a profile or a case and let the workspace load it. The caller does not have to wait on the phone.
- Tell the caller what is happening.
- A timeout branch still needs a prompt.
- Long work belongs in a queue or a task, not in the greet flow.
- Measure duration in CloudWatch before you argue about the flow.
Number on this page: Sequence cap 20s. Across Lambda calls in the contact
Sources and go deeper
- Flow block in Connect Customer: AWS Lambda function - Amazon Connect Customer AWS docs. last checked 2026-10
- What is AWS Lambda? - AWS Lambda AWS docs. last checked 2026-10
- Troubleshoot Lambda function failures in Amazon Connect | AWS re:Post community. last checked 2026-10
- AWS Lambda - Wikipedia Wikipedia. last checked 2026-10