Close menu
Explore Plans
Mobile menu Close menu
Microsoft OneDrive

New file in folder

This Trigger fires every time a new file is added to the folder you specify in your OneDrive.

Developer info

API endpoint slug
onedrive.new_file_in_folder

Trigger fields

Folder path Text input

Label
Folder path
Helper text
The folder to monitor (e.g. Documents/Reports). Leave blank to monitor the entire drive.
Slug
folder_path
Required
true
Can have default value
true

Ingredients

File name The name of the new file.

Slug
file_name
Filter code
Onedrive.newFileInFolder.FileName
Type
String
Example
quarterly_report.pdf

File path The full path to the file in OneDrive.

Slug
file_path
Filter code
Onedrive.newFileInFolder.FilePath
Type
String
Example
/Documents/Reports/quarterly_report.pdf

File size The size of the file in bytes.

Slug
file_size
Filter code
Onedrive.newFileInFolder.FileSize
Type
String
Example
245760

File url A link to view the file in OneDrive.

Slug
file_url
Filter code
Onedrive.newFileInFolder.FileUrl
Type
Web URL
Example
https://onedrive.live.com/view.aspx?id=ABC123

Created at Date and time the file was created.

Slug
created_at
Filter code
Onedrive.newFileInFolder.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00

Folder path The folder containing the new file.

Slug
folder_path
Filter code
Onedrive.newFileInFolder.FolderPath
Type
String
Example
/Documents/Reports