QR Code is keeping the raw svg data even in an image column

Generated a QR Code from a template column:

Tried sending this in an email and realised it keeps the raw svg data, so I wrote it to an image column to try generate a URL:

However it keeps the raw svg data, even if I copy the link with cntrl c to the image, it shows what its currently showing inside my template column to send in the email:

Please follow these steps.

Add a JavaScript column to process the QR code into a useable format.

return decodeURIComponent(p1.split(',')[1]);

Then add a button/action to convert it to a Glide URL.

1 Like