Newer Version Available
Contact Flow: Outbound Flow with Transcription
This contact flow defines the customer experience for an outbound
call (the agent calling the customer) where transcription is enabled.

| Block | Description |
|---|---|
| Set logging behavior [1] | This block turns on logging in Amazon Connect for this flow. We recommend logging for debugging and evaluating the contact flow. |
| Set recording and analytics behavior [2] | This block sets the recording behavior to On. This action records the audio conversation between the agent and the customer, which can be accessed later from the VoiceCall record. |
| Set contact attributes [3] | This block sets the isTranscribed attribute to true and the languageCode to en-US in the contact trace record (CTR). Update the language code as necessary. isTranscribed is set to false if any errors occur while starting media streaming or invoking the transcription Lambda function. |
| Start media streaming [4] | This block starts media streaming for transcription purposes. Every call uses two streams (from the customer and from the agent). |
| Check contact attributes [5] | This block checks whether isTranscribed is set to true. |
| Invoke AWS Lambda function [6] | This block calls the provided kvsConsumerTrigger Lambda Function, which starts the transcription in Salesforce. |
| End flow [7] | This block ends the flow. |