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 Automate
Unanswered

Split Pdf

(0) ShareShare
ReportReport
Posted on by

Hello Team,

 

Scenario is I received email invoice[Multiple invoice within one pdf] from the vendor. Now we want to split pdf based on invoice and save as invoice no.

 

To achieve this functionality currently we are using Aquaforest Split pdf tool.

 

Bansari_Pandya_0-1618905197135.pngBansari_Pandya_1-1618905240932.png

 

How can we split the pdf which contain multiple invoice, 3 invoice may have 4 pages, then 2 have 2 pages and another 1 have 1 page. So how to split this pdf based on invoice and save as invoice no??

 

Thanks,

Bansari Pandya.

Categories:
I have the same question (0)
  • AnthonyAmador Profile Picture
    2,553 Moderator on at

    Hi @Anonymous 

     

    Have you tried using the Aquaforest extracting pages by text?, I found a documentation about Aquaforest in flow I hope this can help you. 

     

    Advanced PDF actions for Power Automate, Azure Logic Apps or PowerApps. (aquaforest.com)

  • Community Power Platform Member Profile Picture
    on at

    @AnthonyAmador Yes but how can we pass dynamic value? do you have any idea? For the reference, want to mention here I also tried with Adobe and Encodian. 

     

    Can you brief the process, like how can I achieve this?

     

    Thanks,

    Bansari Pandya. 

  • AnthonyAmador Profile Picture
    2,553 Moderator on at

    @AnonymousCan I know what is the dynamic value you want to pass? 

     

  • Community Power Platform Member Profile Picture
    on at

    @AnthonyAmador In my scenario, pdf contain 3 invoice, 1 invoice have 2 pages, 2nd have 3 and 3rd have 5. So how can I split this pdf?

     

    Thanks,

    Bansari Pandya

  • AnthonyAmador Profile Picture
    2,553 Moderator on at

    Hi @Anonymous 

     

    I did an example using Encodian hope this helps for you, first thing you should know is that our source PDF must be store somewhere, in this example I use Sharepoint, but there are many connectors that you can use in power automate. 

    First thing I create my source PDF and upload it to my SharePoint tenant. 

     

    AnthonyAmador_0-1619725936157.png

    Then I access the PDF using the SharePoint connector.

    AnthonyAmador_1-1619726001840.png

     

    Next, I use Encodian to select the source PDF and divide it into pages. For use Encodian you have to create a Apy Key you can do that here.

    In the split setting you select the desired pages, i.e. from page 1 to 3 [1-3]. But you can also select different types of division. 

     

    AnthonyAmador_2-1619726255435.png

     

    And finally you have to create a new file with the new pdf, in my case I use SharePoint again.

     

    AnthonyAmador_3-1619726490181.png

     

    I also create a parallels branch to make all the splits in the same flow, here is a screenshot of the complete flow.

    AnthonyAmador_4-1619726662732.png

     

    And the final result 

     

    AnthonyAmador_5-1619726742943.png

     

    Hope this can help you, any questions or comments just let me know. 

    Cheers.

     

     

     

     

     

  • Community Power Platform Member Profile Picture
    on at

    @AnthonyAmador Thanks for detail response. 

     

    One question here, in split configuration instead of [1-3]page can we split it by invoice no[No of pages contain invoice no]?

     

    Thanks,

    Bansari Pandya.

  • AnthonyAmador Profile Picture
    2,553 Moderator on at

    @Anonymous yes, I think its posible. 

     

    In this link you can check the diferent options to split a PDF with Encodian. 

     

    https://support.encodian.com/hc/en-gb/articles/360002953277-Split-PDF

     

    I hope this helps. 

     

     

  • Alex_Donhou Profile Picture
    16 on at

    Hi Bansari,

    This is a common scenario when splitting invoices, and using the 'Split PDF by text match' is how most people split documents into separate invoices.

    To split at each invoice, we use the page numbering to split on page 1 of each invoice by setting the 'Text Value Item' (or 'Text Pattern') value to "1 of". The page that contains text matching this value will be the first page on a new split in the document.

    Alex_Donhou_1-1631182527405.png

     

    To select the PO number as output, the easiest way to achieve this is using our 'Get data from PDF' step. You can loop through the output of the split and extract values for key data, which can then be used later in the flow. An example of common data to extract is below.

    Alex_Donhou_2-1631183315396.png

    Here is a short video to show how it works: Aquaforest PDF Connector video  

    I hope this helps!

    Kind Regards,

    Alex

    Note: This solution was exchanged directly between Aquaforest and the original Asker. I am posting it here to help other members find a solution to similar problems. Please consider selecting Accept it as the solution to help the other members find it more quickly.

  • tliem Profile Picture
    2 on at

    I want to split a report PDF into separate PDF for each bookmark and have the resulting PDF be named the Bookmark.  How can I do this with Encodian?

     

    Thanks

  • Alex_Donhou Profile Picture
    16 on at

    Hi @tliem,

    As Anthony mentioned earlier in the thread, this Encodian article online talks about their different split types, which includes a 'BookmarkLevel' option. https://support.encodian.com/hc/en-gb/articles/360002953277-Split-PDF 
    I couldn't find if it was possible to name the resulting PDF after the bookmark, so you may have to raise a query with them directly.


    Renaming the PDF from the bookmark is possible using the Aquaforest 'Split PDF by page' Step, so I have included an example flow below.

    Alex_Donhou_0-1642674121205.png

    Here is a link to the Aquaforest Documentation, including the split step: https://www.aquaforest.com/resources/aquaforest-flow 


    I hope this helps!

    Kind Regards,

    Alex

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard