How to convert a Base64 file to Binary

Illustrated below is an example of a flow with the Record Generator as the source step and the HTTP Service step as the destination step.

The image below is the Record Generator step which is populated with the Base64 string record.

image

Illustrated in the image below is the code that is used in the Calculator step.

image

Below is the code to copy and paste in the Calculator step:

let inputRecord=input.record;
return createBuffer(inputRecord.base64File,‘base64’)

Byte Buffers in Calculators

How to use the Byte Group step