Let's POWER Automate

From no-code to low-code

Menu
  • Expressions
  • Filters
  • General
  • Triggers
  • Application specific solutions
    • Dataverse
    • Excel
    • Forms
    • Planner
    • Outlook
    • SharePoint
    • Teams
  • Resources
  • Get help with flow
Menu

What value to use to ‘input entire array’ in Power Automate

Posted on January 16, 2022January 16, 2022 by Tom

“The Power Automate action ‘Send an Email’ has a button to ‘input entire array’ as attachments, but I don’t know what array should I put there?”


Many Power Automate actions have a small button to input entire array. It’s available for attachments in an email or an approval task, for Planner task checklist items, or for any multiple selection SharePoint field you try to update. In general, each time it’s possible to enter multiple values, Power Automate designer gives you two options. One of them is to define them directly, the other one is to input an entire array.

The benefit of entire array input is that you can use 0-n values, but there’s also a downside. Attachments, checklist items, multiple people picker or choice columns… every array one looks different.

This post explains how to always find the right format, without the need to memorise or google it.

Ask the action directly

When you switch to input the entire array by pressing the button, it’ll reduce all the fields to a single one. If the original fields were empty, it’ll be empty as well. But if you enter anything in the separate fields, the button will convert the input into an array. And that’s the array format you must use. The examples below are for the ‘Send an email (V2)’ action and Planner ‘Update task details’.

Power Automate input entire array

All that’s left is to replace the data in the array. Use the ‘Select’ action or a loop to build the array, and use it in the action.

Summary

The designer is sometimes quite helpful to give you the information you need. Similar to using the ‘Filter array’ action to create trigger conditions, you can use also the actions themselves to get the required input array format. Enter some dummy data, switch to input entire array, and replicate the array format it’ll show you.


Do you struggle with the various expressions, conditions, filters, or HTTP requests available in Power Automate?

I send one email per week with a summary of the new solutions, designed to help even non IT people to automate some of their repetitive tasks.

All subscribers have also access to resources like a SharePoint Filter Query cheat sheet or Date expressions cheat sheet.

Zero spam, unsubscribe anytime.

3 thoughts on “What value to use to ‘input entire array’ in Power Automate”

  1. toby says:
    May 23, 2022 at 3:42 pm

    Hi

    so I was getting this issue when updating a multi-select choice field. The tip above about the “add entire array button worked.

    BUT

    then I got to a hyperlink field (the only one I really want to update) and when I put a value in, I get a for…each again…. why on a hyperlink?

    Reply
    1. Tom says:
      May 25, 2022 at 4:25 pm

      Hello Toby,
      ‘Apply to each’ is added always because the data input does/can contain multiple values. I’d check the action that creates the hyperlink dynamic content that you use. Or you could initialize a variable, store the value in there, and then use this variable in the update.

      Reply
  2. Jubilant says:
    October 14, 2022 at 1:56 pm

    Thanks so much for this article! I’ve spent days trying to input a multiple-choice MS Form entry into a multiple-choice Sharepoint field. Finally figured out that the form response output was actually a string that just looked like an array, but even when I manually converted it my flow just got stuck.
    This article and the one for creating an array from a loop has made this a very happy Friday 🙂

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Do you know what to do, but not how to do it?

Get The Ultimate Power Automate expressions cheat sheet and translate your thoughts into flows with ease!


NEW! Master the HTTP requests to SharePoint with a new cheat sheet!

Do you struggle with the various expressions, conditions, filters, or HTTP requests available in Power Automate?

I send one email per week with a summary of the new solutions, designed to help even non IT people to automate some of their repetitive tasks.

All subscribers have also access to resources like a SharePoint Filter Query cheat sheet or Date expressions cheat sheet.

Zero spam, unsubscribe anytime.

Hello and welcome!

My name is Tom and I'm a business process automation consultant and Microsoft MVP living in the Czech Republic. I’ve been working with Microsoft technologies for almost 10 years, currently using mainly Power Automate, SharePoint, Teams, and the other M365 tools.

I believe that everyone can automate part of their work with the Power Automate platform. You can achieve a lot by "clicking" the flows in the designer, but you can achieve much more if you add a bit of coding knowledge. And that's what this blog is about.

To make the step from no-code Power Automate flows to low-code flows: using basic coding knowledge to build more complex yet more efficient flows to automate more of your daily tasks.

  • Use Power Automate to forward Outlook events upon registrationJanuary 29, 2023
  • Why the condition is false for the same numbers (Power Automate)January 25, 2023
  • How to forward event invitation to other calendar (Power Automate)January 22, 2023
  • Run ‘For selected item’ flow from non-default environment (Power Automate)January 18, 2023
  • Hide button in SharePoint list after Power Automate flow startedJanuary 15, 2023

Power Automate blogs worth visiting

Damien Bird
Dennis (Expiscornovus)
Paul Murana

©2023 Let's POWER Automate | Theme by SuperbThemes