Using Zoho Flow to create sales orders from won deal in Zoho CRM

Using Zoho Flow to create sales orders from won deal in Zoho CRM

Hi there,

We are using Zoho Flow to create sales orders automatically when a deal is won in Zoho CRM.

However, the sales order requires "Product Details" to be passed in "jsonobject", and is resulting in this error: Zoho CRM says "Invalid input for invalid data. The expected input type is jsonobject."

We need to pass the product, the quantity and the total amount.

Can you help with a custom function script to perform that?

Many thanks,
Bruno