---
schema_version: "1"
id: ee6039314adb339689030fb02d097c20b6c64818de6d783d60fc119294b66dba
title: Convert Speech to Text Action
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_ref_elements_actions_speech_to_text.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_actions_speech_to_text.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 68816f3a36ff412f00b42f07e4f57883907b043bb1401851034bd0fae5fecba5
description: To convert audio files into text, add the Convert speech to text action to a flow.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Convert Speech to Text Action

To convert audio files into text, add the Convert speech to text action to a flow.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=platform.flow_ref_supported_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the editions and user interfaces that support Flow Builder. Some Flow Builder features integrate with other Salesforce products that require additional licenses.">View supported editions.</a></td></tr></tbody></table>

In Flow Builder, add an Action element to your flow. In the Action field, search for convert speech to text, and select **Convert speech to text**.

## Set Input Values

 
| Field | Description |
| --- | --- |
| **Content Document ID** | Required. The ID of the audio file stored in Salesforce Files. This value is the ContentDocumentId from the ContentDocument object that represents the file to be transcribed. |
| **Transcription Model** | Optional. The transcription model used to convert speech to text. Select **Whisper V3 Turbo** or **ElevenLabs Scribe V2**. If you don't select a model, Whisper V3 Turbo is used. |

## Store Output Values

 
| Field | Description |
| --- | --- |
| **Converted Text** | The text transcript generated from the audio input. |

Use this action in a Flow to convert an audio file stored in Salesforce to text, and then use the transcript in subsequent Flow elements.

## Considerations

- The action is subject to invocation limits per minute. Requests that exceed the limit fail.
- The maximum supported audio file size is 5 MB.
- The action returns the transcript as output and does not store it automatically.
- Processing time can vary based on audio length, file size, audio quality, and system load, as well as the transcription model selected. Whisper V3 Turbo is generally faster, while ElevenLabs Scribe V2 may have less predictable processing times.
- Transcription quality can vary by language. For supported languages, see [Generative AI Supported Languages](https://help.salesforce.com/s/articleView?id=ai.generative_ai_platform_languages.htm&type=5&language=en_US).