Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Complicated PDF Parse - Is it even possible?

(0) ShareShare
ReportReport
Posted on by

Hey all,

 

I have an interesting problem to try and solve with Power Automate, and after spending a few days digging into both the on-line flows and the desktop flows, I'm starting to think it cannot be done, so I wanted to reach out and see if anyone has advice.

 

Long story somewhat short, I need to take a poorly structured PDF file, pull out specific data, and then make a CSV with said data.

 

The problem is when parsing the PDF, it extracts as a single line, and I can't figure out how to break it apart logically so it can be placed into a CSV with proper formatting. Additionally, the .PDF file is poorly structured, and has bad data I do not want to pull.

 

Screenshot of the PDF is below: 

 

problem.png

 

This PDF structure cannot be changed, or altered, sadly. I need to pull the 'Username', 'Email', 'URL' and 'Password' field. The bolded 'Password' field at the top of each entry is actually the Title of the entry, in this old program, but it is labeled 'Password' in the export.

 

If I can pull that specific data, and not the bad password, I then need to convert the data into a CSV file for import into LastPass, using their template. Screenshot below and direct link here: https://support.lastpass.com/help/lastpass-sample-import-sheet

 

KLuin_0-1661281857063.png

 

So far I can parse the PDF file, but it is only returning a single string, and I cannot split the data out of that string to then hopefully add to the CSV file. Any advice? 

 

I know the AI Builder would probably be better for this, but we do not have the license for that and may not be able to purchase it.

 

Thanks in advance!

 

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1