Automate copying image URL from one field, and inserting it into "Get Image URL" in another field

I need to copy a URL from one field and not just paste it into another field, but paste it into the “Get Image URL” style field … and then UPLOAD IT.

If you’ve used the “get image URL” type of field you know you can drop files into it or past a URL into it so that it uploads the file to AIrTable and gives you an AIrTable URL. The difficulty here is that you can’t just paste a URL into that field. You have to
(a) CLICK the filed first and a menu appears.
(b) Within that menu you must select he URL link icon to make another field appear.
(c) Then you past your URL into THAT field
(d) Press upload
(f) a small image of your uploaded file appears in the field which you can THEN click on and get an AIrTable URL for.

**How do I automate this? I’ve created a small loom.com video below to show the stapes in my database I need to automate. **

[Loom | Free Screen & Video Recording Software | Loom]

(Click the link above … yes the one that looks like a text advertisement… it goes to a Screen Recording video of the steps I need automated)

Hi @Jesse_Gentile,
I am not sure of a way to fully automate your requested process without writing some custom javascript code.

There is an existing free Convert URLs to Attachments script provided by Airtable that might do what you are looking for or be a good starting off point. This can be found in the Extensions Marketplace.

1 Like

Whooooooaaaahhh… This is perfect. It did exactly what I needed and it did it fast.

1 Like

@Jesse_Gentile

  1. Note that JavaScripting is not necessary for this. You can simply use Airtable’s native automation actions to update an attachment field with the content of the URL field, and the file will be uploaded to the attachment field.

  2. Also, be careful about depending on those Airtable-generated URLs. Starting in November 2022, those links will expire after 2 hours if accessed via the API.

1 Like