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 Platform Community / Forums / Power Automate / Convert Txt file to PD...
Power Automate
Unanswered

Convert Txt file to PDF and extract data

(0) ShareShare
ReportReport
Posted on by 14

Hi, I would have two questions for the more experienced.

 

1. I have Txt files that I need to cut into pieces. I noticed that Parse JSON would get certain elements out of the file. Is it the case that Parse JSON does not work for Txt files to get get elements? Would the easiest way be to use a variable with a split? (I don’t have experience but I can read about split from Community).

 

2. Is it possible to convert a text file to PDF without suffering from columns? I've tried Convert file OneDrive and Encodian Convert text to PDF but in both the content doesn't seem to make sense that I could collect the desired data from PDF files with AI Builder, for example. 

 

Both are related to the same use case i.e. I would like to make it as easy as possible to extract certain items from Txt files like total amount and number of pieces. 

Categories:
I have the same question (0)
  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Robottimies 

     

    Are you able to share samples of the text and desired output?

     

    I have examples of parsing and PDF creation on my blog.  

     

    You can use split to create an array and then use select to form your desired output and parse JSON to create dynamic fields.  This might give you some ideas https://damobird365.birdhoose.co.uk/2021/04/03/parse-a-csv-to-json-array-in-power-automate-easily-quickly/

     

    If you need more help, please give me some examples.

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

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