

#Record speech to text code
I’m also going to show you a second method, which uses code steps for nearly every part of the automation. So I’ll begin by showing you to do it this way – except we are going to add a single code step, as doing so will eliminate a lot of unnecessary extra costs you’d incur by going completely no-code.ĭon’t worry – you’ll be able to completely copy and paste that one code step without needed to understand it.Ĭlick here to jump straight to the no-code portion of the tutorial. In my testing, I’ve found that it is indeed possible to build this without writing any code. A code-heavy method, which is much less error-prone.
#Record speech to text how to
In this tutorial, I’ll show you how to build this automation in two ways: We send everything to a new page in Notion.The transcript and ChatGPT response are formatted and checked for errors.We send the transcript to ChatGPT to get a summary, title, and some useful lists (action items, follow-up questions, etc.).The audio is fully transcribed using OpenAI’s Whisper speech recognition model.The audio is downloaded into your Pipedream account’s temporary storage.When a new audio file is uploaded to Dropbox, Google Drive, or OneDrive, the automation is triggered.Here’s a look at how our Pipedream automation will work: It’s also my favorite of those platforms. Your recording will be transcribed by Whisper and summarized by the ChatGPT API.įinally, the automation will package up the transcript and summary, and then it’ll send them to a new page in your Notion workspace using the Notion API.īut what’s actually going on behind the scenes?įirst, I should note that we’ll be building and deploying this automation on Pipedream, which is an automation-builder that is similar to and Zapier. Once your audio file gets uploaded, our automation will trigger. When you take a voice recording, you’ll upload it to a cloud storage app like Dropbox, Google Drive, or Microsoft OneDrive (this tutorial will show you how to use all three.) » Back to Top Close mobile table of contents menu✕ Error: Whisper Failing on Valid File Types.Error: "/tmp/recording.m4a doesn't exist".Error: "Cannot read property 'length' of null" error.Working with Other Sources (Dropbox, OneDrive, Google Drive).Download the Voice Note to Temp Storage.Create a Pipedream Account and Workflow.Send the Transcript & Summary to Notion.Format the Title, Summary, and Transcript.
