Skip to content

Write File

This processor will write the incoming payload to a file at the specified path. This processor will return an error if any of the required parameters are missing or if the parameters are of the wrong type. The incoming payload will be written to the specified file.

  • typeos.writefile
  • params:
    • path: the path of the file to write to

Write the incoming payload to a file.

- id: write
type: os.writefile
params:
path: "/tmp/test.txt"