Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Delete data from a spreadsheet

(0) ShareShare
ReportReport
Posted on by 2

Hello , I have seen this question posted before and haven’t found the answer. 
I have a form to generate data for a spreadsheet . Due to data protection rules I need the data deleted after a set amount of time. Is there a way of doing this as it would save time and effort having to do it manually. 

  • freddyp Profile Picture
    2 on at
    Re: Delete data from a spreadsheet

    Hello Anna, 

     

    thank you for the assistance with my question . 
    I do have a further problem. 
    my flow is generated from a form so how do I tell it to delete a line from the spreadsheet if I don’t know the name of the spreadsheet? 
    will the spreadsheet be stored in SharePoint?

     

    I have attached a screenshot of my flow as it is at the moments 2AD8FE9F-B22C-4B5F-BECC-8DC32079CF7C.jpeg

  • Verified answer
    v-duann-msft Profile Picture
    on at
    Re: Delete data from a spreadsheet

    Hi @freddyp 

     

    Thank you for posting.

     

    According to your description, you would like yo collect form responses and delete it after some time. If any misunderstanding, please kindly let me know.

     

    We can use delay action to control how long would you like to retain the new response.

     

    Flow overview:

    v-duann-msft_0-1620358018915.png

     

    Flow in detail:

    v-duann-msft_1-1620358018919.png

     

    Using delay action, you can configure delay few days or few months if you want.

    v-duann-msft_2-1620358018922.png

     

    Hope the content above may help you.

     

    Best regards,

    Anna

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow