Re: Convert Sharepoint file to PDF
Hey @gregtate7748
try the following:

Action: OneDrive - Create File:
Folder Path = /
File Name = @{outputs('Get_file_properties')?['body/{FilenameWithExtension}']}
File Content = @{outputs('Get_file_content')?['body']}
Action: OneDrive - Convert file using path
File Path = @outputs('Create_file')?['body/Path']
Target type = PDF
Action: SharePoint - Create file
Site Address = <Your SharePoint Site>
Folder Path = Your target SharePoint folder
File Name = @{outputs('Get_file_properties')?['body/{Name}']}.pdf (I used the same name as from the initial file)
File Content = @{outputs('Convert_file_using_path')?['body']}
First we need to create a file in OneDrive so the convert finds the document, we just use the "File name with extension" and "File content" from SharePoint to create this file. Then we convert this file using a path. After converting it, you need to create the final PDF in your SharePoint site (or in your personal OneDrive etc.) using the converted file content.
You maybe should also consider adding an action "OneDrive - Delete file" to delete the temporary file created in OneDrive.
Best regards
Marvin
If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.