---
schema_version: "1"
id: 52bfc8cadcea146527e3471de94f72a72ace658ae7808de5c75cca2a06b09711
title: Agentforce Platform | Speech to Text
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/copilot_actions_ref_speech_to_text.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.copilot_actions_ref_speech_to_text.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: de6c72c6aa490231af85a96971cacab75f2ea0da594877e7de5f57d035ce519c
description: Converts an audio file into text and returns the transcript for use in agent conversations or downstream actions.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Agentforce Platform | Speech to Text

Converts an audio file into text and returns the transcript for use in agent conversations or downstream actions.

### 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;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with Foundations, or <strong>Agentforce 1</strong> or <strong>Einstein 1</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="text-align:center;vertical-align:top;" id="d216092e77">User Permissions Needed</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d216092e80">&nbsp;</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d216092e77 d216092e80 ">See <a href="https://help.salesforce.com/s/articleView?id=ai.agent_actions_common_perms.htm&amp;type=5&amp;language=en_US" target="_blank">Common User Access for Standard Agent
              Actions</a>.</td>

        </tr>
      </tbody>
    </table>

## Action Details

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><colgroup><col style="width:50%"> <col style="width:50%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">API Name</td><td class="slds-cell-wrap" style="vertical-align:top;">SpeechToText</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action Type</td><td class="slds-cell-wrap" style="vertical-align:top;">Standard Action</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action</td><td class="slds-cell-wrap" style="vertical-align:top;">Speech to Text</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Does this action execute one or more prompt templates?</td><td class="slds-cell-wrap" style="vertical-align:top;">No</td></tr></tbody></table>

## Guidelines and Considerations

- The Speech to Text agent action isn’t supported in the Government Cloud.
- This action consumes Flex Credits under the Speech to Text usage type.
- This action returns a transcript only and doesn’t store it automatically. To save it, use Flow elements such as Query Records or Create Records, or Apex logic to write the output to a Salesforce record.
- This action supports multiple languages and common audio formats such as MP3 (MPEG Audio Layer III), WAV (Waveform Audio File Format), FLAC (Free Lossless Audio Codec), OGG or OGA (Ogg Vorbis), AMR (Adaptive Multi-Rate), MPEG (Moving Picture Experts Group), MPGA (MPEG Audio), with a maximum file size of 5 MB.
- This action transcribes audio in the primary detected language, and mixed-language audio may work. If you plan to use the transcript in Agentforce downstream features, verify that the detected language is supported. See [Generative AI Supported Languages](https://help.salesforce.com/s/articleView?id=ai.generative_ai_platform_languages.htm&type=5&language=en_US).
- This action does not perform translation.

For detailed usage guidelines and limitations, see [Considerations and Limitations for Speech to Text in Agentforce](https://help.salesforce.com/s/articleView?id=ai.copilot_speech_to_text_considerations.htm&type=5&language=en_US).