Triggering a flow when a file is pushed into a folder

Hi all,

I want to trigger a flow when a file is inserted into a folder. How can i do this?

Thank you,
Amitha Thimmaiah

Check out “file change trigger”, possibly trigger by “created” parameter in your case.

1 Like

Hi @Amitha,

Find the attached Xaml.

File Change.xaml (7.3 KB)

Regards,
Rahul

1 Like

Thank you @vvaidya and @Rahul :slight_smile:

If i use the file change trigger on a process, will it consume a robot/license in orchestrator while running?

Yes, it will. Robot has to be started to monitor folder so it obviously needs to consume a license.
You can bypass this by having something else monitor the folder and if file appears trigger bot. Or you can create a bot that would periodically check the folder, let’s say once per hour. In between these checks the same bot can run some other process.
See example scripts to monitor folder: windows - How to monitor a folder and trigger a command-line action when a file is created or edited? - Super User

I have an one doubt. Without continuous monitoring is there any way to trigger the bot. Which means without using file change trigger activity like that. once the file created in the specific folder then only the bot will trigger.