Download SSRS report as a PDF with Power Automate – Part 2
Checkout Download SSRS report as a PDF with Power Automate – Part 1
In this blog, we will see how to extract the value for PdfDownloadUrl so we can load it into another request and get our PDF. We’ll do this in 3 parts.
Step 7 – The start of the URL – Add a compose action for the following:

add(indexOf(outputs('HTTP_-_POST_Report_Viewer')?['body'],'"PdfDownloadUrl":"'),18)
Step 8 – Length of PdfDownloadUrl – Add a compose action for the following:

sub(indexOf(outputs('HTTP_-_POST_Report_Viewer')?['body'],'","PdfPreviewUrl"'),outputs('PDF_Download_Start_-_Index'))
Step 9 – Extract and convert the PdfDownloadUrl from the body – Add a compose action for the following:

Replace(substring(outputs('HTTP_-_POST_Report_Viewer')?['body'],outputs('PDF_Download_Start_-_Index'),outputs('PDF_Download_String_Length')),'\u0026','&')
Step 10 – Download PDF

Step 11 – Use a variable to send the Report PDF data

Step 12 – Send an Email

Output –


Hope this helps!
Related posts:
Advanced & Auto Bank Reconciliation in Dynamics 365 Finance
How to create and add/attach a custom activity-type entity to an existing entity in Dynamics 365 CRM
How to add an Entity and fields in Global Search On Dynamics 365 CRM
How to create a SharePoint site and enable Server-Based SharePoint Integration for Document Manageme...