Thanks Oleg. What you suggested is not exactly what I'm looking for, but I can definitely use it for other things.
I am trying to get the data using the field id instead of the array index.
With jsonata (on Tape script editor), I can get the value from the payload with this:
jsonata("data.records[0].fields[0].values[0].value").evaluate(parsedpayload);
However, I can also get the same value using this:
jsonata("data.records[0].fields[field_id = 581855].values[0].value").evaluate(parsedpayload);
Filtering by field_id allows me more "developer" control than filtering by the array index. I tried doing it in Webstudio like this:
https://media.discordapp.net/attachments/1354207763613614394/1354207764292829377/Expression_Editor_2.jpg?ex=67e473c2&is=67e32242&hm=4933a06e158a64f639ded9bef8aee3fbbd1031c181c9089732c93703ad479002&=&format=webp, but it gave me an error: "
Assignment is supported only inside actions"Is what I'm trying to do possible in Webstudio?
Thanks!