How do I get base64 file into my Airtable attachment field?

Hey guys,

I’m trying to upload a docx file to my Airtable attachment field.

It’s coming in as base64 and I guess I need to convert it back to a file before Airtable will accept it. I have no idea what I’m doing so I got Claude/ChatGPT involved.

They had me set it up like so:



It runs without error and the row gets added to my Airtable, but the file is still not showing up.

I’m totally lost and would appreciate some guidance.

Thanks.

Welcome to the Make community!

You can try using the built-in function toBinary

e.g.:

tobinary(1.Base64EncodedString)

If it isn’t base64 encoded, you can convert it to base64 first.

base64(1.plaintext)

For more information, see the function documentation in the Help Center.

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!

Thanks for the reply.

You have vastly overestimated my abilities.

Please could you explain where exactly in my scenario do I put this function? I tried to figure it out on my own but I couldn’t. Sorry.