Our /file/read Robot

Read file contents

🤖/file/read reads file contents from supported file-types.

This Robot accepts any file, and will read the file using UTF-8 encoding. The result is outputted to file.meta.content to be accessed in later Steps.

The Robot currently only accepts files under 500KB.

Parameters

  • use

    String / Array of Strings / Object required

    Specifies which Step(s) to use as input.

    • You can pick any names for Steps except ":original" (reserved for user uploads handled by Transloadit)

    • You can provide several Steps as input with arrays:

      "use": [
        ":original",
        "encoded",
        "resized"
      ]
      

    💡 That’s likely all you need to know about use, but you can view Advanced use cases.