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

AI Builder using file from File System

Hello all, 

I'm trying to process 1 page PDFs using AI builder. 

I am using the action "Process and save information from invoices", I must use files from system, I have properly set the getway and the connection works fine. When trying to retrieve the file I have the following issues:

  1. The action accepts a File as an input, but there's no way to get the file, I am using "List files in folder" then Apply to each for each file, but the AI does not accept any of the dynamic content, it always throw an error.
  2. Then inside of the Apply to each activity I tried to use Get file content using path, but for an unknown reason the last \ of the path it's being changed for /, as a result the path is invalid.

gersontun_0-1626201722945.png

 

Is there a way to send to action  "Process and save information from invoices" a file from the system?

1 ACCEPTED SOLUTION

Accepted Solutions
JoeF-MSFT
Power Apps
Power Apps

Hi @gersontun,

 

Thanks for the question - this looks like a really nice automation scenario!

 

Two things to check:

First, your flow should look like this. You can use the Get file content and use the Id output from the previous action.

JoeFMSFT_0-1626213812569.png

 

Second, click on the three dots menu for the Get file content action and make sure that the connection you are using is the same that in the List files in a folder action.

 

JoeFMSFT_1-1626214034545.png

 

Keeps us posted. I hope this helps!

View solution in original post

2 REPLIES 2
JoeF-MSFT
Power Apps
Power Apps

Hi @gersontun,

 

Thanks for the question - this looks like a really nice automation scenario!

 

Two things to check:

First, your flow should look like this. You can use the Get file content and use the Id output from the previous action.

JoeFMSFT_0-1626213812569.png

 

Second, click on the three dots menu for the Get file content action and make sure that the connection you are using is the same that in the List files in a folder action.

 

JoeFMSFT_1-1626214034545.png

 

Keeps us posted. I hope this helps!

View solution in original post

Thanks! it's working perfectly.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Kudoed Authors
Users online (1,497)