# Microphone

<figure><img src="/files/Vt4flLJT5AvjYKCewJng" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
The Avonni Microphone component utilizes Lightning Web Security. [Ensure this setting is enabled](https://developer.salesforce.com/docs/platform/lwc/guide/security-lwsec-enable.html) within your Salesforce org for proper functionality,
{% endhint %}

***

## How to configure the Avonni Microphone

The Avonni Microphone component offers flexible settings to customize how audio recordings are captured and stored within your Salesforce environment.

### **Core Settings**

* **Save as Content Document:** Controls whether the audio recording is saved as a Salesforce Content Document. If disabled, recordings won't be saved.
* **Auto Save Content Document:** If enabled (along with the "Save as Content Document" option), the recording is automatically saved as a Content Document without requiring additional user input.
* **Document Title:** Set a default title for the Content Document that stores the recording. You can use static text or dynamically populate this field using flow variables.
* **Content Document Linked Entity ID:** The Salesforce record ID to which the Content Document will be attached. This is essential for associating the recording with relevant cases, opportunities, or other objects.

### **Enhancement Settings**

* **Allow Multiple Recordings:** If enabled, users can make several recordings in a single session. Each recording will be saved as a separate Content Document.
* **Show Visualizer:** Displays a visual representation of the audio input while recording, providing a user-friendly experience.

***

## Tutorials

| Name                                                                                                                                                                        | Description                                                | Illustration                     |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- | -------------------------------- |
| [**Save the Microphone recording file as an attached on a record**](/flow/tutorials/components/microphone/save-the-microphone-recording-file-as-an-attached-on-a-record.md) | Learn to streamline audio recording storage in Salesforce. | ![](/files/y5fuHWGND07UQoc0b6FH) |

***

## **Use Case Examples**

* **Customer Support:** Capture detailed voice notes or customer conversations and attach them to case records.
* **Sales Enablement:** Record product demos or sales pitches for training and internal sharing.
* **Field Service:** Allow technicians to record on-site observations and link them to work orders.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avonnicomponents.com/flow/flow-components/microphone.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
