Reference

Step reference

Every trigger and step available today, with its settings and the values it produces.

Settings marked required must be set before the workflow can be published. Settings that accept values from the run can be Fixed, From a step or Text; see Values and templates. Settings under Advanced are collapsed in the editor.

Most steps that change a file have a File setting under Advanced. It's the run's file unless you choose another, such as the file a Save file step produced.

Triggers

Run manually

Library workflows. Runs when you start it from Files: select files, then More actions › Run automation. Up to 100 files at a time.

Produces: file.

File uploaded

Library workflows. Runs when a file is saved to your library, before thumbnails and other processing.

File types
list of text
MIME types such as image/png or image/*. Empty means every file.
Folder
folder
Only files uploaded into this folder.

Produces: file.

Tag added

Library workflows. Runs when a tag is added to a file, by you or by another workflow.

Tags
tags
Runs when any of these tags is added. Empty means any tag.

Produces: file, tag.

File received

Intake workflows. Runs when an upload arrives, before it's saved. See Upload intake.

File types
list of text
MIME types such as image/png or image/*. Empty means every file.
Largest size (MB)
number
Larger uploads don't match. Empty means any size.
Tokens
tokens
Only uploads made with these API tokens, when the workflow is picked automatically. Empty means any upload.

Produces: content (the received upload), source (web or API, and which token).

Logic

Condition

Continues on True when its rules match, otherwise on False. See Conditions and branching.

Rules
list required
Up to 20 rules, each with a Value, an Operator, a value to Compare with and, under Advanced, Case-sensitive.
Match
All rules | Any rule
Default All rules.

Produces: result (true or false).

Switch

Continues on the output of the first case the value equals, otherwise on Otherwise.

Value
any
The value to compare.
Cases
list required
Up to 20 cases, each with an Output name (lowercase letters, digits and dashes) and the value it Equals.
Case-sensitive
yes or no
Advanced. Off by default.

Produces: case (the output it took).

Organize

Rename

New name
text required
Up to 255 characters.
Keep the extension
yes or no
On by default: the file keeps its current extension.

Produces: name.

Add tags

Tags
tags
Existing tags to add.
Tag names
list of text
Tags with these names are created when they don't exist.

Produces: tags.

Remove tags

Tags
tags required
Tags to take off the file.

Produces: tags.

Move to folder

Folder
folder
Leave empty for All files.
Subfolders
text
Folders to create inside it, such as {{ trigger.file.createdAt | date: 'yyyy/MM' }}. Up to 8 levels; .. and empty segments aren't allowed.

Produces: folder.

Move to trash

Moves the file to Trash and turns off its links. No settings besides File.

Share and notify

Expires after
duration
An ISO 8601 duration such as P7D (7 days) or PT12H (12 hours). Empty means never.

Produces: url, expiresAt.

Content

Content steps work on content: the upload in an intake workflow, or a saved file's content after Load content. Each one makes a new working copy and never changes its input, so two branches can start from the same content. The image steps read PNG, JPEG, WebP and GIF (the first frame, saved as PNG), up to 100 megapixels. They turn images upright from their EXIF orientation and never write metadata.

Save file

Saves content to your library.

Content
content required
What to save. Check it reads the last content step; see Check what Save file reads.
Save as the upload
yes or no
Intake workflows only. Commits this content as the uploaded file, so its reserved links start working. Off: saves a new, separate file.
Name
text
Leave empty to keep the content's name.
Folder
folder
Leave empty to keep the upload's folder (when saving the upload) or for All files.
Subfolders
text
Folders to create inside it, such as {{ trigger.content.receivedAt | date: 'yyyy-MM' }}.
Tags
tags
Existing tags to add.
Tag names
list of text
Tags with these names are created when they don't exist.
Create a share link
yes or no
Off by default. An upload that already asked for a link keeps it.
Link expires after
duration
Advanced. Leave empty for a link that doesn't expire.
Keep the extension
yes or no
Advanced. On by default.

Produces: file, shareUrl.

Load content

Reads a saved file's content so content steps can work on it, in a library workflow. The file itself never changes; save the result with Save file as a new file.

Produces: content.

Strip metadata

Removes EXIF, location and other metadata from an image, turning it upright first.

Content
content required

Produces: content.

Auto-crop

Trims a solid border, such as the empty space around a screenshot. The border color is taken from the top-left pixel.

Content
content required
Tolerance
0 to 255
Advanced. How far a pixel may differ from the border color and still be trimmed. Default 8.

Produces: content.

Resize

Scales an image to fit within a width and height, keeping its proportions. Set at least one of the two.

Content
content required
Max width
1 to 20000
Max height
1 to 20000
Enlarge smaller images
yes or no
Advanced. Off by default, so images that already fit pass through unchanged.

Produces: content.

Convert image

Saves an image as PNG, JPEG or WebP. The name's extension changes to match.

Content
content required
Format
PNG | JPEG | WebP
Default WebP.
Quality
1 to 100
For JPEG and WebP. Default 90.

Produces: content.

Compress image

Makes an image smaller in the same format. Keeps the input when compressing doesn't help.

Content
content required
Quality
1 to 100
For JPEG and WebP. PNG is compressed without loss. Default 80.

Produces: content.

Data

Set values

Names values so later steps can use them as steps.<id>.<name>. Handy for building a name once and using it in several places.

Values
list required
Up to 20, each with a Name (letters, digits and underscores, starting with a letter) and a Value.

Produces: one value per name.

Flow

Wait

Pauses the run for a while or until a time. A waiting run holds nothing, even across restarts.

Wait for
duration
An ISO 8601 duration, such as PT10M or P1D.
Wait until
date
A time to wait until. A time in the past continues at once.

Stop

Ends the run here and skips the remaining steps.

Reason
text
Shown in the run's history.

Coming later

Fields and attachments on files, connections to outside services, webhooks, Discord, OCR and AI steps are planned next. Triggers for File ready, Field changed and Moved into folder, and schedules, come after that.