Binary pdf corrupted in email attachment

@NicoSQ You can use RegEx:

{{replace("data:application/pdf;base64,s87shdfui32nuiwehf8ef"; "/.+base64\,/"; emptystring)}}

In this case replace the static base64 text with the variable you have.

See more about it here:

3 Likes