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”
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
Get data from your sheet. (Most of the time sheet itself supports default iteration within it, If it doesn’t iterate then only add Iterator after the sheet module)
Use JSON Aggregator (Need to set basic structure for your JSON data to get)
JSON Aggregator return JSON string and parses it if required.
P.S.: Always search first, Check Make Academy. If this is helpful, mark it as a solution and Need expert help or have questions? Contact or comment below!
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 ```