This topic was automatically generated from Slack. You can find the original thread here.
According to Pi, sending JSON from one workflow to another via webhook should preserve the order of the objects. However, the trigger HTTP receiving the POST scrambles the order of the objects in the array. Is there any way to fix this?
Got it thanks. Yes, since objects have no order of keys within them, this is expected. This is a feature of JavaScript. There are a few ways to maintain the order of keys using a different data structure, e.g. see https://stackoverflow.com/a/5525820