About this action
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- 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.
- 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)