What are you trying to achieve?
I am trying to get multiple diet inputs from Telegram analyzed by the HTTP module (Chat) into multiple data points for different food items (Calories, Time, Category etc). After that then take each food item and place into google sheet rows.
Steps taken so far
I have been able to get the data from telegram and analyzed by the http module. Then JSON converts it into bundles but the iterator module only captures 1 item because it is not in a array. Here is the JSON input
[
{
“json”: “[{"Date":"2025-05-20T00:39:51.031Z","Category":"Meal","Subcategory":"Food","Name":"1 grape","Calories":2,"Protein":0.02,"Carbs":0.5,"Fat":0.02},{"Date":"2025-05-20T00:39:51.031Z","Category":"Meal","Subcategory":"Food","Name":"6 oz chicken","Calories":350,"Protein":65,"Carbs":0,"Fat":7.5},{"Date":"2025-05-20T00:39:51.031Z","Category":"Fluid","Subcategory":"Juice","Name":"1 cup kale juice","Calories":34,"Protein":2.2,"Carbs":6.7,"Fat":0.5}]”
}
]
and here is the json output
[
{
“Date”: “2025-05-20T00:39:51.031Z”,
“Category”: “Meal”,
“Subcategory”: “Food”,
“Name”: “1 grape”,
“Calories”: 2,
“Protein”: 0.02,
“Carbs”: 0.5,
“Fat”: 0.02
},
{
“Date”: “2025-05-20T00:39:51.031Z”,
“Category”: “Meal”,
“Subcategory”: “Food”,
“Name”: “6 oz chicken”,
“Calories”: 350,
“Protein”: 65,
“Carbs”: 0,
“Fat”: 7.5
},
{
“Date”: “2025-05-20T00:39:51.031Z”,
“Category”: “Fluid”,
“Subcategory”: “Juice”,
“Name”: “1 cup kale juice”,
“Calories”: 34,
“Protein”: 2.2,
“Carbs”: 6.7,
“Fat”: 0.5
}
]