cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

rename multiple PDF files by using data from within the pdf files

I split a large PDF file into 350 PDF files.

 

I would like to Auto-Rename the split pdf files using data from within those files to generate the new name. (e.g the business name found in the split file).

 

I was able to create AI builder to a model to find the business name.

However, i'm not sure how to create a flow to rename the pdf files.

 

Thanks for your help in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Anonymous - great use case!

 

The following example can help you achieve this. Here is what it does:

  1. Get all the files in a folder in SharePoint
  2. Call the AI Builder Form Processing model for each file
  3. Create a new file in another SharePoint folder. The file name is one of the fields extracted by the form processing model along the '.pdf' file extension. 

 

 

2022-01-27_0-23-58.png

 

I hope this helps! Let us know if we can help provide more clarifications. 

View solution in original post

16 REPLIES 16

Hi @Anonymous - great use case!

 

The following example can help you achieve this. Here is what it does:

  1. Get all the files in a folder in SharePoint
  2. Call the AI Builder Form Processing model for each file
  3. Create a new file in another SharePoint folder. The file name is one of the fields extracted by the form processing model along the '.pdf' file extension. 

 

 

2022-01-27_0-23-58.png

 

I hope this helps! Let us know if we can help provide more clarifications. 

Anonymous
Not applicable

Thanks @JoeF-MSFT .

I used one drive instead and i successfully auto-renamed my files.

 

I am also running a send flow that send out emails. I have been testing the flow. 

I made sure the file name is the exact match from the folder. 

It works but sometime fails .... not sure why

 

Hi @Anonymous , congrats for building the automation flow with OneDrive!

 

Would it be possible to share a screenshot of the error you are seeing? 

Anonymous
Not applicable

Hi @JoeF-MSFT - Thank you for your response.

 

It seems that the List Files in Folder automation is limited to 20 items only.

My folder currently has 127 items (that has been automatically renamed by AI builder).

Do you know if there is a way to circumvent this limitation?

nmyk_0-1643315430286.png

 

Hi @Anonymous , yes there is a way to increase the number of files. You need to:

 

1. Click on the three dots on the upper right of the List files in folder action

JoeFMSFT_2-1643320235886.png

 

 

2. Enable Pagination and set the limit above 127. To 150 for example.

 

JoeFMSFT_1-1643320145063.png

 

Happy document processing. 🙂

Anonymous
Not applicable

Thanks @JoeF-MSFT .

 

The pagination seems to work but is still causing some issues.

The flow has been running for  35 minutes and only 8/127 items succeeded. 

 

And because of my "if no" condition, I received over 8,000 email notifications. I even received 100+ of the "if no" emails for the 8 items that succeeded. 

 

Is the pagination setting up some sort of endless loop? 

I had to manually cancel the 100+ running flow to stop the "if no" emails.

 

 

 

Hi @Anonymous,

 

Ah yes, getting 8,000 emails is no fun 😟

 

What is the trigger of your flow? Could you share a screenshot of your flow?

 

Thanks! 

Anonymous
Not applicable

@JoeF-MSFT 

 

nmyk_0-1643387037815.png

 

Thanks @Anonymous ! 

 

What is the purpose of the automation flow you are building? How many rows did you select in Excel? For every row you select, the automation will get triggered and list all the files present on the OneDrive folder you have chosen. 

Anonymous
Not applicable

Hi @JoeF-MSFT 

 

The purpose of this flow is to: Email 120 customers an invoice.

 

  1. I created an excel sheet to list : Business name, Emails addresses, File name and month.
  2. I used AI builder to rename each invoice using data from within the invoice (eg business name)
  3. I want to generate a summary of all emails sent (just as a record/ double check).

 

 

Hi, l run my own small business and send days renaming, allocating,transfering files into pdf's and then sending onto accounting software. I am desperate for help on this as it is such a time consuming excercise.

I know jack todd about Power AI but see peeps making it works miricales.

 

Is Power AI free? Is there a particular package l need to sign up to? How can l get what you did above to work for me?

Any help is HUGELY appriciated. 

Hi @AIBabysteps - thanks for the question. I can imagine doing all the renaming, allocating and transferring work must not be the most fun part of your job! The good news that that AI Builder and the Power Platform can certainty help here. 

 

I'd recommend starting by this nice tutorial by @plarrue that explains how to rename files in SharePoint based on its content: Renaming files in SharePoint after extracting a fi... - Power Platform Community (microsoft.com)

 

Hope this helps! 

HI, it seems I cannot find the action "extract information from forms"

 

Hi @vannerds - good point. The action has been renamed to 'Extract information from documents'

 

JoeFMSFT_0-1677666685629.png

 

Hi Joe,

Extract information from documents is not showing for me. Is it possible it was renamed again?

 

Hi @jimmyclack - thanks for the question. It's still called Extract information from documents. 🙂 If you create a brand new flow and look for this action under the AI Builder connector, you don't see it?

 

JoeFMSFT_0-1681511228919.png

 

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (1,436)