Hi @vividichtarosa ,
Have you tried change number to get another ID?

If you want to put all ID in array or combine all ID, you can use loop.
For example, create an array like following array and initialize a variable.
[
2,
3,
4
]
Then put the array in Apply to each and add Append to string or Append to Array action in Apply to each.
In Append to string variable action.
xpath(xpath(xml(json(concat('{ "root": ', string(outputs('Get_response_details')?['body']), ' }'))), '/root/*')[item()], 'name(/*)')
Best regards,
Rimmon