Adding to a HTTP body

Hey everyone!

I have a HTTP body that includes addresses. I am now wanting to use addresses from a google sheet to be put into that Body. How can i make this happen?

Attached is the currently working Body command (Names and addresses are made up). Ass you can see, this body has three addresses in it. Lets say i want to replace these addresses with 5 addresses from a google sheet. How would you go about doing so?

{

“addresses”: [

{

“title”: “Tinisha Pesina”,

“address”: “2986 Walnut Hill Ln, Dallas, TX 75229”

},

{

“title”: “Josphine Gregorio”,

“address”: “609 E Plano Pkwy, Plano, TX 75074”

},

{

“title”: “Wilfred Bresett”,

“address”: “18101 Coit Rd, Dallas, TX 75252”

}

]

}

Hello @jvanoy3,
There are multiple ways we can use and apply to create json strings from your dynamic data.

Using Text Aggregator

Check this response from @Bjorn.drivn

At the end the output is a just JSON string so be sure to Parse it if it’s needed in your next steps.

Using JSON Aggregator

Steps need to follow


:bulb:P.S.: Always search first, Check Make Academy. If this is helpful, mark it as a solution :white_check_mark: and :+1:
Need expert help or have questions? Contact or comment below! :point_down:

But Google sheet modules return data in the form of an collection (Seen in attached photo). How do i create a data structor when it is in that format?

Hello @jvanoy3,
Please also share your Actual GSheet screenshot and share the output of the Make’s Sheet module.
Put that output like this for readable JSON data.
``` Output ```