Skip to main content

Notifications

Announcements

No record found.

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
    Eiken 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
    Mohit Rampal 12,554 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

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans