Microphone
The Avonni Microphone seamlessly captures voice notes, interviews, or other audio recordings and automatically attaches them to relevant Salesforce records

The Avonni Microphone component captures audio recordings within a Salesforce Flow screen and optionally saves them as files attached to Salesforce records. Use it for voice notes, field observations, customer conversations, or any use case where audio capture adds value.
The Avonni Microphone component utilizes Lightning Web Security. Ensure this setting is enabled within your Salesforce org for proper functionality.
Tutorials
Learn to streamline audio recording storage in Salesforce.

Overview
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.
Configuration
To configure it, click the component on the Flow screen. The Edit Microphone Component panel opens on the right with three tabs: Properties, Interactions, and Style. The sections below mirror the Properties tab.
Properties
Save as Content Document — when enabled, the recorded audio can be saved as a Salesforce ContentDocument (file).
Auto Save Content Document — when enabled (together with Save as Content Document), the recording is automatically saved as a ContentDocument without requiring additional user action.
Document Title — sets the title for the ContentDocument. Defaults to
Untitled. Use static text or dynamically populate this field using flow variables.Content Document Linked Entity ID — the Salesforce record ID to which the ContentDocument is attached. Essential for associating the recording with specific cases, opportunities, or other objects.
Allow Multiple Recordings — when enabled, users can make several recordings in a single session. Each recording is saved as a separate ContentDocument.
Show Visualizer — displays a visual audio waveform during recording, providing a more engaging user experience. Defaults to off.
Labels
Customize the text displayed on each button or status label in the recording interface:
Ready Label — text shown when the recorder is idle and ready.
Recording Label — text shown while recording is in progress.
Paused Button Label, Cancel Button Label, Start Button Label, Done Button Label, Save Button Label, Delete Button Label, New Button Label, Rename Button Label, Pause Button Label, Resume Button Label, Download Button Label.
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 As button to manually save a recording. This interaction is relevant when Auto Save Content Document is disabled.
Styling
The Style tab gives you fine-grained control over the Microphone's appearance. Configure it from the Style tab of the Edit Microphone panel.
Controls outer spacing.
Top: Space above the component.
Right: Space to the right of the component.
Bottom: Space below the component.
Left: Space to the left of the component.
Controls inner spacing.
Top: Inner space at the top.
Right: Inner space on the right.
Bottom: Inner space at the bottom.
Left: Inner space on the left.
Controls dimensions.
Width / Height: Fixed dimensions of the component.
Min / Max Width / Height: Dimension constraints.
Overflow: How content that exceeds the boundaries is handled.
Customizes the border.
Color: Border color.
Size: Border thickness.
Style: Border style (solid, dashed, etc.).
Radius: Corner rounding.
Sets the background.
Color: Solid background color.
Linear Gradient: Gradient background.
Adjusts display when opened as a modal dialog inside a Flow screen.
Width / Height: Dimensions of the dialog.
Background Color: Dialog background color.
Styles the microphone icon shown when the recorder is ready.
Record Icon Color: Color of the record icon.
Styles the Cancel button in the recording interface.
Background Color: Default background color.
Background Color Active: Background color when pressed.
Background Color Hover: Background color on hover.
Text Color: Default text color.
Text Color Active: Text color when pressed.
Text Color Hover: Text color on hover.
Border Color: Default border color.
Border Color Active: Border color when pressed.
Border Color Hover: Border color on hover.
Border Size: Border thickness.
Border Radius: Corner rounding.
Block Start: Top spacing inside the button.
Block End: Bottom spacing inside the button.
Styles the Done button in the recording interface.
Background Color: Default background color.
Background Color Active: Background color when pressed.
Background Color Hover: Background color on hover.
Text Color: Default text color.
Text Color Active: Text color when pressed.
Text Color Hover: Text color on hover.
Border Color: Default border color.
Border Color Active: Border color when pressed.
Border Color Hover: Border color on hover.
Border Size: Border thickness.
Border Radius: Corner rounding.
Block Start: Top spacing inside the button.
Block End: Bottom spacing inside the button.
Styles the Download button in the recording interface.
Background Color: Default background color.
Background Color Active: Background color when pressed.
Background Color Hover: Background color on hover.
Text Color: Default text color.
Text Color Active: Text color when pressed.
Text Color Hover: Text color on hover.
Border Color: Default border color.
Border Color Active: Border color when pressed.
Border Color Hover: Border color on hover.
Border Size: Border thickness.
Border Radius: Corner rounding.
Block Start: Top spacing inside the button.
Block End: Bottom spacing inside the button.
Styles the New button used to start an additional recording.
Background Color: Default background color.
Background Color Active: Background color when pressed.
Background Color Hover: Background color on hover.
Text Color: Default text color.
Text Color Active: Text color when pressed.
Text Color Hover: Text color on hover.
Border Color: Default border color.
Border Color Active: Border color when pressed.
Border Color Hover: Border color on hover.
Border Size: Border thickness.
Border Radius: Corner rounding.
Block Start: Top spacing inside the button.
Block End: Bottom spacing inside the button.
Styles the Rename button in the recording interface.
Background Color: Default background color.
Background Color Active: Background color when pressed.
Background Color Hover: Background color on hover.
Text Color: Default text color.
Text Color Active: Text color when pressed.
Text Color Hover: Text color on hover.
Border Color: Default border color.
Border Color Active: Border color when pressed.
Border Color Hover: Border color on hover.
Border Size: Border thickness.
Border Radius: Corner rounding.
Block Start: Top spacing inside the button.
Block End: Bottom spacing inside the button.
Styles the Resume button in the recording interface.
Background Color: Default background color.
Background Color Active: Background color when pressed.
Background Color Hover: Background color on hover.
Text Color: Default text color.
Text Color Active: Text color when pressed.
Text Color Hover: Text color on hover.
Border Color: Default border color.
Border Color Active: Border color when pressed.
Border Color Hover: Border color on hover.
Border Size: Border thickness.
Border Radius: Corner rounding.
Block Start: Top spacing inside the button.
Block End: Bottom spacing inside the button.
Styles the Pause button in the recording interface.
Background Color: Default background color.
Background Color Active: Background color when pressed.
Background Color Hover: Background color on hover.
Text Color: Default text color.
Text Color Active: Text color when pressed.
Text Color Hover: Text color on hover.
Border Color: Default border color.
Border Color Active: Border color when pressed.
Border Color Hover: Border color on hover.
Border Size: Border thickness.
Border Radius: Corner rounding.
Block Start: Top spacing inside the button.
Block End: Bottom spacing inside the button.
Styles the Save button in the recording interface.
Background Color: Default background color.
Background Color Active: Background color when pressed.
Background Color Hover: Background color on hover.
Text Color: Default text color.
Text Color Active: Text color when pressed.
Text Color Hover: Text color on hover.
Border Color: Default border color.
Border Color Active: Border color when pressed.
Border Color Hover: Border color on hover.
Border Size: Border thickness.
Border Radius: Corner rounding.
Block Start: Top spacing inside the button.
Block End: Bottom spacing inside the button.
Styles the Start button that initiates a recording.
Background Color: Default background color.
Background Color Active: Background color when pressed.
Background Color Hover: Background color on hover.
Text Color: Default text color.
Text Color Active: Text color when pressed.
Text Color Hover: Text color on hover.
Border Color: Default border color.
Border Color Active: Border color when pressed.
Border Color Hover: Border color on hover.
Border Size: Border thickness.
Border Radius: Corner rounding.
Block Start: Top spacing inside the button.
Block End: Bottom spacing inside the button.
Styles the status label displayed when the recorder is idle.
Color: Text color.
Font Size: Label font size.
Font Weight: Label font weight.
Font Family: Label font family.
Styles the status label displayed while recording is paused.
Color: Text color.
Font Size: Label font size.
Font Weight: Label font weight.
Font Family: Label font family.
Styles the status label displayed while recording is in progress.
Color: Text color.
Font Size: Label font size.
Font Weight: Label font weight.
Font Family: Label font family.
Styles the elapsed-time label shown during recording.
Color: Text color.
Font Size: Label font size.
Font Weight: Label font weight.
Font Family: Label font family.
Styles the audio waveform visualizer shown during recording.
Color: Waveform color.
Styles the divider line between recordings in multiple-recording mode.
Color: Border color.
Size: Border thickness.
Style: Border style (solid, dashed, etc.).
Styles the label identifying each recording entry in multiple-recording mode.
Color: Text color.
Font Size: Label font size.
Font Weight: Label font weight.
Font Family: Label font family.
Styles the overflow menu button on each recording row in multiple-recording mode.
Background Color: Default background color.
Background Color Active: Background color when pressed.
Background Color Hover: Background color on hover.
Icon Color: Default icon color.
Icon Color Active: Icon color when pressed.
Icon Color Hover: Icon color on hover.
Border Color: Default border color.
Border Color Active: Border color when pressed.
Border Color Hover: Border color on hover.
Border Size: Border thickness.
Border Radius: Corner rounding.
Styles the play icon button on each recording row in multiple-recording mode.
Background Color: Default background color.
Background Color Active: Background color when pressed.
Background Color Hover: Background color on hover.
Icon Color: Default icon color.
Icon Color Active: Icon color when pressed.
Icon Color Hover: Icon color on hover.
Border Color: Default border color.
Border Color Active: Border color when pressed.
Border Color Hover: Border color on hover.
Border Size: Border thickness.
Border Radius: Corner rounding.
Styles the stop icon button on each recording row in multiple-recording mode.
Background Color: Default background color.
Background Color Active: Background color when pressed.
Background Color Hover: Background color on hover.
Icon Color: Default icon color.
Icon Color Active: Icon color when pressed.
Icon Color Hover: Icon color on hover.
Border Color: Default border color.
Border Color Active: Border color when pressed.
Border Color Hover: Border color on hover.
Border Size: Border thickness.
Border Radius: Corner rounding.
Output Variables
The Microphone exposes these output variables you can reference in your flow after the screen. To use them, select the screen element in Flow Builder, then the Microphone component, and pick the output variable you need.
Recording Results
Value Collection
Text Collection
The audio recordings captured during the session. Each entry in the collection represents one recording. When Allow Multiple Recordings is disabled only one entry is present; when it is enabled the collection grows with each recording the user saves.
Example: After a field technician records two on-site observations, store Value Collection in a flow variable and pass it to a subsequent Create Records element to attach both audio files to the related work order.
Flow Interaction Output Variables
Like all interactive Flow components, the Microphone exposes generic output slots (Variable 1–10) that an Open Flow Dialog or Open Flow Panel interaction can fill with values from a launched flow. See Flow Interaction Output Variables.
Last updated
Was this helpful?
