This action will append to a text file as determined by the filename and folder path you specify. If there is no file present, a new file will be created. Once a file’s size reaches to maximum a new file will be created. API endpoint slug qnap.append_text_to_file Filter code method Qnap.appendTextToFile.skip(string?: reason) Runtime method runAction("qnap.append_text_to_file", {})
Action fields Label Folder Path Slug option_shared_folder Required true Can have default value false Label File Name Slug file_name Required true Can have default value true Filter code method Qnap.appendTextToFile.setFileName(string: fileName) Label Content Helper text Use <br> to add line breaks Slug content Required true Can have default value true Filter code method Qnap.appendTextToFile.setContent(string: content) Label Subfolder Path Helper text Format: some/folder/path (defaults to “IFTTT”) Slug folder_path Required false Can have default value true Filter code method Qnap.appendTextToFile.setFolderPath(string: folderPath) Label Maximum File Size (MB) Helper text If the maximum file size is reached, a new file will be created. (0 means unlimited) Slug maximum_file_size Required false Can have default value true Filter code method Qnap.appendTextToFile.setMaximumFileSize(string: maximumFileSize)