title: How can I merge the outputs from a For_Each loop in an Azure Logic App to a single flat array?
body: <p>I have a <code>For_Each</code> loop in an Azure Logic App that calls another, nested, Logic App. The result from each iteration of the nested Logic Apps is a JSON object that contains an array of strings, like this:</p>
  
  <pre><code>{
   "Results": ["string a", "string b"]
  }
  </code></pre>
  
  <p>So the output from my For_Each loop in the parent Logic App looks like this:</p>
  
  <pre><code>[
   {"Results": ["string a", "string b"]},
   {"Results": ["string c", "string d"]}
  ]
  </code></pre>
  
  <p>I want to put all these strings into a single flat list that I can pass to another action. </p>
  
  <p>How can I do this? Is it possible using the workflow definition language and built-in functions, or do I need to use an external function (in a service, or an Azure Function)?</p>