yes, there is a simpler and correct way, but it requires bypassing Workato’s XML/JSON formatters entirely and sending the payload as a raw HTTP body, not as a structured request. request_format_xml and request_format_raw are mutually exclusive with “...
Hi, before populating the structure as you showed, you could add an "if" condition (new action) to check for array size > 0 and after then add a var list (new action) that populates the structure as a dynamic list.