Visual Elements

System is looking for solutions in Knowledgebase, Blogs, AI, and other places

6. Saving Individual Files Using API Workflows

When multiple files are selected, it’s often necessary to store them separately in Bubble’s database. To do this:

  1. Create a Backend Workflow Endpoint
    • In the “Backend Workflows” tab, create a new endpoint, e.g., “saveDropboxFile”.
    • Define parameters such as file_url, file_id, file_size, file_name, etc.
  2. Configure the Create Action
    • Within that endpoint, add a “Create a new thing” action mapping each parameter to the corresponding fields in your database (e.g., “File”, “Document”).
  3. Schedule the Workflow on a List
    • In your onFilesSelected workflow, add the “Schedule API Workflow on a List” action.
    • Select the property (or state) containing the list of files and match each endpoint parameter to the “Current item” values.

This approach processes and saves each file individually, enabling further tasks like generating previews or sending notifications.


Was this page helpful?

Thank you for your feedback!

Comments (00)

Leave a comment

Sign in to post your comment or Sign Up if you don't have any account.

Ai Replying

We use cookies to enhance your experience on our website. By continuing to browse, you agree to our use of cookies. Learn more in our Privacy Policy

Accept All Reject All

Support, Knowledgebase, Live Chat, and CRM.

Get In Touch

Need More Help