workflows.fit
Back to n8n workflows
n8n templateFreeBy Guillaume Duvernay

Create a speech-to-text API with OpenAI GPT4o-mini transcribe

Description This template provides a simple and powerful backend for adding speech-to-text capabilities to any application. It creates a dedicated webhook that receives an audio file, transcribes it using OpenAI's gpt...

DevelopmentCore NodesUtilityHttp RequestSetWebhookRespond To Webhook
Loading interactive preview...

Template notes

Description

This template provides a simple and powerful backend for adding speech-to-text capabilities to any application. It creates a dedicated webhook that receives an audio file, transcribes it using OpenAI's gpt-4o-mini model, and returns the clean text.

To help you get started immediately, you'll find a complete, ready-to-use HTML code example right inside the workflow in a sticky note. This code creates a functional recording interface you can use for testing or as a foundation for your own design.

Who is this for?

Developers: Quickly add a transcription feature to your application by calling this webhook from your existing frontend or backend code. No-code/Low-code builders: Embed a functional audio recorder and transcription service into your projects by using the example code found inside the workflow. API enthusiasts: A lean, practical example of how to use n8n to wrap a service like OpenAI into your own secure and scalable API endpoint.

What problem does this solve?

Provides a ready-made API: Instantly gives you a secure webhook to handle audio file uploads and transcription processing without any server setup. Decouples frontend from backend: Your application only needs to know about one simple webhook URL, allowing you to change the backend logic in n8n without touching your app's code. Offers a clear implementation pattern: The included example code provides a working demonstration of how to send an audio file from a browser and handle the response—a pattern you can replicate in any framework.

How it works