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





                            Zoho Desk Resources

                            • Desk Community Learning Series


                            • Digest


                            • Functions


                            • Meetups


                            • Kbase


                            • Resources


                            • Glossary


                            • Desk Marketplace


                            • MVP Corner


                            • Word of the Day



                                Zoho Marketing Automation


                                        Manage your brands on social media



                                                Zoho TeamInbox Resources

                                                  Zoho DataPrep Resources



                                                    Zoho CRM Plus Resources

                                                      Zoho Books Resources


                                                        Zoho Subscriptions Resources

                                                          Zoho Projects Resources


                                                            Zoho Sprints Resources


                                                              Qntrl Resources


                                                                Zoho Creator Resources


                                                                  Zoho WorkDrive Resources



                                                                    Zoho Campaigns Resources

                                                                      Zoho CRM Resources

                                                                      • CRM Community Learning Series

                                                                        CRM Community Learning Series


                                                                      • Tips

                                                                        Tips

                                                                      • Functions

                                                                        Functions

                                                                      • Meetups

                                                                        Meetups

                                                                      • Kbase

                                                                        Kbase

                                                                      • Resources

                                                                        Resources

                                                                      • Digest

                                                                        Digest

                                                                      • CRM Marketplace

                                                                        CRM Marketplace

                                                                      • MVP Corner

                                                                        MVP Corner




                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now