Explore Plans
Google Drive

Append to a text file

This action will add the text you give as a new line at the end of a plain text file in the Google Drive folder you specify, creating the file if it does not exist. To add to a Google Doc, use Google Docs' Append to a document.

Developer info

API endpoint slug
google_drive.append_to_text_file
Filter method
GoogleDrive.appendToTextFile.skip(string?: reason)
Runtime method
runAction("google_drive.append_to_text_file", {})

Action fields

Filename Text input > File name

Label
File name
Helper text
E.g. log.txt
Slug
filename
Required
true
Can have default value
true
Filter method
GoogleDrive.appendToTextFile.setFilename(string: filename)

Text Text input > Long text

Label
Text
Helper text
Added on a new line at the end of the file
Slug
text
Required
true
Can have default value
true
Filter method
GoogleDrive.appendToTextFile.setText(string: text)

Path Text input > Path to a folder

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