/plushcap/analysis/twilio/transcribe-voice-message-node-js-twilio-functions

Transcribe a Voice Message in Node.js with Twilio Functions

What's this blog post about?

You'll leverage Twilio Programmable Voice to receive phone calls at your Twilio phone number and transcribe any voice messages left by the caller. To get started, you need a free Twilio account, a Twilio phone number, and create a new Twilio Functions Service. You can configure a webhook that will handle incoming calls through Twilio's console. The code uses TwiML to record and transcribe voice messages, with an optional `transcribe` attribute to create a speech-to-text transcription of any message left by the caller. A transcription callback function is also created to access the contents of the transcription and perform an action on it. Finally, you configure the webhook for your Twilio phone number and test your app by calling your Twilio phone number from your personal phone.

Company
Twilio

Date published
April 15, 2021

Author(s)
Ashley Boucher

Word count
1162

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.