Uploading bulk pdf files to database

I’m trying to create an area where a user can download pdf files that I will make available.

So I created a thing (database) that has the title and the associated pdf file (file type). But I don’t want to upload these documents manually one by one. Since Bubble has the CSV upload feature, is there a way to embed the pdf files in a csv so that I can upload the files in bulk?

I already tried embedding the pdf as an object and also tried embedding them as links but, Bubble does not create pdf urls for these.

Any pointers will be helpful.

Hey @ricardo.e.miranda - if the PDF’s are available as links, you can run a workflow over each item in the csv.

You would then use the :save to s3 action to save this to the Bubble DB object.

So your thing creation for each line in the CSV may look something like this:

  • name = example.pdf
  • file = (pdf url):saved to S3

Good luck!

Thank you, @DjackLowCode
Sounds like I need the link data for each cell in the CSV…for the pdf link, can it be the type that links to the file’s location on my local machine…since it’s pulling from there to upload to bubble…

@ricardo.e.miranda Unless it’s hosted online it won’t be able to. Alternatively you could look into one of the ‘Multi-uploader’ plugins and then upload in bulk from there.

This topic was automatically closed after 70 days. New replies are no longer allowed.