
App.CallRecording.Transcript.TextAction and adding it to the callRecording.transcript.textActions
array of your app.ts file.
Example
process-call-transcript.ts
app.ts
Arguments
The unique identifier for this call recording transcript selection action.It is only used internally; never shown to the user.
A human-readable label of the call recording transcript selection action that will be shown to the
user when they make a text selection on a call recording transcript.
onTrigger
async (selection: { transcript: Array<{ speaker: string text: string }>, url: string }) => Promise<void>
The function to run when the action is triggered. You’ll likely want to show a
dialog or run a server function here.The function will be given an object containing:
transcript– the portion of the transcript that was selected, with speaker informationurl– a url linking directly back to the call recording transcript section selected
