Wafly WhatsApp icon

Wafly WhatsApp

Interact with the Wafly WhatsApp Bridge API

Actions119

Instance → Set Audio Transcription

AI-generated

Summary

Enable audio transcription for the Wafly WhatsApp instance using your own OpenAI API key. You can set the maximum allowed audio length and the monthly minutes transcription cap. If you leave the API key empty, the existing registered key remains unchanged. There's also an option to add the transcript as a text message alongside the audio and transcription in the webhook, useful for text-only AI flows.

Inputs

  • OpenAI API Key — Your own OpenAI key. Stored encrypted and never returned by the API. Leave empty to keep the key already registered.
  • Max Audio (Seconds) — Longer audios are skipped, protecting you from unexpected cost. Default is 300 seconds; values between 5 and 1500 seconds are allowed.
  • Monthly Cap (Minutes) — Spend limit for transcription, in minutes. Once reached, transcription stops until the month rolls over. Default is 500 minutes; minimum is 1.
  • Also Send Transcript as Text — Adds the successful transcript to text.message while keeping audio and transcription in the same webhook. Useful for existing text-only AI flows.

Output shape

A list of items containing the API response, one per input item.

Sends a PUT request to the instance AI configuration endpoint with OpenAI as the provider and transcription enabled. If the API response is empty or null, the item contains an empty object. With Continue On Fail enabled, a failed request produces a generic error object.

Links

Discussion