AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { createAction } from '@activepieces/pieces-framework';
import { tldvAuth } from '../..';
import { HttpMethod } from '@activepieces/pieces-common';
import { tldvCommon } from '../common/client';
import { meetingIdProperty } from '../common/props';
export const getTranscript = createAction({
auth: tldvAuth,
name: 'get_transcript',
displayName: 'Get Transcript',
description: 'Get meeting transcript by meeting ID',
audience: 'both',
aiMetadata: {
description: 'Retrieves the full speaker-attributed, time-stamped transcript for a tl;dv meeting identified by its meeting id. Use when you need the spoken content of a meeting (the transcript must already be generated). Read-only and idempotent.',
idempotent: true,
},
props: {
meetingId: meetingIdProperty,
},
async run(context) {
const { meetingId } = context.propsValue;
const response = await tldvCommon.apiCall<{
id: string;
meetingId: string;
data: Array<{
speaker: string;
text: string;
startTime: number;
endTime: number;
}>;
}>({
method: HttpMethod.GET,
url: `/v1alpha1/meetings/${meetingId}/transcript`,
auth: { apiKey: context.auth.secret_text },
});
return response;
},
});