Trying to send audio files from the file uploader in bubble to zapier for some AI transcriptions. I am getting stuck on obtaining the file URL once uploaded, I believe I need to create a custom state, but not sure.
If the audio is already in your file manager and have it in the database you should have access to the url of the file.
Most of my issues when dealing with file URLs is that bubble doesn’t append the https: to the URL so when you post it or access it via API the URL starts with //s3.amazon…
so what I and plenty of bubbles did to fix this is that we found our own way of adding the HTTPS: to the start of the URL string. you can’t just change the url in the database cause that will break the file so you have to create a new field, or in the custom state, or in the workflow that you use to post data… it will depend on your use case and specific workflow, but regardless… you need to find a way toa dd the https: to the URL cause if you don’t, it will break every API integrastion
personally i am posting api requests from backend so I created a recursive workflow that checkes wether or not the URL contains https: and created a new field to host the API-friendly URL that is used in the POST requests i make through my app