web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Delete files from Shar...
Power Automate
Unanswered

Delete files from SharePoint

(0) ShareShare
ReportReport
Posted on by 13

Hi, 

Sorry if it's already been covered but I've been searching and can't find anything similar. 

 

I am making a flow, that following a form submission, populates a word template and then saves that template to a SharePoint site. From there it converts it to a PDF. I can't seem to get the the final part of deleting the .docx document and get a JSON error. 

 

I can't seem to find a way of creating a PDF without first saving the word doc. So don't think that's possible.

 

I have attached screen shots of the flow. 

 

Flow.jpg

Flow 2.jpg

Flow 1.jpg

 

Thanks in advance! 

Categories:
I have the same question (0)
  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    @Rewriter2 try using ID instead of Path.  Hope that helps.

  • Rewriter2 Profile Picture
    13 on at

    And as simple as that it worked! Im sure that I tried changing it but thankyou! 

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard