Skip to content

Eca Helper: File raw write

Plugin ID: eca_helper_file_write

Writes data to a file and provides the resulting file path as a token.

Fields

Target file path — config key: file_path

Enter the path where the file will be written (e.g., public://output.txt). Tokens are allowed.

Type: textfield · Required: yes · Default: public://output.txt

File content — config key: file_content

Enter the content to write to the file. Tokens are allowed.

Type: textarea · Required: no · Default: empty string

Write mode — config key: write_mode

What to do if the file already exists.

Type: select · Required: no · Default: replace

Allowed values: replace, rename

Token name for resulting file path — config key: result_file_path_token_name

Enter the name for the token where the actual path of the written file will be stored (e.g., "actual_output_path"). Please provide the token name only, without brackets.

Type: textfield · Required: yes · Default: written_file_path