Issues with using structured JSON data for creating order lines in Zoho CRM

I am developing an integration for a purchase form in WooCommerce that sends data to a webhook, which acts as a trigger for a scenario in Make.

With the order information received, which may involve one or multiple courses (this development is for a training company), I need to construct the Order in the appropriate module of Zoho CRM.

The approach I have designed for the Make Scenario involves iterating through the purchased items using a Make iterator (though, by the way, I haven’t been able to add an end-of-loop condition when reaching the “value” of the number of elements being iterated (into a filter condition for example), because the iterator variables are not available on the right side of the JSON builder).

After iterating (the limitation described earlier does not appear to restrict the intended functionality), as described in the attached screenshot, through the products included in the order (located in the CRM by matching their IDs from WooCommerce), I managed to format the names and descriptions that need to appear in the Zoho CRM order using JSON constructors and parsers available in Make.com.

The issue we are facing is that an error is returned by Zoho CRM, which is the last step in the scenario, when inserting the information generated by the JSON parser into specific fields of the item list in a Zoho CRM order. This may be because we are not properly handling the data bundles, or due to a problem in the flow that constructs and updates the information.

Can anyone help me identify the issue, please? :pray:

Hi @AlbertoAcelera and welcome to the Make Community!

Since you have two bundles, if you want to use them in the same output bundle, you would need to use an array aggregator. However, if you need to use them separately, then you would need to use an iterator to insert two transactions in Zoho CRM.

Does that help?

L