Explore Plans
Mobile menu Close menu
BoxBox

Create a text file

This Action will create a new text file at the path you specify.

Developer info

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

Action fields

Filename Text input > File name

Label
File name
Helper text
No file extension needed
Slug
filename
Required
true
Can have default value
true
Filter code method
Box.createTextFileBox.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.createTextFileBox.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.createTextFileBox.setPath(string: path)