Actions138
- API Key Actions
- Automation Rule Actions
- Call Actions
- Catalog Actions
- Channel Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Media Actions
- Message Actions
- Observability Actions
- Presence Actions
- Profile Actions
- Session Actions
- Status Actions
- System Actions
- Template Actions
- Webhook Actions
Media → Convert to Voice Note
AI-generatedSummary
Converts media into Ogg/Opus audio suitable for WhatsApp voice notes. Choose the media source, provide the corresponding input, and use the returned base64 and mimetype with Message > Send Audio (Base64 source, Send as Voice Note enabled) or Status > Send Voice.
Inputs
- Session Name or ID (required) — Select the OpenWA session that will perform the conversion.
- Media Source — Choose Binary (default), URL, or Base64 as the source of the media.
- Input Binary Field (required) — For Binary source, name the input binary field containing the media; defaults to
data. - Media URL (required) — For URL source, provide a public URL the server can fetch.
- Base64 Data (required) — For Base64 source, provide the encoded media.
Output shape
A single JSON item containing base64 and mimetype for the converted audio.
Only the input matching the selected media source is used. Conversion is optional on the server and requires ffmpeg; check availability first. A 503 indicates conversion is disabled or busy.