Webhook logo
ElevenLabs logo

Workflow template

Generate a sound effect from a webhook prompt

Generate a short sound effect with ElevenLabs from text received through a webhook. The prepared action requests two seconds of audio with prompt influence 0.3 and returns an audio File for a later step.

How it works

From a text prompt to a short audio File

1 Trigger · 1 Action
Webhook1 · Trigger

Webhook received

Receive a JSON object containing the sound prompt in text. The prompt is read from the request; duration and prompt influence are configured separately in the action.

ElevenLabs2 · Action

Generate a sound effect from a webhook prompt

Generate an audio File using text, duration_seconds set to 2 and prompt_influence set to 0.3. Generation can consume ElevenLabs credits; the File can be mapped to a following storage or delivery step.

The result

A generated sound-effect File ready for another step

The action produces audio from the supplied prompt. The example shows the incoming request; it is not a generated audio sample or a promise of identical sound on repeated runs.

Example sound-effect webhook JSON

{ "text": "FICTIONAL: A soft notification bell." }

Included fictional prompt. The prepared request uses duration_seconds: 2 and prompt_influence: 0.3. No storage destination, public download link or chat delivery is configured.

Before activation

Set up your workflow

  1. Connect ElevenLabs and review credit usage

    Use your own ElevenLabs connection and check generation allowance. Keep the installed workflow inactive while configuring the prompt and output length.

  2. Review the separate generation fields

    Map incoming text to the prompt and review duration_seconds: 2 and prompt_influence: 0.3 in the action. Protect the generated webhook URL and prepare a short fictional prompt.

  3. Inspect the audio File before adding delivery

    Activate and submit a controlled prompt request. Inspect the audio File in the action output, then map that File to a following storage or delivery step if needed. Review credits before repeated generation.

Details and limitations
  • This is sound generation rather than speech synthesis. The prompt describes a sound effect. No voice selection is required by this recipe, and the text is not automatically treated as a spoken script.

  • Duration and influence remain action settings. Only text comes from the webhook. Incoming duration or influence fields do not override the prepared constants. Change those separate action fields deliberately if your output requirements differ.

  • The generated File is not delivered elsewhere yet. This starter returns an audio File without adding storage or notifications. Repeated requests and manual reruns can generate another result and consume more ElevenLabs credits.

Questions about this template

Does the action speak the prompt using a selected voice?

No. It generates a sound effect described by the prompt, such as the fictional notification bell. This recipe does not require a voice selection.

Which duration and prompt influence are prepared?

duration_seconds is 2 and prompt_influence is 0.3. They are separate action constants; only text is mapped from the incoming webhook.

Will the audio be saved or sent to a chat?

No. The action returns an audio File. Add a following step and map that File if you need storage, delivery or a notification.

Can repeated requests use more credits?

Yes. Another request or manual rerun can generate a new sound and consume more ElevenLabs credits. Review allowance and output length before activation and repeated use.

Explore connected apps

App integrations