Dowload SSRS Report and Send email
#PowerAutomate, #SSRS, #HTTP, #SendEmail, #Attachment
My scenario
My proposal
Components
Flow summary
Details of configuration.












Testing...
Last updated
// Sample XML - report filter
<ReportFilter>
<ReportEntity paramname="CRM_Filteredntd_WorkOrder" donotconvert="1" displayname="Work Orders">
<fetch version="0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="ntd_workorder">
<filter type="and">
<condition attribute="ntd_workorderid" operator="in">
<value uiname="WO202403-1002" uitype="10327">
edf341b8-14e0-ee11-904c-0022485a170d
</value>
</condition>
</filter>
<all-attributes />
</entity>
</fetch>
</ReportEntity>
</ReportFilter>// add string PdfDownloadUrl starts
add(indexOf([Body-"WOSummary View"],'"PdfDownloadUrl":"'),18)// add the length of PdfDownloadUrl
sub(indexOf([Body-"WOSummary Viewer"],'","PdfPreviewUrl"'),
[Output-"Download PDF Start"])
// replace string
replace(substring([Body-"WOSummary Viewer",
[Output-"Download PDF Start"],
[Output-"Download PDF Length"),'\u0026','&')