1 Answer
- Newest
- Most votes
- Most comments
0
You cannot use a Lambda function today to call another flow, but if you want to see a sample solution that routes a call to voice mail check out this repository: https://github.com/amazon-connect/voicemail-express-amazon-connect.
You can call a Lambda function to start an outbound call using the API, but it will be a brand new call that start an inbound flow. If your original call has any data attached you will need to manually "stitch" it to the new call.
answered 2 years ago
Relevant content
asked 3 years ago

Is using the lambda function to start an outbound call using the API the same as transferring to external? What will be the best approach using the API to transfer, Transfer to External using a Lambda to capture the attributes and save it to DDB, or use the blocks to initiate the audio capture within the customer queue flow?
The outbound API creates a new call that connects the customer first then executes an inbound flow. The transfer to phone number needs an active call and actually conferences in the external number. If you use it to trombone the original call back into Connect you may experience voice quality issues. If all you want is to send the customer call to voicemail in certain conditions, please check the voice mail solution I shared with you.