Actions
When configuring an automation, you are required to configure a set of actions. These actions apply to the files matching the conditions of the automation.
The action object
Both Schedule automations and Event automations require actions. Actions are passed as JSON objects in an array. See the Scheduled Automations nad Event Automations docs to see how to include them when configuring the automations .
Here is an example of what an action object looks like.
Actions have variable params, which can be found below. An example of a copy action is here
Available Action Types
As of writing this document, we support the following action types.
Action Type | Description |
---|---|
webhook | Fire a webhook of to a remote endpoint |
rename | Rename the file |
delete | Delete the file |
copy | Copy/duplicate the file |
move | Move the file to a new location. |
Send an email notification | |
compress | Compress the file |
decompress | Decompress the file |
unarchive | Unarchive the file |
pgp_encrypt | Encrypt the file with PGP |
pgp_decrypt | Decrypt a file encrypted with PGP |
Last updated