Skip to main content
Call recording insight text actions are shown when a user selects text in a call recording insight. Add one by creating an extension folder under src/app/extensions/ whose extension.tsx default-exports a defineExtension call with type: "call-recording-insight-text-action". See App structure for the discovery rules.

Example

src/app/extensions/process-call-insights/extension.tsx

Arguments

"call-recording-insight-text-action"
required
Identifies this extension as an action on text selected in a call recording insight.
string
required
The unique identifier for this call recording insight selection action.It is only used internally; never shown to the user.
string
required
A human-readable label of the call recording insight selection action that will be shown to the user when they make a text selection on a call recording insight.
string
An AttioIcon to display beside the label.
If no icon prop is provided, it will default to your app’s icon that you set up in the Developer dashboard.
async (selection: {text: string; markdown: 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:
  • markdown – a markdown representation of the text selected (e.g. may include bullet points)
  • text – the plain text of the text selected