Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Logic apps trigger only when file is complete

(0) ShareShare
ReportReport
Posted on by

Hi All,

I have integration scenario in which customer will place a file in SFTP location.  I have to read the file and insert into dynamics FinOps.

For this, I am thinking to use Logics App to basically trigger when a new file is created and call FinOps to insert records.

My question is, How can i make sure Logic Apps only triggers when file is completely uploaded and not just created. The file customer will upload will be in 10-100mb in size. I want to make sure that when a file is completely imported then only logic apps triggers.

Also for this kind of integration pattern, what is the best design to use.

Thanks

  • Verified answer
    Eiken Profile Picture
    on at
    RE: Logic apps trigger only when file is complete

    Hi,

    Please try changing the trigger to "When a file is created in a folder".

  • Suggested answer
    Mohit Rampal Profile Picture
    12,563 Moderator on at
    RE: Logic apps trigger only when file is complete

    Hi, We have created similar requirement to fetch file from SFTP location using Power automate. In our case, Bank was dropping files once day so we created recurring flow to run once a day and schedule accordingly. In your case, even if incoming files are scheduled for any time, you can still read files using Actions 'List Files in Folder' and it should provide only files which are uploaded completely. The trigger and action for Logic app will be different.

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans