cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
helpwithautomat
Frequent Visitor

Can't add multiple attachments to Planner task

I'm trying to create a flow for when an email appears in a shared inbox.  I want a Planner task to be created and all attachments added to the task.

 

I can get the email on the Planner, but I can't get the attachments to the task.  I found some walkthroughs but they refer to a dynamic called "link to item" that no longer exists. 

 

Other walkthroughs seem to center around sending an email afterwards, but I'm not looking for that.

How do I add attachments (perhaps several, perhaps none) to the Planner task?

1 ACCEPTED SOLUTION

Accepted Solutions
v-LilyW-msft
Community Support
Community Support

Hi @helpwithautomat 

According to your description, you want to add email attachments to Planner task.

You can create a folder in Sharepoint to save email attachments, and then create a file share link through the ‘Create sharing link for a file or folder action’, and then update the file name and file link to the task.

I set up a flow, you can take a try with the following screenshots.

vLilyWmsft_1-1646879461022.png

vLilyWmsft_2-1646879484041.png

vLilyWmsft_3-1646879502404.png

vLilyWmsft_4-1646879622216.png

vLilyWmsft_5-1646879650205.png

vLilyWmsft_6-1646879680690.png

vLilyWmsft_7-1646879735628.png

vLilyWmsft_8-1646879763815.png

vLilyWmsft_9-1646879792415.png

Complete Flow:

vLilyWmsft_10-1646879833059.png

Save and test the Flow.

When shared mailbox receive an email like below:

vLilyWmsft_11-1646879895514.png

A new task will be created with attachments.

vLilyWmsft_12-1646879946916.png

Hope the content above may help you.

Best Regards

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

View solution in original post

6 REPLIES 6
v-LilyW-msft
Community Support
Community Support

Hi @helpwithautomat 

According to your description, you want to add email attachments to Planner task.

You can create a folder in Sharepoint to save email attachments, and then create a file share link through the ‘Create sharing link for a file or folder action’, and then update the file name and file link to the task.

I set up a flow, you can take a try with the following screenshots.

vLilyWmsft_1-1646879461022.png

vLilyWmsft_2-1646879484041.png

vLilyWmsft_3-1646879502404.png

vLilyWmsft_4-1646879622216.png

vLilyWmsft_5-1646879650205.png

vLilyWmsft_6-1646879680690.png

vLilyWmsft_7-1646879735628.png

vLilyWmsft_8-1646879763815.png

vLilyWmsft_9-1646879792415.png

Complete Flow:

vLilyWmsft_10-1646879833059.png

Save and test the Flow.

When shared mailbox receive an email like below:

vLilyWmsft_11-1646879895514.png

A new task will be created with attachments.

vLilyWmsft_12-1646879946916.png

Hope the content above may help you.

Best Regards

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

helpwithautomat
Frequent Visitor

Thank you! This is what I needed!

 

If you could keep helping, I tried to add a condition where it checks if the task has already been created first, and then only updates the task id.  But something went terribly wrong and it kept making a task over and over and over again until I turned it off. 

 

I have an idea where it goes wrong, but can't quite fix it.   

 

Capture.PNG

 

Hi @helpwithautomat 

If your Task title is unique, you can try the following:

vLilyWmsft_0-1646890082977.png

If there is a value in the Filter query, it means that there is already a Task whose title is equal to Subject, just need to update it, otherwise create a new Task based on the subject of the email.

vLilyWmsft_1-1646890097342.png

vLilyWmsft_2-1646890261988.png

Best Regards

helpwithautomat
Frequent Visitor

I'm still getting the same duplicating task problem

helpwithautomat_0-1647050149752.pnghelpwithautomat_1-1647050173291.png

helpwithautomat_2-1647050204650.pnghelpwithautomat_3-1647050221276.png

helpwithautomat_4-1647050261017.png

 

Hi @helpwithautomat 

The judgment condition in Condition action should select 'is not equal to', and the left side should write 0.

vLilyWmsft_0-1647221097555.png

Best Regards

SpoTechGeek
Frequent Visitor

Hi helpwithautomat,

I had a similar requirement recently and I decided to tackle it a bit differently. I decided to forward emails or post to a Teams channel and subsequently run a Flow to create a task with the email body and attachments. Here's what I came up with:
Add Attachments to Planner from Teams Channel Posts

Hope this helps.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (2,003)