What is your goal?
get matching value from an HTTP response
What is the problem & what have you tried?
in an HTTP call I receive the following reply:
{
"status": "success",
"order_items": [
{
"id": "460822898",
"metadata": {
"alternate_id": "132488474145081"
}
},
{
"id": "460822899",
"metadata": {
"alternate_id": "132467704472561"
}
}
]
}
There are other fields in each of the collections but I’ve removed them. I want to get the corresponding alternate_id when I use the id as an input. So inputting 460822898 should return 132488474145081. The id:alternate_id pairing is always unique.
I can get it to work by using an iterator after the HTTP module, and filter the id value = 460822898, then using get(metadata;alternate_id)
Is it possible to accomplish the same by using a formula? I’ve already got 3 layers of iterators and I’d like to avoid doing that if possible.
