Happy Business Starts Here

Highlighted
Student

Iterating over a JSON object

Is there a way to use the iterate logic step over top of a json array? 

 

Example - Cancellation of a subscription should trigger an email notification:

 

{
    "body": {
        "subscriptions": [
            {
                "subscriptionId": "sub123",
                "email": "user1@domain.org"
            },
            {
                "subscriptionId": "sub456",
                "email": "user2@domain.org"
            }
        ]
    }
}

 

I tried to used JSON Transform to reduce the object down to a simple list of emails, but there isn't any obvious way to bind the array and iterate over it. Any help appreciated!