I ended up doing the complete operations inside the loop, as the Outputs where not visible outside the loop, But this is useful as its is.
Alice, thank you for your help. It has been really helpful.
By the other hand, I'm trying to compare to a null string, with no luck. I put this code inside a Filter:
@not(empty(triggerBody()?['CADUCA']))
In order to filter all not null values in 'CADUCA' column. But with no luck. It doesn't filter anything at all. Any idea?
Thank you!