You are here:
Convert Speech To Text Action
Add the Convert Speech to Text action to a flow to convert audio files into text.
Required Editions
| View supported editions. |
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. |
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.
- Transcription quality can vary by language. For supported languages, see Generative AI Supported Languages.
Did this article solve your issue?
Let us know so we can improve!

