Skip to main content

Media Node

The Media node enables an agent to receive, temporarily store, and process media files uploaded by users during conversations. Uploaded files are available to the connected agent and can be used by supported tools within the workflow.

The Media node supports temporary file storage and automatically removes uploaded files after the configured Time-to-Live (TTL) expires.

Why Use the Media Node?

The Media node allows your agent to:

  • Accept media files uploaded by users.
  • Temporarily store uploaded files during a conversation.
  • Configure how long uploaded files are retained.
  • Restrict the types of media users can upload.
  • Make uploaded files available to connected tools for processing.

Adding a Media Node​

  1. Drag the Media node from the Node Library onto the workflow.
  2. Connect the Media node to the Agent node.
  3. Click the Settings icon to configure the node.
Figure 1: Add Media Node

Figure 1: Add Media Node

Configuring the Media Node​

The Media node provides the following configuration options.

File Time-to-Live (TTL)​

The File TTL determines how long uploaded files are stored before they are automatically deleted.

PropertyDescription
Default30 minutes

Once the configured TTL expires, the uploaded files are automatically removed.

Allowed File Types

Choose which types of media users are allowed to upload.

Supported categories include:

  • Images
  • Videos
  • Audio

If no file types are selected, all supported media types are accepted.

Figure 2: Media Node Configuration

Figure 2: Media Node Configuration

Upload Files​

After configuring and connecting the Media node to an agent, users can upload media files directly through the chat interface.

  1. Open the Test panel.
Figure 3: Test pannel

Figure 3: Test pannel

  1. Click the Attach button.
Figure 4: Click Attach button

Figure 4: Click Attach button

  1. Select an image, video, audio file, or other supported media file from your device.
  2. Send the message.

The uploaded file is automatically stored in the connected Media node and becomes available to the agent during the conversation.

Using Media with Tools​

When a Tool Connector is connected to the same agent, uploaded media files can be used by any connected tool that supports media processing.

For example, a tool can use uploaded media to:

  • Analyze images.
  • Process audio or video files.
  • Publish media to external platforms.
  • Send media through messaging applications.
  • Perform document or file processing.

The agent automatically provides the uploaded media to the appropriate tool when required.

Viewing Uploaded Files

The Media node displays all files currently stored for the active session.

For each uploaded file, you can view:

  • File name
  • File size
  • File type
  • Upload status
  • Remaining time before expiration
Figure 5: Upload file

Figure 5: Upload file

You can also:

  • Refresh the uploaded file list.
  • Delete uploaded files manually before they expire.
How the Media Node Works

When a user uploads a media file:

  1. The file is stored temporarily by the Media node.
  2. The agent can access the uploaded file while processing the user's request.
  3. If a Tool Connector is configured, the agent can pass the uploaded media to any compatible connected tool.
  4. Once the configured TTL expires, the uploaded file is automatically deleted.