In this blog, we will show how to create an array function in power automate. as an example we will see how to combine two distinct arrays of questions and answers into a single array, as well as how to obtain an array of emails with two strings.

Now take the “Manually Trigger a Flow” from the “Instant Cloud Flow”

Next take Initialize Variable with the following values showing in image

Next create a parallel branch

Take Initialize Variable for the parallel branch and add the values like showing in the image

Next take a Compose action and add the below formula in the Expression

Next take initialize variable and add the values showing in below image

Next add a parallel branch and take initialize variable and add values showing in the image

Next take a compose and add the below formula in the Expression

createArray(variables(‘Doubts’),variables(‘Answers for the doubts’))

Now Click save and test the flow and observe the output.

For any Help or Queries Contact us on info@crmonce.com or +918096556344