Re: Generate PDF from SharePoint list item
Hi @Rajesh,
Do you want to generate a PDF file from SharePoint list items?
Please consider using the OneDrive for Business action Convert file to convert an HTML file to PDF.
Please take the following flow for a reference.
The flow is triggered by When an item is created in a SharePoint list.
Get items from the list.
Create an HTML table from the list.
Add the action Create file to create an .htm file in OneDrive for Business. Set its File name as ListB.htm.
Add the action Convert file to convert the file to pdf.
Last, create a .pdf file with a new name.
A screenshot for your reference.

Best regards,
Mabel