Microphone
The Avonni Microphone component lets users record audio directly within a Dynamic Component page or Flow. Use it to capture voice notes, meeting summaries, audio feedback, or any other spoken input — with optional file storage as Salesforce ContentDocument objects.
Overview
The Microphone supports single or multiple recordings, an optional real-time audio visualizer, and flexible file-saving options. Typical use cases include:
Capture voice notes for customer interactions on Account or Contact pages.
Record meeting summaries linked to project records.
Collect audio feedback in support cases or surveys.
Log verbal instructions for field service tasks.
Store training session recordings linked to custom objects.
Configuration
To configure the Microphone, select it on the canvas. The Edit Microphone panel opens on the right with two tabs: Properties and Interactions. The sections below mirror the Properties tab.
Properties
Save as Content Document
Enable Save as Content Document to allow recordings to be saved as ContentDocument files in Salesforce. When this is on, three additional settings become available:
Auto Save Content Document — When enabled, recordings are automatically saved as a ContentDocument without requiring the user to click a save button. Requires: Save as Content Document enabled.
Content Document Title — The title assigned to the saved file. Defaults to
Untitled. Requires: Save as Content Document enabled.Content Document Linked Entity Id — The record ID to link the saved file to (for example, a Case or Account ID). Requires: Save as Content Document enabled.
Allow Multiple Recordings
Enable Allow Multiple Recordings to let users record several audio clips in a single session instead of just one.
Value — Stores the recorded audio data for a single recording. Available when Allow Multiple Recordings is off.
Value Collection — Stores the collection of recorded audio data when multiple recordings are enabled. Available when Allow Multiple Recordings is on.
Show Visualizer
Enable Show Visualizer to display a real-time audio waveform while the user is recording or playing back audio. Disabled by default.
Labels
The Labels section (collapsed by default) lets you customize the text of every UI element in the Microphone. All labels have sensible defaults.
Ready Label
Ready
Label for the ready state indicator.
Recording Label
Recording
Label shown while recording is in progress.
Paused Button Label
Paused
Label for the paused state indicator.
Cancel Button Label
Cancel
Label for the cancel button.
Start Button Label
Start
Label for the start recording button.
Done Button Label
Done
Label for the done button.
Save Button Label
Save
Label for the save button.
Delete Button Label
Delete
Label for the delete button.
New Button Label
New
Label for the new recording button.
Rename Button Label
Rename
Label for the rename button.
Pause Button Label
Pause
Label for the pause button.
Resume Button Label
Resume
Label for the resume button.
Download Button Label
Download
Label for the download button.
Set Component Visibility
All components support conditional visibility — see Component Visibility.
Interactions
Interactions define what happens when users interact with the Microphone. Configure them from the Interactions tab of the Edit Microphone panel.
Save As Button Click
Fires when the user clicks the save button on a recording. Use this to react after a recording is saved — for example, show a confirmation toast, navigate to another page, or update a record using the recorded audio value.
Last updated
Was this helpful?
