How to use atob in n8n

@jan @MutedJam How to use atob in n8n
code:-’

const byteCharacters = atob(b64Data);

Error:-

atob cannot undefined

Hey @AMS_KHADHIRI,

Much like the other post is that the full error? It looks like something is missing.

Out of interest have you tried using Buffer.from() instead?

@Jon I’m not getting exact value of byte. Do you have any alternative?

Maybe this helps:

1 Like

Thanks @shrey-42 It’s working fine