cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sprichar
Level: Powered On

Add an email attachment to an existing Sharepoint list item

I am trying to make a flow that takes an email attachment and adds it to an existing Sharepoint list item. The body of the email should correlate with the item's field in the ItemID column. I've successfuly created a new item, but cannot figure out how to add it to an existing item instead.

 

Ultimately, I'm trying to add pen input images as attachments to list items, so any other workaround is also appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
v-zhos-msft
Level 10

Re: Add an email attachment to an existing Sharepoint list item

Hi @sprichar ,

I have made a test on my side, it does't has the issue you have mentioned.

Please make sure you have setted the value of 'Has Attachment' and 'Include Attachments' to Yes.

Capture10.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Super User
Super User

Re: Add an email attachment to an existing Sharepoint list item

You would Add a condition to a flow and then Use expressions in conditions to check multiple values that allows you to Apply to Each. For more information, you can view the A Visual Explanation of Flow Logical Expressions blog post and be sure to review How to Avoid Do-Until Loops and Improve Performance.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

sprichar
Level: Powered On

Re: Add an email attachment to an existing Sharepoint list item

I've messed around with conditions, but not having any success yet. I received this error message:

 

InvalidTemplate. Unable to process template language expressions in action 'Add_attachment' inputs at line '1' and column '2580': 'The template language function 'base64ToBinary' expects its parameter to be a string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#base64ToBinary for usage details.'.

 

Here's the flow currently:

 

Screen Shot 2019-05-09 at 4.40.01 PM.png

v-zhos-msft
Level 10

Re: Add an email attachment to an existing Sharepoint list item

Hi @sprichar ,

I have made a test on my side, it does't has the issue you have mentioned.

Please make sure you have setted the value of 'Has Attachment' and 'Include Attachments' to Yes.

Capture10.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

npatelAU
Level: Powered On

Re: Add an email attachment to an existing Sharepoint list item

Hey,

can you please share the screen picture of the flow. with each step. I am getting the same error.

sprichar
Level: Powered On

Re: Add an email attachment to an existing Sharepoint list item

I couldn't get the whole flow in one image, but hopefully this helps.

Screen Shot 2019-05-24 at 3.20.32 PM.pngScreen Shot 2019-05-24 at 3.21.26 PM.pngScreen Shot 2019-05-24 at 3.24.41 PM.png

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,346)