Mass printing of tickets

Hi folks,

we would like to print/save all of our ~15,000 tickets as PDFs in order to fill a document library with these PDFs and have a SharePoint agent search through them to support our agents. Currently, I only see the very manual printing option, where each individual ticket has to be opened and the “Print” button clicked. Does anyone have a streamlined solution to manage this automatically?

Hi!

You can create a Power Automate flow to retrieve comments, save them as HTML files, and convert to PDF.

  1. Start the flow manually and use the HelpDesk connector to retrieve all tickets. You may need to specify the top count to get them all.

  1. Initialise a string variable.

  1. For each ticket, get all comments using the HelpDesk connector.

  1. Append each comment to the string variable using HTML markup to have the desired layout.

  1. Save the comments for the current ticket in OneDrive and convert the HTML files to PDF.

  1. Save the converted file to the required SharePoint library and clear the string variable.

  1. Here is the flow overview.

Will it work for you?