# Supported Actions

## Introduction

Couchdrop supports several key actions when configuring and managing automations. These actions modify or move files that are being processed by Couchdrop.

### Selecting Actions

Actions are set in the automation builder by clicking a plus sign and choosing **Actions**.&#x20;

## Action Nesting

Actions can be nested in Automations, which means one action depends on the success and output of the previous action. This is a unique feature of Couchdrop and allows for very complex scenarios.

If a sub-action fails, then Couchdrop will not continue to process any child actions.

For more information, see [Automation Builder](https://docs.couchdrop.io/features/transfer-automations/automation-builder).&#x20;

## Available Actions

The following actions are available in Automations in Couchdrop

{% hint style="success" %}
Actions support variable use for directory and file locations
{% endhint %}

<table><thead><tr><th width="216">Action Type</th><th>Description</th></tr></thead><tbody><tr><td>Rename file</td><td>Rename the file without copying the file to a new location</td></tr><tr><td>Move file</td><td>Copy the file to a new location and delete the file from the source location</td></tr><tr><td>Transfer/Copy File</td><td>Copy the file to a new location, retaining the original file in the source</td></tr><tr><td>Delete file</td><td>Delete the file </td></tr><tr><td>Compress File</td><td>Create a compressed archive of the file using zip, gzip, or bz2</td></tr><tr><td>Decompress File</td><td>Decompress file using gzip or bz2</td></tr><tr><td>Unarchive (Multiple Files)</td><td>Decompress a .zip file</td></tr><tr><td>PGP Encrypt</td><td>Encrypt and sign a file with a PGP key</td></tr><tr><td>PGP Decrypt</td><td>Decrypt and verify a file encrypted and signed with PGP</td></tr><tr><td>AES Encrypt</td><td>Encrypt a file with AES</td></tr><tr><td>AES Decrypt</td><td>Decrypt a file encrypted with AES</td></tr><tr><td>Parse File</td><td>Parse a file into an Automation Variable to be used in other actions</td></tr><tr><td>Write to File</td><td>Writes to the file on the specified path. </td></tr><tr><td>Extract Variable from Filename</td><td>Extract a custom variable using a regex pattern for later use</td></tr><tr><td>Extract Variable from File</td><td>Extract an Automation Variable from a file to be used in other actions</td></tr><tr><td>Attach File and Email</td><td>Send file via email attachment</td></tr><tr><td>Create Shared Link and Email</td><td>Create a Couchdrop Shared Link and email link instructions</td></tr><tr><td>Create Empty File</td><td>Create a new empty marker file in a location specified</td></tr><tr><td>Create a folder</td><td>Create a new folder at the location specified</td></tr><tr><td>Create a group</td><td>Create a Couchdrop group</td></tr><tr><td>Set Folder Permissions</td><td>Set the user or group permissions of a specified folder</td></tr><tr><td>Import into Database</td><td>Map structured file and upload to database</td></tr><tr><td>Push file to queue</td><td>Push file, with optional metadata, to a queue</td></tr><tr><td>Push event to queue</td><td>Push file information, with optional metadata, to a queue</td></tr><tr><td>Fire Webhook</td><td>Fire an HTTP webhook with metadata regarding the file object to the specified URL endpoint</td></tr><tr><td>Download File Via HTTP(s)</td><td>Configure a file download via HTTP(s)</td></tr></tbody></table>
