Hi again
I had never worked with a Cognito form, that's why I was asking for more info
From your explanation, I guess the Cognito form output is an array with 1 to N JSON objects, and you just need the first object.
If so, you can use an expression: apply first() WDL function to your Cognito form output array so you will get the first object as soon as the array is not empty
If my guessing is wrong, then the info I requested in my first post would be useful to understand better your needs
Hope this helps