Ultimate Uploadcare
DemoEditorGet Ultimate Uploadcare
  • Welcome
  • Introduction
    • Key Use Cases
    • Key Features
    • Release Notes
  • Getting Started
    • Retrieving Uploadcare Keys
    • Installing the plugin
  • Elements
    • Ultimate Uploadcare - Uploader
      • Settings
        • Upload Options
        • Upload Config
        • Button Styling
      • Exposed States
        • List of File Paths
        • List of UUIDs
        • List of File Names
        • Array of Files
        • Disabled
        • Base64 Array
      • Workflow Actions
        • Reset Uploader
        • Remove File From Uploader
        • Open Uploader
        • Close Uploader
      • Events
    • Ultimate Uploadcare - Cloud Image Editor
      • Settings
      • Exposed States
      • Workflow Actions
      • Events
    • Ultimate Uploadcare - Video Player
      • Settings
    • Backend Workflow Actions
      • Store File
      • Delete File
      • Extract UUID
  • Implementation
    • File Uploads with Ultimate Uploadcare - Uploader
    • Saving Files to Bubble
    • Storing Files in Uploadcare
    • Optimising Images for SEO
    • Image Editing with Ultimate Uploadcare - Cloud Image Editor
Powered by GitBook
On this page
  • Saving from one of the list states
  • Saving from 'Array of files'
  1. Implementation

Saving Files to Bubble

PreviousFile Uploads with Ultimate Uploadcare - UploaderNextStoring Files in Uploadcare

Last updated 5 months ago

Once your user has uploaded their files, you likely want to save it to your Bubble, or external, database.

You can approach this in two ways. Either use the simpler list states that return just one data point (see Exposed States) or use the more detailed 'Array of Files' state.

Saving from one of the list states

The simpler of the two. To save the file data you just need to run a basic workflow that saves the data to your database.

1

Create a backend workflow

Create a backend workflow that saves the image to the database. This is the workflow that you will schedule with the 'Schedule API workflow on a list' action.

2

Create the trigger workflow

Using either one of the existing events (see Events) or a trigger from your own button/existing workflow, add a workflow action that reads the 'List of X' state and passes each item to the API workflow defined in step 1.

Saving from 'Array of files'

While the 'Array of Files' state does provide you with more information to save from, it requires an additional plugin and a backend workflow to work.

While I don't officially recommend or endorse a particular JSON manipulator plugin, the below example was implemented with by Opground.

1

Create a backend workflow

Create a backend workflow that saves a single file to the database. This is the workflow that you will schedule with the 'Schedule API workflow on a list' action.

2

Create the trigger workflow

Using either one of the existing events (see Events) or a trigger from your own button/existing workflow, add a workflow action that reads the 'Array of Files' state and passes each item to the API workflow defined in step 1.

JSON Manipulator
LogoBubble Editor - dragdropdevelopBubble
Workflow editor
Workflow editor
LogoBubble Editor - dragdropdevelopBubble