Move list item attachments to Document Libraries with Microsoft Flow

Today an easy set of steps to for the creation of files when you receive list items with attachments. Ho do we get those file from the list items copied into a document library.

Triggering the flow when an item arrives

To trigger the flow we can use the When an item is created or modified trigger. Then using the Get attachments it is easy to get all the attachments for the list item that was created.

Now that we have the attachments. Note that we can get more than one attachment.

We will need to get the content of each attachment. With the content we can create a file in  document library of choice.

 

 

To get the file name the same as used within the attachment the DisplayName can be used. The DisplayName is available within the  Dynamic content coming from the Get Attachment Content action.

Once the above steps are added to the flow my file is created.

 

Advertisements

Please leave a comment or feedback

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.