Simple Storage Service (S3)

Simple Storage Service (S3)

Simple Storage Service or S3 is a data-storage service provided by many cloud companies such as AWS (known as S3 buckets). S3 stores varied types of data and is famous for its simple integration and auto data management features which saves you from the hassle of managing your database on your own.

 

Integration With OCP

Open your S3 dashboard and create a new bucket.

 

 

 

 

Make sure when you are creating the bucket that it has read/write permissions and is a public bucket

 

.

 

 

From the side menu "App Keys", you can add new application key, you need to have the permission read and write.

 

After creating the key, save or copy the details.

 

 

 

Inside OCP’s dashboard, click on Integration and then S3 storage option.

 

 

Enter the details with respect to your bucket in the fields and click on save and your S3 storage has been integrated with OCP to use.

 

 

There is a global restriction of uploading files larger than 5mb.

 

Implementation Of S3 Inside OCP

S3 storage replaces the default OCP storage server, hence every file (picture, video, pdf, media files etc) you will upload will be uploaded directly to your S3 bucket instead of OCP’s server.

This helps keeping your data saved in case OCPfaces an outage and ensures your flows are kept running properly.

 

An example of implementation will be to make a Send Message node, and upload an image using the Rich Media feature.

 

 

After the upload is completed, save the flow and publish it.

 

Click on the node again and observe the image URL you just uploaded.

 

 

The URL of the image has been changed from OCP’s default server uri to your S3’s bucket URL.

 

In this way, after integration, all your files will be uploaded directly to your bucket.

 

 

Tutorial of S3


    • Related Articles

    • Buttons

      You can use buttons with each types: call, url, node. { "version": "v1", "content": { "messages": [ { "type": "text", "text": "simple text", "buttons": [ { "type": "url", "caption": "External link", "url": "https://alendei.com", }, { ...Another ...
    • Quick replies

      quick_replies property of server response is optional. Quick replies cannot be used in dynamic block of a content node if there are other blocks exist afterwards. Quick reply description format is the same for buttons, it supports content, node, ...
    • WhatsApp + 360Dialog (Paid Plans)

      OCP partners with 360Dialog, which is an official WhatsApp API partner. We are bringing special partner prices that start at $50 per month You will be able to build your WhatsApp chatbot with the best pricing, and also the most supported message ...
    • Actions format

      Action add tag Use this response to add a tag to a subscriber. Tag with the same name must exist in your bot: { "version": "v1", "content": { "messages": [ { "type": "text", "text": "simple text with button", "buttons": [ { "type": "url", "caption": ...
    • Build WhatsApp bot with testing WhatsApp number

      In OCP, if you synced numbers, you will see the screenshot below, and select the test number offered from Facebook, you can start building your first WhatsApp chatbot. And then confirm the selection. And then you can create the bot to test the ...