Integrate a File in an Automation

Use created and imported files in your automation.

Prerequisites

You need to activate the file for it to be integrated in your automation, as the file is not activated by default.

Context

The following use case demonstrates how to integrate a file into your automation.

Procedure

  1. Drag and drop the Read File activity into your automation.

  2. Choose the Read File activity. In the side panel, enter the filePath in the Input Parameters.

    Alternatively, you can use the Expression Editor to set the path.

  3. Optional: To display the content of the JSON file at runtime, use the Log Message activity.
  4. Save your work and test the automation.

Results

The file is successfully used in your automation. The log message appears in the Start of the navigation pathTest Console Next navigation step InfoEnd of the navigation path.