Newer Version Available

This content describes an older version of this product. View Latest

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.

Supported REST HTTP Methods

URI
/services/data/vXX.X/actions/standard/getConversationTranscript
Formats
JSON, XML
HTTP Methods
GET, HEAD, POST
Authentication
Authorization: Bearer token

Inputs

Input Details
recordId
Type
string
Description
Required. The ID of the related voice or video call record to get the transcript for.
transcriptType
Type
picklist
Description
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.

Outputs

output Details
structuredTranscript
Type
Apex
Description
An Apex ConversationTranscript record that contains the full conversation transcript. This is available for Processed transcript types only.
unformattedTextTranscript
Type
string
Description
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.

Usage

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.