# Send Audio

{% embed url="<https://app.supademo.com/demo/cmm3fzcux18h1q1brv1do2dnv?utm_source=link>" %}

### Overview &#x20;

The **Send Audio** action allows you to send a voice message or audio file within a bot flow.

This action:

* Sends an audio message
* Does not collect user input
* Automatically proceeds to the next connected node

### Add a Send Audio Action &#x20;

1. Click **Add Node**
2. Select **Send Action**
3. Choose **Send Audio**

The Send Audio configuration panel will open.

#### Action Name &#x20;

The **Action Name** is used for internal reference.

* Helps identify the action within the flow
* Does not appear to customers

Example:

* 9999 Special Launch

### Media Upload Type &#x20;

You must choose how the audio will be uploaded.

Available options:

* **From Media**
* **URL**

#### Upload Type: From Media &#x20;

Use this option to select an audio file from the Media Collection.

Steps:

1. Select **Upload Type – From Media**
2. Click **Upload Media**
3. Choose the required audio file from the popup
4. Confirm selection

The selected audio file will be attached to the action.

Upload Type: URL &#x20;

Use this option to send an audio file using a direct URL.

URL &#x20;

Enter the publicly accessible audio file URL.

Fallback URL &#x20;

Enter a backup audio URL.

If the primary URL fails or is inaccessible, the fallback URL will be used.

Caption (Optional) &#x20;

You can add caption text along with the audio message.

Caption features:

* Maximum length: 4096 characters
* Supports emojis
* Supports text formatting
* Supports variables

Use captions to provide context or additional information.

### Text Formatting Options (Caption) &#x20;

**Bold** &#x20;

1. Select the text
2. Click **B**

**Italic** &#x20;

1. Select the text
2. Click **I**

**Strikethrough** &#x20;

1. Select the text
2. Click **S**

**Emojis** &#x20;

Click the **Emoji icon** to insert emojis.

#### Add Variable &#x20;

Use **Add Variable** to insert dynamic data into the caption.

When the message is sent, variables are replaced with customer-specific data.

#### Customer Fields &#x20;

Predefined fields stored in the customer profile.

Examples:

* Customer Name
* Phone Number
* Total Amount
* Custom Fields

**Example usage:**

Hi {{customer.name}}

To insert a variable:

1. Click **Add Variable**
2. Select the required field
3. The variable will be inserted automatically

### Supported File Formats &#x20;

The following audio formats are supported:

* audio/aac
* audio/mp4
* audio/mpeg
* audio/amr
* audio/ogg

#### File Size Limit &#x20;

Maximum file size: **5 MB**\
Files exceeding this size will not be accepted.

#### **Save and Deploy** &#x20;

After configuring the action:

1. Click **Create** to add the action to the flow
2. Connect the node within the flow
3. Click **Publish** to deploy the configuration

#### Validation Before Publishing &#x20;

Before publishing:

* Confirm file format and size meet requirements
* Verify URL accessibility (if using URL upload type)
* Ensure fallback URL is valid (if configured)
* Test the flow to confirm correct audio delivery


---

# 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.ownchat.app/bot/send-action/send-audio-node.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.
