This action will create a new file in the Google Drive folder you specify, with the name and text you give it, as a Google Doc or a plain text file. If a file with that name exists, a numbered copy is created.
API endpoint slug
google_drive.create_file_from_text
Filter method
GoogleDrive.createFileFromText.skip(string?: reason)
Runtime method
runAction("google_drive.create_file_from_text", {})
Action fields
Label
File name
Helper text
E.g. Meeting notes, or notes.txt for a plain text file
Slug
filename
Required
true
Can have default value
true
Filter method
GoogleDrive.createFileFromText.setFilename(string: filename)
Label
Content
Helper text
Plain text; line breaks are kept
Slug
content
Required
false
Can have default value
true
Filter method
GoogleDrive.createFileFromText.setContent(string: content)
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.createFileFromText.setPath(string: path)
Label
File type
Helper text
Google Doc to edit in Docs, or a plain text file such as a .txt, .csv or .md
Slug
file_type
Required
true
Can have default value
true
Filter method
GoogleDrive.createFileFromText.setFileType(string: file_type)