Skip to main content
All CollectionsStepsRun Event Steps
Run Event File System Actions Step
Run Event File System Actions Step

The File System Actions Run Event step is used to action a local file based on the status of a processed run in a flow.

Praise Magidi avatar
Written by Praise Magidi
Updated over 8 months ago

The File System Actions Run Event step is used to perform specific actions on files stored on your local machine or server after a run has been processed using a Relay.

Illustrated in the image below is an example of a flow where a File System Actions Run Event step is used.

Adding a File System Actions Run Event Step

To add a File System Actions Run Event step in a flow, follow the below instructions:

1. Click on the highlighted icon as shown in the below image.

2. The below page will appear. Click on the RunEvent tab and select File System Actions as shown in the image below.

Configuring a File System Actions Run Event Step

Illustrated in the below image is the configuration that is available in the File System Actions Run Event step.

Events – The events to trigger on. This field is required for the step to work. The following options are available:

  • Completed – All records that are successfully processed.

  • Completed with Errors – All records that are processed but contain errors.

  • Failed – All records that failed.

File System Config – The File System connection used by a Relay. Click on the dropdown arrow as shown to select an existing Relay to use or, alternatively, click the highlighted button to create a new Relay.

  • Action – The different actions that can be performed. Each action has its own configuration which will be explained below.

  • Create Path – Create a new folder or file after a run is processed. The Path field is where to provide the path/folder to be created.

  • Delete Path – Delete a new folder or file after a run is processed. The Path field is where to provide the path/folder to be deleted. The Recursive checkbox will delete everything in that path every time a run is processed when selected.

  • Delete File – Delete a specific file after a run is processed. The Path field is where to provide the path/folder to be deleted.

  • Move File – Move a file from one path to another after a run is processed. The From Path field is where the file is being moved from. The To Path field is where the file is being moved to. The Create Path checkbox will create a new path automatically when selected. The Overwrite checkbox will overwrite the file if it exists in the path already.

  • Copy File – Copy a file from one path to another after a run is processed. The From Path field is where the file is being moved from. The To Path field is where the file is being moved to. The Create Path checkbox will create a new path automatically when selected. The Overwrite checkbox will overwrite the file if it exists in the path already.

Using a File System Actions Run Event Step

In this example, the Create Path action was used as shown in the image below. The fields for this action appears for you to input a path.

To use the File System Actions Run Event step, follow the instructions below:

1. Press the Execute button as shown in the image below.

2. Click on the Create Run button.

The image below shows the new folder that has been created.

Did this answer your question?