Get Conversation Transcript Action
Gets a transcript for a voice or video call.
This action is available in API version 63.0 and later.
On invocation, this action gets the transcript for a voice or video call record.
Typical use cases include:
- Ground a customer-defined prompt template with a conversation transcript
- Automate updates to relevant records based on conversation data
Some considerations include:
- The transcript must be available in order to retrieve it.
- The user calling the action must have Read access to the voice or video call.
- Video calls can retrieve the initial raw vendor transcript, but voice calls can retrieve the processed transcript only.
URI: /services/data/vXX.X/actions/standard/getConversationTranscript
Formats: JSON, XML
HTTP Methods: GET, HEAD, POST
Authentication: Authorization: Bearer token
| Input | Type | Description |
|---|---|---|
recordId | string | Required. The ID of the related voice or video call record to get the transcript for. |
transcriptType | picklist | The type of transcript. The Raw type includes the plain text transcript, while the Processed type contains the full conversation transcript. The Raw transcript type is limited to video calls only. |
| Output | Type | Description |
|---|---|---|
structuredTranscript | Apex | An Apex ConversationTranscript record that contains the full conversation transcript. This is available for Processed transcript types only. |
unformattedTextTranscript | string | The conversation transcript in plain text format. For Processed transcript types, the speaker and conversation content are shown. For Raw transcript types, whatever is present from the vendor is shown. |
Sample Input
Sample Output
For more information about this action, see Flow Core Actions: Get Conversation Transcript and Get Conversation Transcript Invocable Action in Salesforce Help.