Zoho Flow / Zoho CRM / WebHook creating a sales order error

Zoho Flow / Zoho CRM / WebHook creating a sales order error

Hi,
I'm facing a error that I can't solve.
The path begins with a external ERP sending a signal of a sales order, via webhook, to zoho flow.
In my design, I put the first step to create a contact in Zoho CRM, them create an Iten in Inventy (or update it, if already exist it), but when it goes to create the sales order, there's a field, called "product details" that don't matter what I do it just wont accept it. 

My last try was to fetch the product with the name of it, them use a custom function (

list teste(string inputData)
{
response = zoho.crm.getRecordById("Products",inputData);
return inputData.toList(";");
}

)

to take the id and put into that place, but don't acept either...

    Access your files securely from anywhere

        Zoho Developer Community




                                  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 Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • 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