PowerAutomate

converting an Excel file to PDF in SharePoint using Power Automate.Create a new Flow and use the SharePoint Online trigger ‘When an item is created or modified’. Fill out the URL for the site collection and select the relevant SharePoint list.

Use the appropriate trigger action to detect the XLSX file being added or modified in the specified folder. Utilize the "Get file content" action to retrieve the content of the XLSX file. Use an HTTP action to call the Plumsail Documents API (or any other third-party service that converts XLSX to PDF). You may need to obtain an API key or authentication token from the service provider and use it in the headers of the HTTP request. The Plumsail Documents API should handle the XLSX to PDF conversion and return the PDF file as a response.

You can also send the PDF as an email attachment, store it in a database, or perform other actions based on your requirements.