Node Inputs

  • file name
    • Data Type: File
    • Description: The name of the file that will be read by this node.

Node Output

  • file contents
    • Data Type: text
    • Description: The actual text that has been read from the file that was input.

Node Functionality

The “File Reader” node is designed to seamlessly read content from a variety of file types, including PDFs, JSON files, CSVs, text files, and HTML files. It extracts the textual content from these files and presents it as a simple text, making the contents easier to handle and utilize within the flow process. Whether you’re working with reports, data files, or textual information, this node does the heavy lifting by converting a file’s contents into a readable and processable format.

When To Use

The “File Reader” node is particularly useful whenever you need to extract text from files in an automated sequence. It’s great for scenarios where reading file content is the first step in a data processing chain, such as:

  • Reading reports and extracting vital statistics or information.
  • Importing data from a CSV file into a database.
  • Processing form submissions saved in different file formats.
  • Archiving textual data from various sources like PDF invoices, contractual agreements, etc.

Whenever you have a file whose content you need to access and use within an automated workflow, the “File Reader” node provides a simple and effective solution.