Others

How to Choose Between Get Items and Get Files in Power Automate

Khadija KhanKhadija Khan Oct 29, 2026 871 views

Question details

The user needs to know whether to select the Value output from Get items or Get files when importing SharePoint images into a list using Power Automate, and how to manage the automatically created Apply to each loops.

Choosing the Correct SharePoint Value in Power Automate
Product
Power Automate
Device & OS
not provided
Scenario
Importing images from a SharePoint library into a SharePoint list using a Power Automate workflow.
Observed behavior
The user is confused about which data retrieval action to choose and whether the default 'Apply to each 2' naming affects the workflow.
Before you start

Verify the exact location of your source data in SharePoint; you must know whether your images are stored in a standard SharePoint List or a Document Library before building your flow.

Solution 1Recommended

Select the Correct Data Retrieval Action

Choose 'Get files' or 'Get items' based on where your SharePoint data is stored.

In Power Automate, the actions 'Get items' and 'Get files' serve two distinct purposes based on the SharePoint data structure you are querying.

1
Use Get files for Document Libraries

Select the 'Get files (properties only)' action when your images or documents are stored in a SharePoint Document Library. This action retrieves the metadata and properties of the files.

2
Use Get items for Lists

Select the 'Get items' action when your data is stored as standard records inside a SharePoint List.

3
Select the Value Dynamic Content

When configuring the next step in your flow (like mapping the images to a new list), ensure you select the 'Value' dynamic content that directly corresponds to the specific action you used above.

Select the Correct Data Retrieval Action
Choosing the Right Source: If you are processing images stored in a library, you should always choose Get files. Only use Get items when reading list records.
Free Microsoft Office alternative

Boost Your Productivity with WPS Office

While Power Automate handles your SharePoint workflows, consider WPS Office for your document creation needs. It is a free, highly compatible, and lightweight alternative to Microsoft Office that allows you to manage Word, Excel, and PowerPoint files effortlessly.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the downloaded installer and follow the simple on-screen instructions to set up the software.
  3. 3. Open and Edit: Launch WPS Office and seamlessly open your existing Microsoft Office documents without worrying about formatting issues.
Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx).Lightweight design ensuring fast startup and smooth editing.Built-in PDF editing and conversion tools.Familiar user interface requiring no learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Can I use both 'Get items' and 'Get files' in the same Power Automate flow?

Yes. If your workflow requires reading records from a SharePoint list and also retrieving documents from a separate document library, you can add both actions independently within the same flow.

Why does Power Automate automatically create an 'Apply to each' action?

The 'Value' output from SharePoint retrieval actions returns an array, meaning it contains multiple records or files. Power Automate automatically adds an 'Apply to each' loop to iterate through and process each individual item in that array.

Does renaming an 'Apply to each' loop break my workflow?

No. Renaming actions in Power Automate is safe and highly recommended for keeping your flow organized. The underlying logic and data connections remain intact regardless of the display name you choose.