SharePoint Document Issues

Add a File Attachment to a SharePoint List Item with Power Automate

Aamir Naveed AkramAamir Naveed Akram Nov 22, 2026 868 views

Question details

Add a photo or file input to a Power Automate button flow and attach the uploaded file to a SharePoint list item.

Add a File Attachment to a SharePoint List Item with Power Automate
Product
Microsoft Power Automate and SharePoint Lists
Device & OS
not provided
Scenario
A user wants to submit required list fields and a file through a button flow.
Observed behavior
The flow accepts required fields but does not automatically attach a photo or file to the SharePoint list item.
Before you start

Confirm that you can create items in the target SharePoint list and edit the flow. In the list settings, check that attachments are enabled under Advanced settings.

Solution 1Recommended

Create the list item, then add the uploaded file as an attachment

Use this approach when a manually triggered flow needs to collect a file along with SharePoint list fields.

A SharePoint list attachment is added after the item exists; it is not populated as a standard column in the Create item action.

1
Add a file input

In Power Automate, open the flow and expand Manually trigger a flow. Select Add an input, choose File, and name the input.

2
Create the list item

Add the SharePoint Create item action. Select the Site Address and List Name, then map the required columns to the trigger inputs.

3
Attach the file

Add the SharePoint Add attachment action after Create item. Select the same site and list, and set Id to the ID from Create item.

4
Map and test the upload

In Add attachment, map File Name and File Content to the corresponding dynamic content from the file input. Select Save, then Test and run the flow with a sample file.

5
Check the list item

Open the new item in the SharePoint list and check its Attachments section for the uploaded file.

Create the list item, then add the uploaded file as an attachment
File input availability: The available inputs can vary by trigger and flow setup. If you cannot add a File input, check the trigger you are using or consult the Power Automate Community for that setup.
Free Microsoft Office alternative

Work with Office files in WPS Office

WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Office format compatibility make it easy to bring existing files into your workflow, though it does not replace the Power Automate attachment flow.

Review documents and spreadsheets that you plan to attach to a SharePoint list item.Open and edit Microsoft Office formats, including DOCX, XLSX, and PPTX.Use a familiar interface for everyday document tasks.Move existing Office files into a lightweight workspace.
microsoft office alternative - wps office

Frequently Asked Questions

Why do I need a separate Add attachment action?

The SharePoint Create item action creates the list item and its column values. Add attachment uses the new item's ID to associate the uploaded file with it.

Where do I enable attachments for a SharePoint list?

Open the list settings and look under Advanced settings for the Attachments option. You may need list management permissions to change it.

What should I enter for the attachment ID?

In the SharePoint Add attachment action, select the ID dynamic content from the preceding Create item action. This identifies the item that will receive the file.

Can I attach more than one file?

Yes. If your flow receives multiple files, use an Apply to each loop and place an Add attachment action inside it, using the created item ID and each file's name and content.

Where can I get help if my flow has a different trigger?

Use the Help or Community links in Power Automate to ask the Power Automate Community. Include the trigger type and how the file is supplied.