Automation Workshop provides a Trigger to monitor Google Cloud Storage in an unattended manner. It monitors for various file events, such as when a new file appears in a directory, or a file gets modified.
When such an event occurs, the Trigger provides a path and filename in various formats to the Task or workflow. These dynamic values or variables can be easily used in any Action or step in the Task.
|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 Google Cloud Storage Watcher is set to monitor the following directory:
/photos-lib-23/upload-images …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 Google Cloud Storage Watcher.
If you have any questions, please do not hesitate to contact our support team.