I'm building an automation that triggers when an Insight object is edited, and if 2 specific attributes were edited it will update an attribute of another Insight object.
I need to use the "Send web request" action to make an API call to Insight to pull the objects history, so I can determine what attributes were changed and the previous and new values. This is where I'm running into my problem.
I can use {{webResponse.body}} to look at the object history, and from this community question I figured out I can get specific values from the body by using {{webResponse.body.get(#)}}. E.g. {{webResponse.body.get(0)}} to get the value of the first index.
But is there a way to grab more than 1 value from the array? I.e. How do I grab just the first 2 indexes, or a range of indexes like the 2nd to 5th?