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 / Replace unique csv fil...
Power Automate
Unanswered

Replace unique csv file every minute on sharepoint

(0) ShareShare
ReportReport
Posted on by 21

We want to have one unique CSV file name on sharepoint, replace the file every minute.

Now it's only possible to add another file with adding time every minute.

What actions should be take?

 

mheinst_0-1623412967906.png

 

Categories:
I have the same question (0)
  • jinivthakkar Profile Picture
    4,187 on at

    @mheinst add a delay may be ?

     

    jinivthakkar_0-1623420090873.png

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

     

  • mheinst Profile Picture
    21 on at

    I'm getting an error.

    A file with the name Inventory Downloads/Inventory1106.csv already exists. It was last modified by

    Error
    Action 'Post_a_message_as_the_Flow_bot_to_a_user' failed
  • jinivthakkar Profile Picture
    4,187 on at

    @mheinst try formatting datetime like this 

     

    formatDateTime(utcNow(),'yyyy-MM-dd hh:mm:tt') 

    OR

    formatDateTime(utcNow(),'yyyy-MM-dd hh:mm')

     

    First one will give date and time with hours,mins and seconds

    Second one will give date and time with hours,mins

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • mheinst Profile Picture
    21 on at

    Yes I have that right now, that works. But I need to keep the file to be replaced with the same name. Adding time will create many unique files instead of 1.

  • jinivthakkar Profile Picture
    4,187 on at

    @mheinst delete the file before you create one

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • mheinst Profile Picture
    21 on at

    OK, how do you set that up? I have tried it.

    Every minute the file will be updated, how to delete it before the new one will be created?

  • jinivthakkar Profile Picture
    4,187 on at

    @mheinst use get files action, sort by ID descending which and top 1, it will give you the latest file, then use delete file and then create

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • mheinst Profile Picture
    21 on at

    Could you please send a screendump with the actions?

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 273 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 135 Most Valuable Professional

Last 30 days Overall leaderboard