web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send multiple attachme...
Power Automate
Unanswered

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

Categories:
I have the same question (0)
  • Verified answer
    v-LilyW-msft Profile Picture
    on at

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard