Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.
Apr 22, 2022 12:42 AM
Hello,
As the image uploaded in Airtable returns the URL of the image, I want to convert the contents of the URL(image) to base64, btoa() converts the URL to base64 but not the content of the URL (Actual Image), I want the uploaded Image in base64 format.
Is there anyway to do this inside automation script?
Thank you
Apr 22, 2022 04:04 AM
There is probably a way to do this with scripting, but I don’t know Javascript so someone else would need to guide you on that.
Without using scripting at all, you can fully automate this by using the Base64 function of Make.com. (You would first need to use the Get A File module to download the image from the URL, and then you can convert it to Base64 afterwards.)
Apr 22, 2022 04:15 AM
@ScottWorld Is there anyway to do this in automation script and not using Script app?
Because I need to run the automation as soon as a new record is created which sends a POST request with the the attachment image in base64 format, I don’t know how to run script app every time a record is created.
Apr 23, 2022 01:41 AM
@ScottWorld Exactly, Is there any way to do this in automation script without using make.com or any other external websites.
Apr 23, 2022 02:16 AM
As I mentioned above, there is probably a way to do this with scripting. I don’t know JavaScript, though.
Oct 14, 2022 11:51 AM