New services
Explore Plans
Mobile menu Close menu
OneDriveOneDrive

New file matching regex in folder

This trigger fires every time a new file whose filename matches the regular expression you specify is added to the folder you specify

About this trigger

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This trigger fires every time a new file whose filename matches the regular expression you specify is added to the folder you specify
API endpoint slug
onedrive.new_regex_match_file_in_folder

Trigger fields

Path Text input

Label
OneDrive folder path
Helper text
The path of the folder.
Slug
path
Required
true
Can have default value
true

Pattern Text input

Label
Regular Expression
Helper text
The Regular Expression pattern to match file names with.
Slug
pattern
Required
true
Can have default value
true

Ingredients

FilenameThe name of the file created.

Slug
filename
Filter code
Onedrive.newRegexMatchFileInFolder.Filename
Type
String
Example
E.g. notes.txt

Filename no extThe name of the file created without the extension.

Slug
filename_no_ext
Filter code
Onedrive.newRegexMatchFileInFolder.FilenameNoExt
Type
String
Example
E.g. notes

Modified byThe name of the file modifier.

Slug
modified_by
Filter code
Onedrive.newRegexMatchFileInFolder.ModifiedBy
Type
String
Example
E.g. Someone

Modified timeThe date and time the file was modified.

Slug
modified_time
Filter code
Onedrive.newRegexMatchFileInFolder.ModifiedTime
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

File URL The URL for the file.

Slug
file_url
Filter code
Onedrive.newRegexMatchFileInFolder.FileUrl
Type
File URL
Example
E.g. https://public.files.1drv.com/somestringrepresentingthefile