Retrieve value from a webhook trigger

Hello,
I’d like to insert this value…

…Here:

But as you can see there is not the value on the list.
If i select “fields” and then fix it in “fields[4]” doesn’t work.
And I also tried to insert manually “{{4. account: fields[4]. value}}” but doesn’t work (doesn’t take any data)

How can I report the value “2.000” in the others applications?

Thanks!!

Hi @Andrea_Aureli
please use this funcation to get it , if Id is always same you can use that other wise use the key
so idea is pass the array fields can get a value where id is 12

{{get(map(account.fields; “value”; “id”; 12); 1)}}

thank you

2 Likes

Welcome to the Make community!

This is exactly what the built-in toCollection function does for you:

{{toCollection(4.account.fields; "key"; "value")}}

This makes it very easy to select/map the fields in a later module.

If you want to learn more about Make, you can read up in the Help Center. I also recommend doing the tutorials in the Make Academy, and learn advanced skills like how to make custom apps to any API in the Make Partner Training Portal - both have certificates for successful completion.

2 Likes