Explore Plans
Mobile menu Close menu
BoxBox

Append to a text file

This Action will append to a text file as determined by the file name and folder path you specify. Once a file’s size reaches 2MB a new file will be created.

Developer info

API endpoint slug
box.append_to_text_file_box
Filter code method
Box.appendToTextFileBox.skip(string?: reason)
Runtime method
runAction("box.append_to_text_file_box", {})

Action fields

Filename Text input > Document title

Label
File name
Helper text
Will create a new file if one with this title doesn’t exist
Slug
filename
Required
true
Can have default value
true
Filter code method
Box.appendToTextFileBox.setFilename(string: filename)

Body Text input > Long text

Label
Content
Helper text
Use <br> to add line breaks
Slug
body
Required
true
Can have default value
true
Filter code method
Box.appendToTextFileBox.setBody(string: body)

Path Text input > Path to a folder

Label
Box folder path
Helper text
Format: some/folder/path (defaults to “IFTTT”)
Slug
path
Required
false
Can have default value
true
Filter code method
Box.appendToTextFileBox.setPath(string: path)