Skip to content
Download

Write to File

Saves text to a file on the phone, replacing it or adding to the end.

An action in the Files group. Its type is action.file_write.

Port Label Flow Type
in in execution in
out out execution out
path File data in String
text Text data in String
state Result data out Object{changed: Boolean, path: String, name: String, error: String}
Field Key Default Notes
File path
Text text
Add to the end instead of replacing append false
If a file is already there whenExists replace replace, keep_both, skip; shown when append is false
Text encoding encoding utf8 utf8, utf16, latin1