How To Combine Results From Paginated Requests?
Hey everyone, I'm currently working on an automation where I have a HTTP node make paginated requests. The resulting JSON looks like:
[
{
"response":{
"result":{
"clients":[],
"page":1,
"pages":6,
"per_page":15,
"total":78
}
}
},
{
"response":{
"result":{
"clients":[],
"page”:2,
"pages":6,
"per_page":15,
"total":78
}
}
}]
My question is, how can I combine all the client arrays into one single array. I've tried using the Code block, Split Out, and Aggregate but, I haven't had success with any of them.
3
2 comments
Ronald Jabouin
5
How To Combine Results From Paginated Requests?
AI Automation Society
skool.com/ai-automation-society
Learn to get paid for AI solutions, regardless of your background.
Leaderboard (30-day)
Powered by