cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gersontun
Regular 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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,278)