How to Generate Presigned URLs

Hi Bubblers,

I’m wondering if it is possible to generated a presigned URL of a file that is uploaded to bubble.

My use-case:

  1. User uploads an audio file (URL of file obtained from bubble)
  2. URL is sent to Cloud Functions
  3. URL is used to perform transcription using external APIs
  4. Additional processing of transcription in Cloud Functions

I want presigned URLs because:
Step 3 requires me to send over a URL in a way that the external API has read access. - And I would prefer not to make the file accessible by a public URL (I think)

If there are any other tools that I could use for my use-case, I would greatly appreciate any feedback on that matter as well.

Thank you all in advance.

If you just send the file (the private file), see if it automatically does a presigned URL

It doesn’t seem to work just by sending file's URL or file.

For extra context, the URL is sent in the body of the API Connector like so:
{“url”: “”}

So passing file's URL or file into <url> didn’t seem to work.

:grimacing: I’ve heard of people having this issue, and having to save a public file just to send it to an API. One of my reasons I went with external storage, no way to just have an action that makes presigned URL with built in files :grimacing:

1 Like

@claudekwanhyonglee and @tylerboodman - I’ve just released this plugin publicly.

It could be useful for this use case.

It’s still in Beta, so any and all feedback will be helpful.

3 Likes

Interesting :astonished: