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 / Print to PDF and name ...
Power Automate
Unanswered

Print to PDF and name file, then add header to the newly created pdf for a group of files in folder

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

 

Just discovered power automate I am having issues stringing all the tasks I want together. Any help would be appreciated!

 

Work Goal

Automate PDF processing for a group of PDFs placed in a folder. Or just one file if its impossible to do and I can just run it many times

 

Notes: PDF with digital certificate and that is to be printed to pdf will always be labeled as XXXXX - Approved, where XXXXX can vary.

 

Workflow

  1. Put all PDFs in folder that require processing
  2. "Print to PDF" the file (need to do this to flatten the digital certificate so I can add a header, and adjust margins)
  3. Name the newly created pdf file based off the old file name (remove the "- Approved" at end, if not possible then can it be renamed the same name but with a period at the end ie. xxxx - Approved.)
  4. Open newly created pdf, use edit to do the following edits
    1. Margins Top 1, Bottom 1.5
    2. Add a space to Left header and footer
    3. Check "Shrink document to avoid overwriting the document's text and graphics"
  5. Add old PDF file with digital certificate as an attachment to new file.
  6. Repeat for all files in folder (if possible)

Steps 3 and 5 are the ones I cannot seem to get. How can I add these steps to the Power Automate workflow?

 

 

Current Progress

drwong1_0-1674092102970.png

the above will print to pdf all files in folder. However it does not rename which is my problem, so at the end I have to rename them all manually.

 

drwong1_1-1674092731614.png

this flow  was generated from the recorder and is all the pdf edits i will make. will insert into loop after i name the file.

 

Thank you for reading through this. Any help or guides with for a similar goal would be much appreciated! 

Dan

 

 

 

 

Categories:
I have the same question (0)

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

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard