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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Document Automation - ...
Power Apps
Answered

Document Automation - change input method to uploading a file to a Sharepoint folder

(0) ShareShare
ReportReport
Posted on by 17

I would like to change the input method of the base Document Automation kit from email to when a file is uploaded to a sharepoint folder.

 

I tried changing the input flow to reflect this, but I am receiving an error - attached

 

 

 

I attached a screenshot of my current input flow

 

 

input flow.png
error.png
Categories:
I have the same question (0)
  • Verified answer
    CedrickB Profile Picture
    Microsoft Employee on at

    With the default trigger "When an email arrives", the email may contains several attachement.

    This is why there is outer "Apply to each".

     

    The SharePoint trigger "When a file is created" only concern one file, so there is no need of an "Apply to each"

     

    Drag and drop all the tasks outside the "For each file" and remove "For each file".

    Also, in the "Upload attachment" task set CedrickB_0-1671615465145.pngCedrickB_1-1671615481190.png

    It should be working.

     

  • sierrairvin Profile Picture
    17 on at

    Thank you Cedrick for the quick response! That did seem to work. I wasn't able to drag the tasks outside of the condition because they were dependent on the condition, but I did recreate them and it worked

  • sierrairvin Profile Picture
    17 on at

    Hi again Cedrick. I am not showing any errors with any of the solution's flows. In addition to the previous changes, I set it to send all documents to manual review. However, when I open the application and select a file to review, no data appears.

    sierrairvin_0-1672861148430.png

     



    If I take the same document and run a  'quick test' on it directly in the AI builder model, it pulls the correct information from the document as expected.

    Do you have any idea what would cause this?

  • sierrairvin Profile Picture
    17 on at

    It appears that was a fluke as it is working properly now

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 70

#2
WarrenBelz Profile Picture

WarrenBelz 64 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 36 Super User 2026 Season 1

Last 30 days Overall leaderboard