Read Text From File Step

The Read Text From File step reads content from a .txt or .css file. Use this step to get text data from a file and put it into a variable for your automation process.

How to Use Read Text From File

Step 1: Add the Read Text From File Step

  1. Open your process in the Robotiq.ai editor.
  2. Drag and drop the Read Text From File step into your workflow.

Step 2: Configure File Path

  1. In the step's properties, find the File path field.
  2. Type in the full path to the .txt or .css file you want to read. You can use a string variable that already holds the file path.

Step 3: Define Text Destination

  1. In the Text Destination field, type the name of a variable.
  2. The text from the file will be saved into this variable. You can use a variable you've already made or create a new one.

Parameters Explained

Step name (Optional)

  • A custom name for the process step. This name shows up on the step box in the editor.

File path (Required)

  • The full path to the file you want to read.
  • Example: "C:\Documents\my_data.txt" or a variable like filePathVariable.
  • Use this to tell the robot which file to open.

Text Destination (Required)

  • The name of the variable where the file's content will be stored.
  • Example: fileContent
  • This variable will hold all the text from the file you picked.

Related Articles

Need Help?

Can't find what you're looking for? Join the Robotiq Community to get help from other users and the Robotiq team.

Was this article helpful?