How to Convert attachment from mailhook in binary code to recieve data?

Hello !,
My goal is to get data stored in binary code which i get when i send exported data on mailhook from wordpress plugin which export data from woocommerce:

So my main question is that in this code is stored data like: “customer, billing address etc.”, and I need to know how i can decode it to get data which are stored there ?

Thank you so much for your answers !

Hey There @Maciej_Walentynowicz ,
Can you share the output bundle .

1 Like

Hi @Maciej_Walentynowicz

Please try by using toString function {{toString({{data}}; “base64”)}}
image

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel

2 Likes

You can use the XML “Parse XML” module for this.

1 Like

Thank You All, I used toString, then split and finnaly pare XML to get effect I wanted, so all of you combined were helpful ! Thank you !

3 Likes