Services Plugins FAQs

Box.com Service Account File Reference

Hello!

Does anyone know if it’s possible to reference files uploaded to box.com from within bubble as file attachments on data types.

Here’s my scenario I’m working with. I’m working on a platform that gathers documents from job applicants and makes them available for employees at my company, which we then compile and submit to positions that these applicants want to apply to. Because these job applicants are submitting different types of documents at different times I’m converting all documents to PDF’s using CloudConvert’s API, then when it comes time to compile the documents into the application packet, I’d like to use their compile PDF API as well. Since I’m storing these documents in box.com I need to be able to reference them from my bubble app using a backend workflow to send them to CloudConvert.

The box.com service plugin makes it possible to view the documents using an embed code but I’d like to be able to do more with them than that. I’m not seeing a way to be able to tell box.com to send me a document’s share link, which would work, but all documents uploaded are not shared by default.

Any ideas?

Thanks!

Hi @justin2, thanks for reaching out.

To be able to get the URL of the uploaded file, allow me to recommend you a workaround.
You may use the example of workflow from the plugin Live Demo page, adjusting it to your requirements.

To do so, please do the following:

  1. Create a corresponding action https://prnt.sc/10z14bf
  2. Create a state that will contain data about the requested file (including URL) https://prnt.sc/10z15qs
  3. Use the obtained URL to download the file, manually (as you’ve made previously, through HTML element or use any plugin that uses URL as a source.

Also, you may use alike flow on our demo page - https://prnt.sc/10z1p16
https://bubble.io/page?type=page&name=box-app-storage&id=zeroqode-demo-02

Hope it helps.

Regards,

Hey @Serg thanks for the response. Do you know if theres a way to add a parameter to the embed URL that would trigger a download automatically? Having to download manually won’t work for this scenario as I’m hoping to do things with the files on the server side without direct user input.

What would it take to be able get access to the API calls related to shared links in the Zeroqode plugin? This would allow us to tell box to assign shared links to files with the options of adding passwords to them, and would additionally allow us to use those files for more than just viewing them within our application by viewing the download url using the existing “get file” call.

Here’s the API reference for convenience: https://developer.box.com/reference/put-files-id--add-shared-link/

Hi @justin2, sorry for the delayed reply due to the weekend.

Potentially, that could be possible to implement through triggering custom events. Kindly note that such a setup would require a solid knowledge of Bubble skills (to be able to setup a corresponding workflow).

Allow me to recommend checking this link for reference:

We will check how feasible it will be to add the requested feature to the future plugin update, thank you for suggesting it.

Thank you and have a nice week.

Regards,

1 Like