Skip to main content

Notifications

Community site session details

Community site session details

Session Id : CmOLkK2VjSMZWmf/jN0IBr
Power Automate - Building Flows
Answered

Create Planner Task and Include Attachments From Microsoft Forms

Like (1) ShareShare
ReportReport
Posted on 3 Dec 2019 15:04:14 by 4

I have the need for colleagues outside my Teams team to be able to make requests to my teams Planner.
I found a flow on this forum that creates Planner tasks from Microsoft Forms. It is a great start. Now that Microsoft Forms got updated to be able to have attached files, I would really like to update the flow to be able to update the created task with files from the form too.

Files attached to the form are stored in a automatically generated folder in OneDrive /Apps/Microsoft Forms/FORM_NAME/Question

I'm a total flow novice. I tried setting up a files if yes/if no condition. I'm not sure what to do to target the files from the form (located in OneDrive) correctly, and add them to the task.

Any help appreciated 🙂

Forum wouldn't let me inline the image for what ever reason.
PrintScreen of my flow this far is here: https://i.ibb.co/CPc9Gt2/Flow.jpg 

  • OSBSoto Profile Picture
    102 on 15 Jul 2020 at 14:17:27
    Re: Create Planner Task and Include Attachments From Microsoft Forms

    Hi there,

     

    Is there a way for you to share this Flow as a Template?

     

    Also, I'm trying to do something similar, but instead of using a "Personal/Private/Individual Form" on my OneDrive for Business. At this moment, the form was created as a "Share Form" on an individual "MS Planner Plan", which stores the attachments inside a "SharePoint Document Library" associate to that specific Plan (same name and privileges to the users). Do you have any idea on how to fetch the data there?

    Thanks in advantage.

  • iko_chen Profile Picture
    35 on 02 Apr 2020 at 06:52:19
    Re: Create Planner Task and Include Attachments From Microsoft Forms

    Hi 

    thank you very much.

     

    if it's possible to attach the upload file from forms to planner task?

  • v-bacao-msft Profile Picture
    on 02 Apr 2020 at 05:14:22
    Re: Create Planner Task and Include Attachments From Microsoft Forms

     

    Hi @iko_chen / @KristianLF / @Anonymous ,

     

    Maybe you could refer to this great article to get the details of the file and add them to task:

    https://www.bythedevs.com/post/working-with-files-on-ms-forms-in-ms-power-automate

     

    Best Regards,

  • iko_chen Profile Picture
    35 on 02 Apr 2020 at 05:10:11
    Re: Create Planner Task and Include Attachments From Microsoft Forms

    but i still can't see the link of the attachment pin to task in planner

  • Community Power Platform Member Profile Picture
    on 24 Mar 2020 at 13:16:55
    Re: Create Planner Task and Include Attachments From Microsoft Forms

    Hi

     

    Did this work for you? I have the same problem now 🙂

  • v-bacao-msft Profile Picture
    on 10 Dec 2019 at 06:49:47
    Re: Create Planner Task and Include Attachments From Microsoft Forms

     

    Hi @KristianLF ,

     

    Could you share the full screenshots of Flow's current configuration?

     

    If configured according to my method, when the Find files in folder action fail or the Body is empty, the following actions will not continue to execute. This is as expected unless I understand your needs incorrectly.

     

    What do you mean by "it creates and updates the task with everything except of the file"? Is it impossible to get the file or the task attachment does not contain the expected file? Have you checked whether each step performed as expected?

     

    Please provide these details.

     

    Best Regards,

  • KristianLF Profile Picture
    4 on 09 Dec 2019 at 10:30:23
    Re: Create Planner Task and Include Attachments From Microsoft Forms

    @v-bacao-msft I added your solution to my flow. If the form response contains no files the flow fails. If the form response contains a file, it creates and updates the task with everything except of the file.

    I guess I am having the workflow look for OneDrive files wrong?

    I haven't change it from how I have it in the screenshot

  • Verified answer
    v-bacao-msft Profile Picture
    on 04 Dec 2019 at 03:21:17
    Re: Create Planner Task and Include Attachments From Microsoft Forms

     

    Hi @KristianLF ,

     

    Do you mean that if a qualified file is available in OneDrive, then add this file to the Planner task?

    If so, then your configuration in Condition should look like this:

    55.PNG

     

    In addition, the difficulty in configuring this flow is that it cannot obtain the file link, the file link required in task details, and the existing functions in the OneDrive connector cannot achieve the need to obtain the file link.

    Please refer to the methods below to achieve your needs.

    • Use Create share link to create a link to access the specified file and save the file name and Web URL as an array.

    Image reference:

    53.PNG

    Details in Apply to each:

    54.PNG

     

    Best Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard
Loading started