Webhook logo
ElevenLabs logo

Workflow template

Turn webhook text into speech with ElevenLabs

Turn text received through a webhook into speech with ElevenLabs. Select a voice, keep or adjust the prepared eleven_multilingual_v2 model, and receive an MP3 File for a later storage or delivery step.

How it works

From incoming text to a spoken MP3 File

1 Trigger · 1 Action
Webhook1 · Trigger

Webhook received

Receive a JSON object with text at the top level. The request supplies the script; voice, model and output format come from separate action settings.

ElevenLabs2 · Action

Turn webhook text into speech with ElevenLabs

Generate speech with your selected voice, model_id: eleven_multilingual_v2 and output_format: mp3_44100_128. Return an MP3 File that can be mapped to a later step; generation consumes credits.

The result

A spoken version of your text as an MP3 File

The voice you select determines the generated speech. This starter returns the File without choosing a storage location or sending it to a recipient.

Example text-to-speech webhook JSON

{ "text": "FICTIONAL: Welcome to the workshop." }

Included fictional script, not a generated recording. Configure the initially blank voice_id before activation. The prepared output format is MP3 at 44.1 kHz and 128 kbps.

Before activation

Set up your workflow

  1. Connect ElevenLabs and choose a voice

    Enter your own ElevenLabs API key, select an available voice and review credit usage. Keep the installed workflow inactive until the required voice_id is selected.

  2. Review text, model and output format separately

    Map incoming text to the script. Keep eleven_multilingual_v2 and mp3_44100_128 or adjust the action fields deliberately for your needs. Protect the generated webhook endpoint before it can consume generation credits.

  3. Check a short fictional spoken sample

    Activate and submit a short fictional script. Inspect the MP3 File in the action output and map it to a following storage or delivery step if needed. Review usage before generating larger batches.

Details and limitations
  • Voice selection is required. voice_id starts blank. The chosen voice is an action constant rather than a value read from incoming JSON; the same applies to model_id and output_format.

  • The output is a File for another step. The recipe returns MP3 audio rather than configuring a public download URL, document, email or chat destination. Add a following action and map the generated File when you need delivery or storage.

  • Repeated generation can use more credits. Each accepted text request or manual rerun can synthesize speech again. Review the selected voice, text and provider allowance before activation and larger volumes.

Questions about this template

What must I select before the first run?

Connect your ElevenLabs API key and choose a voice. voice_id is initially blank and required; the installed workflow starts inactive until you configure and activate it.

Which model and audio format are prepared?

model_id is eleven_multilingual_v2 and output_format is mp3_44100_128, meaning MP3 at 44.1 kHz and 128 kbps. They are separate action fields you can review before activation.

Can incoming JSON override the voice or model?

Not with these mappings. Only text comes from the webhook; voice_id, model_id and output_format remain action constants. Edit those fields deliberately if you need different settings.

Will the MP3 be stored or sent automatically?

No. The action returns a File for a later storage or delivery step. Repeated requests and reruns can generate another recording and consume additional ElevenLabs credits.

Explore connected apps

App integrations