Trying to push a Freepik image into a Google Doc without using Drive for upload

:bullseye: What is your goal?

I want to save an image that I get from the Freepik module into a Google Doc.

:thinking: What is the problem & what have you tried?

As I do not have a Google Business account, I cannot upload the image into Google Drive to get the URL.
From Freepik I get the image as base64 data.
Is it possible to use this data to push the image as a html tag into a Google Doc?
I already tried all sorts of combinations with the tag.

I tried all sort of combinations with toString(), toBinary(), as image replacement, as variable, as Google template, …

No success yet. Maybe I am lacking of some basic technical image rendering knowledge. And what I try to achieve simply is not doable.
Thank you!

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

1 Like

Hi @ThomasV ,

Google Docs does not support inserting images directly from raw Base64 data.

Even though the module accepts HTML, it requires an accessible image URL or a file object to properly render the image.

Therefore, an additional step is needed to convert the Base64 output into a file and host it somewhere accessible (or upload it directly as a file), so that Google Docs can reference it correctly.

Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation