Assign the bundle data to a variable

I’m utilizing the ‘Make’ webhook module which sends a JSON payload. I want to store the entire JSON payload in a variable for further processing. How can this be achieved?

Hii @Nicolas_Berney

Unfortunately, it’s not possible to store JSON in a singular variable. However, try to individually map the contents into a single variable.

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

Hi @Nicolas_Berney,

Yes

Yes, it is possible to get the entire JSON payload from the Custom Webhook module as a JSON string variable.

The trick is to enable JSON pass-through when setting up the Webhook.

Output

Screenshot_2023-11-25_131153

It’s as simple as that.

Hope this helps!

3 Likes

@Nicolas_Berney

Our bad. We have missed out on the webhook settings which enable the JSON to pass through.

Also, you can use the module “Transform to JSON” to convert any data type to JSON.

MSquare Support
Visit us here
Youtube Channel

Amazing, that was exactly what I needed! Thanks!

3 Likes