Problems with Arrays nested into a Object JSON

Problems with Arrays nested into a Object JSON

Hi,

My name is Renato Denegri and I am a new deluge developer.

I am trying to integrate a CRM module with a third platform, through Webhooks, but the JSON of this platform sends me format type:



But when I associate it with the webhook with the zoho flow webhook, it doesn't show me the nested objects inside the JSON, as can be seen with "items" and "payments"



So I decided to use a custom function so that I can return the values of the objects nested within the JSON in this case for "items":

Custom Function to return a Map and Input parameter Map.





When i Use execute with this fragment of JSON ("Items"):







the function works perfectly!



BUT when i use the flow with JSON Complete, :






I get an error





If you could help me I would be very grateful, I saw your comments helping others.

Greetings,




Flavio Denegri