Explore Plans
Mobile menu Close menu
OneDriveOneDrive

Create text file

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

Developer info

API endpoint slug
onedrive.create_text_file
Filter code method
Onedrive.createTextFile.skip(string?: reason)
Runtime method
runAction("onedrive.create_text_file", {})

Action fields

Filename Text input > File name

Label
Filename
Helper text
The name of the file.
Slug
filename
Required
true
Can have default value
true
Filter code method
Onedrive.createTextFile.setFilename(string: filename)

Path Text input > Path to a folder

Label
OneDrive folder path
Helper text
The path of the folder to create the file in.
Slug
path
Required
true
Can have default value
true
Filter code method
Onedrive.createTextFile.setPath(string: path)

Content Text input > Long text

Label
Content
Helper text
The contents of the file.
Slug
content
Required
true
Can have default value
true
Filter code method
Onedrive.createTextFile.setContent(string: content)