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.
Variable | Details |
---|---|
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. |
Example…
Assuming that DigitalOcean Spaces Watcher is set to monitor the following directory:/video-footage-24/today
…and then activated by/video-footage-24/today/hd/intro072124.mp4
file, the returned variable values of each preset are listed below…
Full path and filename
Preset | Details |
---|---|
Full path and filename | /video-footage-24/today/hd/intro072124.mp4 |
Filename
The Filename preset retrieves the file name without path.
Option | Details |
---|---|
Filename | intro072124.mp4 |
File | intro072124 |
Extension | .mp4 |
Absolute path
Absolute path returns the full path of monitored folder.
Option | Details |
---|---|
Absolute path | /video-footage-24/today/hd |
Trailing slash | /video-footage-24/today/hd/ |
Relative path
Relative path returns the path of a folder relative to the monitored folder.
Option | Details |
---|---|
Relative path | hd |
Trailing slash | hd/ |
File | hd/intro072124.mp4 |
Watched directory
Watched directory returns the full path of directory monitored by DigitalOcean Spaces Watcher.
Option | Details |
---|---|
Watched directory | /video-footage-24/today |
Trailing slash | /video-footage-24/today/ |
Multi-triggers?
Complex workflows often incorporate multiple DigitalOcean Spaces Watcher Triggers. Are you wondering how to pull dynamic variables from the Trigger which set your workflow in motion? Or perhaps you need to pull data from any given Trigger, regardless of the activation criteria?
With the multi-triggering feature, watching your DigitalOcean Spaces endpoints for any updates becomes effortless—simply fetch the values from Any DigitalOcean Spaces Watcher category—and Automation Workshop will seamlessly connect your Actions with the right triggering data, ensuring a smooth operation without any extra effort. Experience immediate automation advantages across both local servers and distant machines!
Questions?
If you have any questions, please do not hesitate to contact our support team.