Skip to main content

File System Trigger

A file system trigger watches a folder on a robot's machine and runs a flow when a file appears, changes or is removed. It is the usual way to automate "someone drops a file in here".

Triggers are created in Admin Console → Triggers, with Add Trigger.

1. Trigger Type

Choosing a File System trigger

Pick the File System category, then one of three events:

The File System trigger types

TriggerFires when
File CreatedA file appears in the folder
File DeletedA file is removed
File ModifiedAn existing file changes

2. Details

Give the trigger the directory path to watch and a file name to match.

Matching any file

The file name is a pattern, not a literal. Use .* to match anything in the folder, or something like .*\.csv for one kind of file.

3. Flow & Details

Name the trigger, then choose the published flow to run, its version, and the robot that will watch the folder.

The path is on the robot, not on you

The robot watches its own filesystem. A path that exists on your laptop means nothing to a robot on a server — this is the most common reason a file system trigger never fires.

note

The robot has to be connected for a trigger to fire. A trigger on an offline robot is not queued; the event is simply missed.

See also

  • Triggers — managing existing triggers
  • Robots — checking a robot is online