Automation Workshop features the DigitalOcean Spaces Watcher Trigger that enables automated workflows to capture various events that happen on the remote cloud file system. Those events always have a file or directory information attached to it. They can be used as dynamic variables and can be accessed using the Variable Wizard.
The dynamic variables contain filename and path. These values can be accessed as a whole path or as separate elements, such as a filename, extension, or path.
|Preset||Choose the type of information to return on monitored file or directory:|
|Example||Shows what kind of information will be returned.|
|Adjust||Streamline creation of Task workflows even further—instantly make quick variable adjustments such as in-place replacement (all, first, or last occurrence), trimming (whitespaces, quotes, etc.), or changing capitalization. Optionally, set a different display name.|
Assuming that DigitalOcean Spaces Watcher is set to monitor the following directory:
/video-footage-23/today …and then activated by
file, the returned variable values of each preset are listed below…
Full path and filename
|Full path and filename|
The Filename preset retrieves the file name without path.
Absolute path returns the full path of monitored folder.
Relative path returns the path of a folder relative to the monitored folder.
Watched directory returns the full path of directory monitored by DigitalOcean Spaces Watcher.
If you have any questions, please do not hesitate to contact our support team.