Explore Plans
Mobile menu Close menu
QNAPQNAP

New file in your folder

This trigger fires every time when a new file is stored to the selected folder.

Developer info

API endpoint slug
qnap.new_file_in_your_folder

Trigger fields

Option shared folder Dropdown list

Label
Folder path
Slug
option_shared_folder
Required
true
Can have default value
false

Folder path Text input > Regular expression

Label
Subfolder path
Helper text
If the subfolders don't exist, they will be automatically created. Example Format: some/folder/path
Slug
folder_path
Required
true
Can have default value
true

File type Dropdown list

Label
File Type
Helper text
Which type of files you would like to watch
Slug
file_type
Required
true
Can have default value
true

Ingredients

Device nameThe name of the device

Slug
device_name
Filter code
Qnap.newFileInYourFolder.DeviceName
Type
String
Example
MyNAS473

File URLThe public URL of the file

Slug
file_url
Filter code
Qnap.newFileInYourFolder.FileURL
Type
File URL
Example
https://www.myqnapcloud.com/smartshare/690e98j1o61n822995048w42_6tEis0k/sample1.jpg

File nameThe name of the file

Slug
file_name
Filter code
Qnap.newFileInYourFolder.FileName
Type
String
Example
myfile.pdf

File name no extThe name of the file without extension

Slug
file_name_no_ext
Filter code
Qnap.newFileInYourFolder.FileNameNoExt
Type
String
Example
myfile

Modified dateThe date when the file was created/updated/saved

Slug
modified_date
Filter code
Qnap.newFileInYourFolder.ModifiedDate
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00