I'm attempting to build a flow that creates site page when a list item is created.
I'm following a tutorial however when I try to use the following expression in the Uri box under 'Send an HTTP request to SharePoint' it tells me the expression is invalid, even though it works for the guy in the tutorial.
_api/web/getfilebyserverrelativeurl('/sites/SPFx/SitePages/OpportunityTemplate.aspx')/copyto('/sites/SPFx/SitePages/@{triggerbody()?['Title']}.aspx')
Create SharePoint Site Pages automatically with Power Automate - YouTube
9:00 minutes
Can anyone see what i'm doing wrong?
