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
{USER}
michael.lawson
The user who was uploading the file
{EXISTING_NAME}
test.txt
The current filename
{EXISTING_NAME_NOEXT}
test
The current filename without the extension
{EXISTING_NAME_EXT}
.txt
The extension only of 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
{TIME_SS}
24
Seconds on the minute
{TIMESTAMP}
1711330141
Unix timestamp. Number of seconds since Jan 1st 1970.
{TIMESTAMP_MS}
1659992501
Timestamp with milliseconds when the workflow was triggered
{EVENT.EVENT_TYPE}
download
Event type that executed the workflow
{EVENT.SYSTEM}
webportal
Specifies the channel where the workflow was originated
{EVENT.STORAGE_ENGINE}
googledrive
Storage type name where the workflow was originated
{EVENT.STORAGE_ENGINE_ID}
4c0a140-9177-4581-98d3-4ea7215364aa
Unique identifier of the configured storage where the workflow was originated
{EVENT.TIMESTAMP}
1659442224.463902
Raw timestamp value of the event triggered in the workflow
{EVENT.EVENT_ID}
bef26414-b7c1-41de-986e-98de45abcd
Unique identifier of the event triggered every time a workflow is executed. All actions configured int he same workflow will share the same event ID.
{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.
You can also create Custom Variables using the Extract Variable from Filename action. For more details, see Supported Actions.
Last updated
Was this helpful?