Skip to content
FlexiPedia logo

S3 Storage

Discover how our enhanced storage feature allows you to securely upload and manage media files directly to S3, ensuring seamless integration across multiple channels like WebChat, Messenger, and Instagram. This solution is perfect for businesses looking to streamline their data m

Flexito OmniAI
Beginnerv4
Read in:

Listen to an audio overview

A short, AI-generated podcast-style summary of this article.

Discover how our enhanced storage feature allows you to securely upload and manage media files directly to S3, ensuring seamless integration across multiple channels like WebChat, Messenger, and Instagram. This solution is perfect for businesses looking to streamline their data management and enhance security.

## Overview

We've enhanced our storage capabilities, allowing users to upload media files directly to S3. This feature supports a variety of file types, such as documents, images, audio, and video, ensuring easy integration with S3 for secure and efficient data management.

### Key Features

  • **Direct Upload to S3**: Users can now upload media files directly to their S3 storage without needing any intermediaries.

  • **Multi-Channel Support**: This feature works seamlessly across multiple platforms, including WebChat, Messenger, Instagram, and more.

  • **Enhanced Security**: The direct upload process ensures secure data transfer and storage, providing peace of mind when handling sensitive information.


### Supported Media Types

This feature supports the following types of media:

  1. Files

  2. Images

  3. Audio

  4. Video

### How to Set Up S3 Storage

Navigate to the Flow, select the Action Node, and choose Integrations Action.

In the dropdown menu, you will find the S3 Storage Action.

You can now store your data directly in S3 Storage.


### Handling Random User Uploads

Go to the flow set as the default reply, select the Condition Node, and filter the last message by its media type.

In the S3 Action Node, choose the media type based on the condition set in the previous node.

Now, all your media types are stored directly in S3.


### Benefits of Direct S3 Upload

The direct upload feature offers several benefits:

  • **Efficiency**: Instantly save files to S3 without the need for intermediate servers or manual uploads.

  • **Cross-Channel Consistency**: Supported across all integrated channels, ensuring a consistent user experience.

  • **Improved Security**: Direct transfers reduce the risk of data breaches and ensure compliance with modern security standards.


#### Response

  • **Success**: Returns a 200 OK status

  • **Error**: Returns an appropriate error code if the upload fails

### Use Cases

  1. **Media Storage for Conversations**:

  2. Upload and store user-shared media files, such as images or audio messages, during live chats on platforms like WebChat or Instagram.

  3. **Content Management**:

  4. Save files, images, and videos for later access or processing, such as documents shared by users or promotional videos uploaded by admins.

  5. **Secure Data Handling**:

  6. Store sensitive files directly in S3 for regulatory compliance and enhanced security.


### Example Usage Scenarios

#### WebChat File Upload

  • A user shares a profile picture via WebChat.

  • The file is uploaded directly to the S3 bucket, and the secure URL is stored in the database.

#### Messenger Audio Message

  • During a Messenger conversation, a user sends an audio recording.

  • The audio file is directly transferred to S3 for secure storage.

#### Instagram Video Content

  • A user shares a video on Instagram.

  • The video is uploaded and securely saved in the S3 bucket for analysis or future use.


### Summary

The Direct Upload to S3 feature simplifies and secures the storage of media files across all supported channels, including WebChat, Messenger, and Instagram. By supporting multiple file types—such as documents, images, audio, and video—this feature ensures users can efficiently save their data directly to Amazon S3, providing a streamlined and secure solution for modern applications.