# 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](/features/transfer-automations/automation-builder.md).&#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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.couchdrop.io/features/transfer-automations/supported-actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
