Customize file upload with Ai component, possible?

Hi, I’m trying to build a customize file uploader with the Ai component.

I have manged to create 2 buttons:

  1. Opens the camera directly
  2. Opens the browser directly.

Then when the user choose the file/taking the picture, the file is uploaded to a specific column.

I am able to see the image as a preview.

I wasn’t able to see a PDF as a preview.

But, I can’t tell if the file was uploaded or not since the url does not lead anywhere.

So I wonder if it’s possible?

1 Like

Not possible as far as I know, because Glide doesn’t expose a method to upload a file directly through their API.

If you’re able to tell the file to utilize another API to upload your file somewhere and return the URL, then perhaps you can string the “Upload File” action to get the URL from the previous step and upload the file to Glide storage.

1 Like