Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Send multiple attachment with condition from Microsoft Form to Sharepoint List

(0) ShareShare
ReportReport
Posted on by 2

Hi, please hope anyone can assist me. 

 

Ive been working with microsoft flow and still not so expert with this.
 
Currently what I need to do is I need to move files uploaded in microsoft form to sharepoint list. My form divided into 3 sections and each sections need to upload file. However, responder still able to skip upload file. My flow will fail when user skip to upload file.
 
Below is my setup.
1. I get the response details and then use compose then i add condition
Syaz_0-1646044345067.png

 

2.  Then in the branching i add parse JSON and the get file content from one drive and add action add attachment

Syaz_1-1646044420253.png

 

Syaz_2-1646044458425.png

 

 But I hit error at condition and it says "Unable to process template language expressions in action 'Parse_JSON' inputs at line '0' and column '0': 'Required property 'content' expects a value but got null. Path ''.'."
Syaz_3-1646044501449.png

please guide me

  • Verified answer
    v-LilyW-msft Profile Picture
    on at
    Re: Send multiple attachment with condition from Microsoft Form to Sharepoint List

    Hi @Syaz 

    You need to add three Conditions to determine whether the three upload file fields are empty, if not, add them to the item's attachment, otherwise do nothing.

    I set up a flow, you can refer to below screenshots.

    Flow in details:

    vLilyWmsft_0-1646271363764.png

    vLilyWmsft_1-1646271503966.png

    vLilyWmsft_2-1646271523496.png

    vLilyWmsft_3-1646271578137.png

    vLilyWmsft_4-1646271595056.png

    Save and test flow.

    When a new response is submitted like below:

    vLilyWmsft_6-1646271770836.png

    The files will be added to the new item.

    vLilyWmsft_8-1646271934353.png

    vLilyWmsft_7-1646271910294.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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

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,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow