Connecting Speech to Text with Make.com: Automating Workflows and Streamlining Data Processing

Kelvin

Hatched by Kelvin

Jan 14, 2024

4 min read

0

Connecting Speech to Text with Make.com: Automating Workflows and Streamlining Data Processing

Introduction:
In today's digital age, automation and integration are key to streamlining workflows and optimizing data processing. Two powerful tools that can help achieve this are OpenAI's Speech to Text API and Make.com (previously Integromat). In this article, we will explore how these tools can be connected to enhance efficiency and productivity in various use-cases. We will specifically focus on two scenarios: sending Telegram notifications using a custom Telegram Bot and storing KPI data extracted from a website in a Google Sheet document.

Connecting Speech to Text with Make.com:
The Speech to Text API provided by OpenAI is built on the open-source large-v2 Whisper model. It offers two endpoints: transcriptions and translations. The transcriptions endpoint allows you to convert audio files into text, while the translations endpoint not only transcribes the audio but also translates it into English. This functionality opens up a world of possibilities for automating tasks and extracting valuable insights from audio content.

Make.com, on the other hand, is a cloud-based automation and integration platform that enables users to connect various web applications, data sources, and services. It allows for the automation of workflows and the seamless processing of data. By triggering Make.com scenarios from the Speech to Text API using webhooks, we can leverage the power of both tools to enhance our automation capabilities.

Scenario 1: Sending Telegram Notifications using a Custom Telegram Bot:
One common use-case for automation is sending notifications to users via messaging apps. With the integration of Speech to Text and Make.com, we can easily set up a scenario where audio files are transcribed using the Speech to Text API and the resulting text is sent as a notification using a custom Telegram Bot.

To achieve this, we can configure Make.com to monitor changes on websites using HARPA AI and send events to Make.com. These events can then be processed in various ways, including sending notifications via messaging apps like Telegram. By connecting our custom Telegram Bot to Make.com, we can ensure that the transcribed text is delivered to the intended recipients in real-time.

Scenario 2: Storing KPI Data in a Google Sheet Document:
Another valuable use-case for automation is extracting and storing key performance indicator (KPI) data from websites. By integrating the Speech to Text API with Make.com, we can automate the extraction of KPI data from audio content and store it in a Google Sheet document.

Using HARPA AI, Make.com can monitor changes on websites and send events to Make.com. We can then configure Make.com to extract the KPI data from the audio using the Speech to Text API and store it in a Google Sheet document. This allows for easy tracking and analysis of KPIs, eliminating the need for manual data entry and reducing the risk of human error.

Actionable Advice:

  1. When using the Speech to Text API, consider breaking up longer audio files into chunks of 25 MB or less. This can be done using tools like the PyDub open-source Python package. By avoiding mid-sentence breaks, you can ensure that the context of the audio is preserved and improve the accuracy of the transcriptions.

  2. Prompting the Speech to Text API can greatly enhance the quality of the transcriptions. By providing a prompt that matches the style and context of the audio, you can guide the model to produce more accurate and contextually relevant results. Experiment with different prompts to optimize the output.

  3. Explore the supported languages of the Speech to Text API and Make.com to leverage their capabilities in multilingual environments. While the Whisper model supports 98 languages, it is important to note that only languages with a word error rate (WER) below 50% are listed. However, the model can still provide results for other languages, albeit with lower quality. Choose the languages that best suit your needs and ensure seamless integration with Make.com.

Conclusion:
The integration of OpenAI's Speech to Text API and Make.com opens up a world of possibilities for automating workflows and streamlining data processing. By connecting these tools, we can send notifications via messaging apps, store KPI data in Google Sheets, and accomplish a wide range of other use-cases. By following the actionable advice provided, you can optimize the integration and maximize the benefits of these powerful tools. Embrace automation and integration to enhance efficiency and productivity in your workflows.

Sources

← Back to Library

Hatch New Ideas with Glasp AI 🐣

Glasp AI allows you to hatch new ideas based on your curated content. Let's curate and create with Glasp AI :)

Start Hatching 🐣