> ## Documentation Index
> Fetch the complete documentation index at: https://koreai-ai-for-work-dev.mintlify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Message Prompt Node

Use this node to send automated messages to customers via voice or chat.

## Configure the Node

### General Settings

In **General Settings**, configure the following:

<img src="https://mintcdn.com/koreai-ai-for-work-dev/Z6dnCk8OSS21ESL3/ai-for-service/flows/node-types/images/general-settings-message-prompt.png?fit=max&auto=format&n=Z6dnCk8OSS21ESL3&q=85&s=e51a607fa5513b351ff53073b6dcb526" alt="General Settings" width="415" height="477" data-path="ai-for-service/flows/node-types/images/general-settings-message-prompt.png" />

1. **Custom Name**: Enter a name to identify the node.
2. **Your Message to User**: Select a message type under **Choose your message type**:

   * **Text to Speech**: Type or select a message to convert to speech. Click **+ Create New** to add a new prompt, or **+ Add Another** to define multiple messages (one is randomly selected at runtime).

     <img src="https://mintcdn.com/koreai-ai-for-work-dev/qFSL39UycgeH83Fj/ai-for-service/flows/node-types/images/text-to-speech-message-prompt.png?fit=max&auto=format&n=qFSL39UycgeH83Fj&q=85&s=b8267683372454e8738a1d0441758084" alt="Text to Speech" width="372" height="430" data-path="ai-for-service/flows/node-types/images/text-to-speech-message-prompt.png" />

   * **Audio File**: Type a message or click **+ Upload New** to upload an .mp3 or .wav file.

     <img src="https://mintcdn.com/koreai-ai-for-work-dev/y_m1Gv0LCU2NDHec/ai-for-service/flows/node-types/images/audio-file-message-prompt.png?fit=max&auto=format&n=y_m1Gv0LCU2NDHec&q=85&s=ad2eaa7beaaf0ff301ebe5a80ea8a452" alt="Audio File" width="363" height="426" data-path="ai-for-service/flows/node-types/images/audio-file-message-prompt.png" />

   * **Link**: Click **+ Create New** to add message text and an audio file URL (.mp3 or .wav). Click **+ Add Another** for additional URLs.

     <img src="https://mintcdn.com/koreai-ai-for-work-dev/Z6dnCk8OSS21ESL3/ai-for-service/flows/node-types/images/link-message-prompt.png?fit=max&auto=format&n=Z6dnCk8OSS21ESL3&q=85&s=97d277933792c4e07486aca27e160c6a" alt="Link" width="370" height="468" data-path="ai-for-service/flows/node-types/images/link-message-prompt.png" />

   * **Go to node**: Select the node for error handling. You can create a new node or select an existing one.

### Pass Data from Experience Flow to Dialog in a Child Bot

You can use a script to read data from an experience flow and pass it to a dialog in a child bot. The script node sets a variable from the current user session and stores it using `userSessionUtils`. [Learn more](/ai-for-service/flows/node-types/utils#pass-data-from-experience-flow-to-dialog-in-a-child-bot).


Built with [Mintlify](https://mintlify.com).