I have a flow that is triggered when a status changes within Clickup (external app), and when it is triggered the Flow parses the recieved json, and copies en existing folder on Sharepoint from one folder into another and then I'm wanting that new folder to be renamed using a data field recieved from clickup - in this case the filed is 'name' (which is the name of the project in clickup).
I'm pretty new to Power Automate so loving nutting this stuff out
So far I have successfully created the entire flow and can get it to complete with manually entered text in the body value inside the Send an HTTP request to Sharepoint action -
eg
{
'Title': 'new name',
'FileLeafRef': 'new name'
}
this works perfectly so I was pretty happy to get to that stage,
however since I want to use dynamic names that come from the clickup load that is where teh wheels are falling off. As soon as I replace the manually entred 'new name' text with a dynamic value (in this case the 'Body Name' value from the Parse JSON it comes back with a NotFound error.
See screenshots of what I have set up in both the manual setup and the problematic dynamic value set up
Have also included the error payload in the attachments.


Can anyone advise what I am missing or doing wrong please,
logically it should work but maybe I'm missing some small extra bit of code to make it function as expected?
Happy to be steered in the direction
UPDATE
I've tried the suggestion from
Expiscornovus but that hasn't resolved the issue - I'm not sure it is even relevant to the issue at hand but I tried all that was suggested with no success unfortunately.
I've done a little more elimination testing and I can confirm that the ability to rename a folder isn't the issue, the flow setup already provides that ability as is, the problem is that the Dynamic Values from the Parsed webhook JSON payload do not deliver the values into the folder name as expected.
In my final test I entered a manual name using text (eg New Job Bag) then entered a dynamic value from the Parsed JSON (eg "Body Name") followed by some manual text (eg " - test")
And when triggered the flow will create the Parsed JSON, copy the folder, and then rename the folder to "
New Job Bag - test". (see screenshot below)
Effectively it is applying the manual text but not applying the Dynamic Values (only a space in its stead) - it's as if the Value is completely ignored or not able to locate it.
The Parsed JSON definitely producing the Body Name value available (see screenshot below) which in this case is "rick test" so if the flow was calling this corretly the new folder name should have produced "New Job Bag rick test - test" but it did not
Can anyone provide any solution to why the dynamic values are being ignored?
Have a missed another important step to have the value presented in a way that the action will read and include?
See screens shots of this final test below
Any help much appreciated
Thanks
Rick
