Skip to content

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

feat(twilio): ui improvement (#16030)

Talal Jaber39c34ec6594e
diff --git a/bun.lock b/bun.lock
index cb10112b711..eaaecf94f16 100644
--- a/bun.lock
+++ b/bun.lock
@@ -9283,7 +9283,7 @@
},
"packages/pieces/community/twilio": {
"name": "@activepieces/piece-twilio",
- "version": "0.5.0",
+ "version": "0.6.0",
"dependencies": {
"@activepieces/core-piece-types": "workspace:*",
"@activepieces/core-utils": "workspace:*",
diff --git a/packages/pieces/community/twilio/package.json b/packages/pieces/community/twilio/package.json
index 80b0ac17c87..10c602f7ef0 100644
--- a/packages/pieces/community/twilio/package.json
+++ b/packages/pieces/community/twilio/package.json
@@ -1,6 +1,6 @@
{
"name": "@activepieces/piece-twilio",
- "version": "0.5.0",
+ "version": "0.6.0",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"scripts": {
diff --git a/packages/pieces/community/twilio/src/index.ts b/packages/pieces/community/twilio/src/index.ts
index 4f4de1e1fed..c4c9a055fc0 100644
--- a/packages/pieces/community/twilio/src/index.ts
+++ b/packages/pieces/community/twilio/src/index.ts
@@ -13,16 +13,19 @@ import { twilioNewTranscription } from './lib/trigger/new-transcription';
import { twilioNewCall } from './lib/trigger/new-call';
export const twilioAuth = PieceAuth.BasicAuth({
- description: 'The authentication to use to connect to Twilio',
+ description: `To find your credentials:
+1. Sign in to the [Twilio Console](https://console.twilio.com).
+2. On the home page, find **Account Info**.
+3. Copy the **Account SID** and the **Auth Token** (click **Show** to reveal it).`,
required: true,
username: {
displayName: 'Account SID',
- description: 'The account SID to use to connect to Twilio',
+ description: 'Starts with AC. Shown under Account Info in the Twilio Console.',
},
password: {
- displayName: 'Auth token',
- description: 'The auth token to use to connect to Twilio',
+ displayName: 'Auth Token',
+ description: 'Click Show under Account Info in the Twilio Console to reveal it.',
},
});
@@ -31,7 +34,7 @@ export const twilio = createPiece({
description:
'Cloud communications platform for building SMS, Voice & Messaging applications',
- minimumSupportedRelease: '0.30.0',
+ minimumSupportedRelease: '0.88.2',
logoUrl: 'https://cdn.activepieces.com/pieces/twilio.png',
auth: twilioAuth,
categories: [PieceCategory.COMMUNICATION],
diff --git a/packages/pieces/community/twilio/src/lib/action/download-recording-media.ts b/packages/pieces/community/twilio/src/lib/action/download-recording-media.ts
index 115e6fa46c0..113e853fc4f 100644
--- a/packages/pieces/community/twilio/src/lib/action/download-recording-media.ts
+++ b/packages/pieces/community/twilio/src/lib/action/download-recording-media.ts
@@ -7,18 +7,19 @@ export const twilioDownloadRecordingMedia = createAction({
name: 'download_recording_media',
classification: 'READ',
displayName: 'Download Recording Media',
- description: 'Download the media file for a specific recording.',
+ description: 'Download a call recording as an audio file.',
audience: 'both',
aiMetadata: { description: 'Downloads the audio file for a specific Twilio call recording by its SID, returning it as a file (MP3 or WAV). Use to retrieve recorded call audio for storage or further processing; requires the recording SID (starting with "RE"). Read-only and idempotent.', idempotent: true },
props: {
recording_sid: Property.ShortText({
displayName: 'Recording SID',
- description: 'The unique identifier (SID) of the recording to download. It starts with "RE".',
+ description: 'Starts with RE. Shown in the New Recording trigger output.',
required: true,
+ placeholder: 'RE0123456789abcdef0123456789abcdef',
}),
format: Property.StaticDropdown({
displayName: 'Format',
- description: 'The desired audio format for the download file.',
+ description: 'MP3 files are smaller. WAV keeps full quality.',
required: false,
defaultValue: 'mp3',
options: {
@@ -30,8 +31,9 @@ export const twilioDownloadRecordingMedia = createAction({
}),
channels: Property.StaticDropdown({
displayName: 'Channels',
- description: 'Specify whether to download a mono or dual-channel file. Note: Dual-channel may not be available for all recordings.',
+ description: 'Dual keeps each caller on a separate channel, if recorded that way.',
required: false,
+ advanced: true,
options: {
options: [
{ label: 'Mono', value: 1 },
diff --git a/packages/pieces/community/twilio/src/lib/action/get-message.ts b/packages/pieces/community/twilio/src/lib/action/get-message.ts
index 05d74f58edf..a680062e056 100644
--- a/packages/pieces/community/twilio/src/lib/action/get-message.ts
+++ b/packages/pieces/community/twilio/src/lib/action/get-message.ts
@@ -7,15 +7,16 @@ export const twilioGetMessage = createAction({
auth: twilioAuth,
name: 'get_message',
classification: 'READ',
- description: 'Retrieves the details of a specific message.',
+ description: 'Get the status and details of a sent or received message.',
audience: 'both',
aiMetadata: { description: 'Fetches the full details and status of a single Twilio message by its SID. Use to check delivery status or inspect a known message; requires the message SID (starting with "SM" or "MM"). Read-only and idempotent.', idempotent: true },
displayName: 'Get Message',
props: {
message_sid: Property.ShortText({
displayName: 'Message SID',
- description: 'The unique identifier (SID) of the message to retrieve. It starts with "SM" or "MM".',
+ description: 'Starts with SM or MM. Shown in the Send SMS output and Twilio logs.',
required: true,
+ placeholder: 'SM0123456789abcdef0123456789abcdef',
}),
},
async run(context) {
diff --git a/packages/pieces/community/twilio/src/lib/action/make-call.ts b/packages/pieces/community/twilio/src/lib/action/make-call.ts
index 0c8b2eb37ba..898879d42b2 100644
--- a/packages/pieces/community/twilio/src/lib/action/make-call.ts
+++ b/packages/pieces/community/twilio/src/lib/action/make-call.ts
@@ -7,29 +7,34 @@ export const twilioMakeCall = createAction({
auth: twilioAuth,
name: 'make_call',
classification: 'WRITE',
- description: 'Call a number and say a message.',
+ description: 'Call a number and read a message aloud.',
audience: 'both',
aiMetadata: { description: 'Places an outbound voice call from a Twilio number that reads a text-to-speech message to the recipient. Use to deliver a spoken notification or alert by phone. Requires both numbers in E.164 format and the message text; each call places a real, billable phone call, so it is not idempotent.', idempotent: false },
displayName: 'Call Phone',
props: {
- from: twilioCommon.phone_number,
+ from: twilioCommon.phoneNumberDropdown({
+ displayName: 'From',
+ description: 'Your Twilio number the call comes from.',
+ }),
to: Property.ShortText({
displayName: 'To',
- description: 'The phone number to call. Must be in E.164 format (e.g., +15558675310).',
+ description: 'Phone number with country code, starting with +.',
required: true,
+ placeholder: '+15558675310',
}),
message: Property.LongText({
- displayName: 'Message to Say',
- description: 'The text message to be converted to speech and spoken to the recipient.',
+ displayName: 'Message',
+ description: 'Text read aloud to the person who answers.',
required: true,
+ placeholder: 'Hi, this is a reminder about your appointment tomorrow.',
}),
voice: Property.StaticDropdown({
displayName: 'Voice',
- description: 'The voice to use for the text-to-speech message.',
+ description: "Empty: your Twilio account's default voice.",
required: false,
options: {
options: [
- { label: 'Alice (Default)', value: 'alice' },
+ { label: 'Alice', value: 'alice' },
{ label: 'Man', value: 'man' },
{ label: 'Woman', value: 'woman' },
]
@@ -37,7 +42,7 @@ export const twilioMakeCall = createAction({
}),
language: Property.StaticDropdown({
displayName: 'Language',
- description: 'The language to use for the text-to-speech message.',
+ description: 'Language the message is read in. Empty: English (US).',
required: false,
options: {
options: [
@@ -50,14 +55,17 @@ export const twilioMakeCall = createAction({
}
}),
sendDigits: Property.ShortText({
- displayName: 'Send DTMF Tones',
- description: "A string of keys to dial after the call is connected. Use 'w' for a half-second pause.",
+ displayName: 'Keys to Dial',
+ description: 'Keys pressed once the call connects. w pauses 0.5 s, W pauses 1 s.',
required: false,
+ placeholder: 'W1234#',
+ advanced: true,
}),
timeout: Property.Number({
- displayName: 'Timeout (seconds)',
- description: 'The number of seconds to let the phone ring before assuming no answer. Default is 60.',
+ displayName: 'Ring Timeout',
+ description: 'Seconds to ring before giving up, up to 600. Empty: 60.',
required: false,
+ advanced: true,
})
},
async run(context) {
diff --git a/packages/pieces/community/twilio/src/lib/action/phone-number-lookup.ts b/packages/pieces/community/twilio/src/lib/action/phone-number-lookup.ts
index 4db454af167..6645eb76ad0 100644
--- a/packages/pieces/community/twilio/src/lib/action/phone-number-lookup.ts
+++ b/packages/pieces/community/twilio/src/lib/action/phone-number-lookup.ts
@@ -6,13 +6,15 @@ export const twilioPhoneNumberLookup = createAction({
auth: twilioAuth,
name: 'phone_number_lookup',
classification: 'READ',
- description: 'Lookup information about a phone number.',
+ description: 'Look up the carrier and line type (mobile, landline) of a number.',
audience: 'both',
aiMetadata: { description: 'Looks up carrier and line-type intelligence for a single phone number via the Twilio Lookup API. Use to validate or enrich a number (e.g. detect mobile vs landline, carrier) before messaging or calling it. Read-only and idempotent.', idempotent: true },
displayName: 'Phone Number Lookup',
props: {
phone_number:Property.ShortText({
displayName:'Phone Number',
+ description:'Phone number with country code, starting with +.',
+ placeholder:'+15558675310',
required:true
})
},
diff --git a/packages/pieces/community/twilio/src/lib/action/send-sms.ts b/packages/pieces/community/twilio/src/lib/action/send-sms.ts
index 17d0250fd2b..b848ea51b1b 100644
--- a/packages/pieces/community/twilio/src/lib/action/send-sms.ts
+++ b/packages/pieces/community/twilio/src/lib/action/send-sms.ts
@@ -7,21 +7,26 @@ export const twilioSendSms = createAction({
auth: twilioAuth,
name: 'send_sms',
classification: 'WRITE',
- description: 'Send a new SMS message',
+ description: 'Send an SMS from one of your Twilio numbers.',
audience: 'both',
aiMetadata: { description: 'Sends an SMS text message from a Twilio phone number to a recipient. Use to notify or message a person by text. Requires the destination number, message body, and a Twilio-owned sender number; sending costs money and delivers a separate message on every call, so it is not idempotent.', idempotent: false },
displayName: 'Send SMS',
props: {
- from: twilioCommon.phone_number,
- body: Property.ShortText({
- description: 'The body of the message to send',
- displayName: 'Message Body',
- required: true,
+ from: twilioCommon.phoneNumberDropdown({
+ displayName: 'From',
+ description: 'Your Twilio number the text is sent from.',
}),
to: Property.ShortText({
- description: 'The phone number to send the message to',
+ description: 'Phone number with country code, starting with +.',
displayName: 'To',
required: true,
+ placeholder: '+15558675310',
+ }),
+ body: Property.ShortText({
+ description: 'Up to 1,600 characters. Long texts are split and billed per part.',
+ displayName: 'Message',
+ required: true,
+ placeholder: 'Your order has shipped!',
}),
},
async run(context) {
diff --git a/packages/pieces/community/twilio/src/lib/common/index.ts b/packages/pieces/community/twilio/src/lib/common/index.ts
index d4b60b27d0b..aa8796cdcb8 100644
--- a/packages/pieces/community/twilio/src/lib/common/index.ts
+++ b/packages/pieces/community/twilio/src/lib/common/index.ts
@@ -1,50 +1,72 @@
import {
Property,
- BasicAuthPropertyValue,
+ tryCatch,
} from '@activepieces/pieces-framework';
import {
HttpMethod,
HttpMessageBody,
+ HttpResponse,
httpClient,
AuthenticationType,
} from '@activepieces/pieces-common';
import { twilioAuth } from '../..';
export const twilioCommon = {
- phone_number: Property.Dropdown({
- auth: twilioAuth,
- description: 'The phone number to send the message from',
- displayName: 'From',
- required: true,
- refreshers: [],
- options: async ({ auth }) => {
- if (!auth) {
+ phoneNumberDropdown: ({
+ displayName,
+ description,
+ }: {
+ displayName: string;
+ description: string;
+ }) =>
+ Property.Dropdown({
+ auth: twilioAuth,
+ description,
+ displayName,
+ required: true,
+ refreshers: [],
+ options: async ({ auth }) => {
+ if (!auth) {
+ return {
+ disabled: true,
+ options: [],
+ placeholder: 'Please connect your account first',
+ };
+ }
+
+ const { data: phoneNumbers, error } = await tryCatch(() =>
+ fetchAllIncomingPhoneNumbers({
+ accountSid: auth.username,
+ authToken: auth.password,
+ })
+ );
+
+ if (error) {
+ return {
+ disabled: true,
+ options: [],
+ placeholder: 'Failed to load phone numbers. Check your connection.',
+ };
+ }
+
+ if (phoneNumbers.length === 0) {
+ return {
+ disabled: false,
+ options: [],
+ placeholder:
+ 'No phone numbers found. Buy one in the Twilio Console first.',
+ };
+ }
+
return {
- disabled: true,
- placeholder: 'connect your account first',
- options: [],
+ disabled: false,
+ options: phoneNumbers.map((phoneNumber) => ({
+ value: phoneNumber.phone_number,
+ label: buildPhoneNumberLabel(phoneNumber),
+ })),
};
- }
-
- const basicAuthProperty = auth;
- const response = await callTwilioApi<{
- incoming_phone_numbers: {
- phone_number: string;
- friendly_name: string;
- }[];
- }>(HttpMethod.GET, 'IncomingPhoneNumbers.json', {
- account_sid: basicAuthProperty.username,
- auth_token: basicAuthProperty.password,
- });
- return {
- disabled: false,
- options: response.body.incoming_phone_numbers.map((number: any) => ({
- value: number.phone_number,
- label: number.friendly_name,
- })),
- };
- },
- }),
+ },
+ }),
};
export const callTwilioApi = async <T extends HttpMessageBody>(
@@ -67,3 +89,61 @@ export const callTwilioApi = async <T extends HttpMessageBody>(
body: body,
});
};
+
+async function fetchAllIncomingPhoneNumbers({
+ accountSid,
+ authToken,
+}: {
+ accountSid: string;
+ authToken: string;
+}): Promise<IncomingPhoneNumber[]> {
+ let nextUrl: string | null = `https://api.twilio.com/2010-04-01/Accounts/${accountSid}/IncomingPhoneNumbers.json?PageSize=1000`;
+ const phoneNumbers: IncomingPhoneNumber[] = [];
+ while (nextUrl !== null) {
+ const response: HttpResponse<IncomingPhoneNumbersPage> =
+ await httpClient.sendRequest<IncomingPhoneNumbersPage>({
+ method: HttpMethod.GET,
+ url: nextUrl,
+ authentication: {
+ type: AuthenticationType.BASIC,
+ username: accountSid,
+ password: authToken,
+ },
+ });
+ phoneNumbers.push(...response.body.incoming_phone_numbers);
+ const nextPageUri: string | null = response.body.next_page_uri;
+ nextUrl = nextPageUri ? `https://api.twilio.com${nextPageUri}` : null;
+ }
+ return phoneNumbers;
+}
+
+function buildPhoneNumberLabel({
+ phone_number,
+ friendly_name,
+}: IncomingPhoneNumber): string {
+ if (!friendly_name) {
+ return phone_number;
+ }
+ const friendlyNameDigits = friendly_name.replace(/\D/g, '');
+ const phoneNumberDigits = phone_number.replace(/\D/g, '');
+ if (
+ PHONE_FORMAT_ONLY.test(friendly_name) &&
+ friendlyNameDigits.length > 0 &&
+ phoneNumberDigits.endsWith(friendlyNameDigits)
+ ) {
+ return friendly_name;
+ }
+ return `${friendly_name} (${phone_number})`;
+}
+
+const PHONE_FORMAT_ONLY = /^[\d\s()+.-]+$/;
+
+type IncomingPhoneNumber = {
+ phone_number: string;
+ friendly_name: string;
+};
+
+type IncomingPhoneNumbersPage = {
+ incoming_phone_numbers: IncomingPhoneNumber[];
+ next_page_uri: string | null;
+};
diff --git a/packages/pieces/community/twilio/src/lib/trigger/new-call.ts b/packages/pieces/community/twilio/src/lib/trigger/new-call.ts
index 1bfa78ba2d8..5d0eaba069d 100644
--- a/packages/pieces/community/twilio/src/lib/trigger/new-call.ts
+++ b/packages/pieces/community/twilio/src/lib/trigger/new-call.ts
@@ -1,4 +1,4 @@
-import { createTrigger, TriggerStrategy, PiecePropValueSchema, AppConnectionValueForAuthProperty } from '@activepieces/pieces-framework';
+import { createTrigger, TriggerStrategy, AppConnectionValueForAuthProperty } from '@activepieces/pieces-framework';
import { twilioAuth } from '../..';
import { AuthenticationType, DedupeStrategy, httpClient, HttpMethod, Polling, pollingHelper } from '@activepieces/pieces-common';
@@ -35,8 +35,8 @@ const polling: Polling<
let currentUri:
| string
- | null = `/2010-04-01/Accounts/${account_sid}/Calls.json?PageSize=${
- isTest ? 1 : 1000
+ | null = `/2010-04-01/Accounts/${account_sid}/Calls.json?${
+ isTest ? 'PageSize=10&Status=completed' : 'PageSize=1000'
}`;
const results = [];
diff --git a/packages/pieces/community/twilio/src/lib/trigger/new-incoming-sms.ts b/packages/pieces/community/twilio/src/lib/trigger/new-incoming-sms.ts
index cafe46943c3..f5f4d0a03ae 100644
--- a/packages/pieces/community/twilio/src/lib/trigger/new-incoming-sms.ts
+++ b/packages/pieces/community/twilio/src/lib/trigger/new-incoming-sms.ts
@@ -13,12 +13,15 @@ export const twilioNewIncomingSms = createTrigger({
name: 'new_incoming_sms',
classification: 'READ',
displayName: 'New Incoming SMS',
- description: 'Triggers when a new SMS message is received',
+ description: 'Triggers when the selected Twilio number receives an SMS.',
aiMetadata: {
description: 'Fires when an inbound SMS message is received on the specified Twilio phone number. Each event represents one incoming text message with its sender, body, and metadata.',
},
props: {
- phone_number: twilioCommon.phone_number,
+ phone_number: twilioCommon.phoneNumberDropdown({
+ displayName: 'Phone Number',
+ description: 'Your Twilio number that receives the texts.',
+ }),
},
sampleData: {
body: 'Hello',
@@ -31,13 +34,13 @@ export const twilioNewIncomingSms = createTrigger({
uri: '/2010-04-01/Accounts/ACc0ea1238d61fe90d78a69a3de71d45619/Messages/SM8c3920d3f2ac481ba83e639a69dadd63.json',
account_sid: 'ACc0ea716d61fe90d78a123a3de71d45619',
num_media: '0',
- to: '+12184191735',
+ to: '+15017122661',
date_created: 'Wed, 08 Feb 2023 01:40:50 +0000',
- status: 'failed',
+ status: 'received',
sid: 'SM8c3920d3f2ac481ba83e639a69dadd63',
date_sent: 'Wed, 08 Feb 2023 01:40:51 +0000',
messaging_service_sid: 'MG88e323e6a88ce67ba3bf12e1bcb7e0b8',
- error_code: 21211,
+ error_code: null,
price_unit: 'USD',
api_version: '2010-04-01',
subresource_uris: {
@@ -55,7 +58,7 @@ export const twilioNewIncomingSms = createTrigger({
const auth_token = context.auth.password;
const response = await callTwilioApi<MessagePaginationResponse>(
HttpMethod.GET,
- `Messages.json?PageSize=20&To=${phone_number}`,
+ `Messages.json?PageSize=20&To=${encodeURIComponent(phone_number)}`,
{ account_sid, auth_token },
{}
);
@@ -78,13 +81,13 @@ export const twilioNewIncomingSms = createTrigger({
);
let currentUri:
| string
- | null = `2010-04-01/Accounts/${account_sid}/Messages.json?PageSize=20&To=${context.propsValue.phone_number}`;
+ | null = `/2010-04-01/Accounts/${account_sid}/Messages.json?PageSize=20&To=${encodeURIComponent(context.propsValue.phone_number)}`;
let firstMessageId = undefined;
while (currentUri !== undefined && currentUri !== null) {
const res: HttpResponse<MessagePaginationResponse> =
await httpClient.sendRequest<MessagePaginationResponse>({
method: HttpMethod.GET,
- url: `https://api.twilio.com/${currentUri}`,
+ url: `https://api.twilio.com${currentUri}`,
authentication: {
type: AuthenticationType.BASIC,
username: account_sid,
@@ -108,7 +111,7 @@ export const twilioNewIncomingSms = createTrigger({
}
}
await context.store.put<LastMessage>('_new_incoming_sms_trigger', {
- lastMessageId: firstMessageId ?? lastMessage!.lastMessageId,
+ lastMessageId: firstMessageId ?? lastMessage?.lastMessageId ?? null,
});
return newMessages;
},
diff --git a/packages/pieces/community/twilio/src/lib/trigger/new-phone-number.ts b/packages/pieces/community/twilio/src/lib/trigger/new-phone-number.ts
index 22c43c4ff72..cce65405afa 100644
--- a/packages/pieces/community/twilio/src/lib/trigger/new-phone-number.ts
+++ b/packages/pieces/community/twilio/src/lib/trigger/new-phone-number.ts
@@ -1,7 +1,6 @@
import {
AppConnectionValueForAuthProperty,
createTrigger,
- PiecePropValueSchema,
TriggerStrategy,
} from '@activepieces/pieces-framework';
import {
@@ -116,8 +115,8 @@ export const twilioNewPhoneNumber = createTrigger({
voice_method: 'POST',
sms_url: 'https://demo.twilio.com/welcome/sms/',
sms_method: 'POST',
- date_created: '2025-08-28T11:44:10+00:00',
- date_updated: '2025-08-28T11:44:10+00:00',
+ date_created: 'Thu, 28 Aug 2025 11:44:10 +0000',
+ date_updated: 'Thu, 28 Aug 2025 11:44:10 +0000',
capabilities: {
voice: true,
sms: true,
diff --git a/packages/pieces/community/twilio/src/lib/trigger/new-recording.ts b/packages/pieces/community/twilio/src/lib/trigger/new-recording.ts
index 7d34ebba0be..90d3d6af7d2 100644
--- a/packages/pieces/community/twilio/src/lib/trigger/new-recording.ts
+++ b/packages/pieces/community/twilio/src/lib/trigger/new-recording.ts
@@ -1,4 +1,4 @@
-import { AppConnectionValueForAuthProperty, createTrigger, PiecePropValueSchema, TriggerStrategy } from '@activepieces/pieces-framework';
+import { AppConnectionValueForAuthProperty, createTrigger, TriggerStrategy } from '@activepieces/pieces-framework';
import { AuthenticationType, DedupeStrategy, httpClient, HttpMethod, Polling, pollingHelper } from '@activepieces/pieces-common';
import { twilioAuth } from '../..';
@@ -83,7 +83,7 @@ export const twilioNewRecording = createTrigger({
name: 'new_recording',
classification: 'READ',
displayName: 'New Recording',
- description: 'Triggers when a new call recording is completed and available.',
+ description: 'Triggers when a new call recording is added to your account.',
aiMetadata: {
description: 'Fires when a new call recording becomes available on the Twilio account. Each event represents one completed recording, including its call SID, duration, and status.',
},
diff --git a/packages/pieces/community/twilio/src/lib/trigger/new-transcription.ts b/packages/pieces/community/twilio/src/lib/trigger/new-transcription.ts
index 33dab65d473..155a1ec930a 100644
--- a/packages/pieces/community/twilio/src/lib/trigger/new-transcription.ts
+++ b/packages/pieces/community/twilio/src/lib/trigger/new-transcription.ts
@@ -1,7 +1,6 @@
import {
AppConnectionValueForAuthProperty,
createTrigger,
- PiecePropValueSchema,
TriggerStrategy,
} from '@activepieces/pieces-framework';
import {
@@ -111,7 +110,7 @@ export const twilioNewTranscription = createTrigger({
"recording_sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"sid": "TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"status": "completed",
- "transcription_text": null,
+ "transcription_text": "Hi, this is Sam. Please call me back about my order.",
"type": "fast",
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Transcriptions/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
},