Variables
Learn about variable use in Transfer Automations
Introduction
Variables are used in Couchdrop to support custom filename and path creation in automations. Whenever setting a location or path in an automation, you can use variables to generate an appropriate path.
Available Variables
The following variables are available for automations
Key | Value Example | Description |
---|---|---|
{USER} | michael.lawson | The user who was uploading the file |
{EXISTING_NAME} | test.txt | The current filename |
{YYYY} | 2023 | The current timestamp year |
{YY} | 23 | The current timestamp year in shortform |
{MMM} | AUG | The month in a human readable format |
{MM} | 03 | The month in a numerical format |
{DD} | 02 | The day of the month |
{TIME_HH} | 23 | Hour in 24 hour time |
{TIME_MM} | 30 | Minutes of the hour |
{TIMESTAMP} | 1711330141 | Unix timestamp. Number of seconds since Jan 1st 1970. |
{EVENT.additional_info.required_fields.<FIELD_NAME>} | Substitute <field_name> with the name of the Web Inbox required field to access data provided on upload. |
Last updated