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 a Fixed value, From a step or a Template; see Values and templates. Settings under Advanced, and optional sections you haven't used, 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.
image/png or image/*. Empty means every file.Produces: file.
Tag added
Library workflows. Runs when a tag is added to a file, by you or by another workflow.
Produces: file, tag.
Field changed
Library workflows. Runs when a field's value on a file is set, changed or cleared, by you, the API or another workflow. Setting a field to the value it already has doesn't count.
Produces: file, fieldId, value, previous.
File received
Intake workflows. Runs when an upload arrives, before it's saved. See Upload intake.
image/png or image/*. Empty means every file.Produces: content (the received upload), source (web or API, and which token).
Logic
Condition
Continues on True when its rules match, otherwise on False. The inspector shows its rules as a summary; edit them in the larger editor. See Conditions and branching.
Produces: result (true or false).
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Switch
Continues on the output of the first case the value equals, otherwise on Otherwise. Set it up in the larger editor.
Produces: case (the output it took).
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Organize
Rename
Produces: name.
- Works in
- Library and intake workflows
- Changes
- Your library
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Add tags
tags output of AI suggest tags.Produces: tags.
- Works in
- Library and intake workflows
- Changes
- Your library
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Remove tags
Produces: tags.
- Works in
- Library and intake workflows
- Changes
- Your library
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Move to folder
{{ trigger.file.createdAt | date: 'yyyy/MM' }}. Up to 8 levels; .. and empty segments aren't allowed.Produces: folder.
- Works in
- Library and intake workflows
- Changes
- Your library
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Move to trash
Moves the file to Trash and turns off its links. No settings besides File.
- Works in
- Library and intake workflows
- Changes
- Your library
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Share and notify
Create share link
P7D (7 days) or PT12H (12 hours). Empty means never.Produces: url, expiresAt.
- Works in
- Library and intake workflows
- Changes
- Your library
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Send notification
Posts a short message through a connection, such as a Discord webhook. It isn't retried automatically after a failure that leaves it unclear whether the message was posted; the run asks you instead.
Uploaded {{ subject.name }}. Up to 4,000 characters. With a connection that shows Markdown, such as Discord, it's formatted text: bold, lists, links and so on. Discord messages never ping @everyone, @here, users or roles, even when the text names them. It's always sent whole: if the service takes less, the step fails and says how to fit it. Discord takes 2,000 characters, or 4,096 when the message has a title.http or https address the title links to, such as a share link.Produces: messageId.
- Works in
- Library and intake workflows
- Changes
- Something outside Tessra
- Needs
- A notification connection, such as a Discord webhook
- Sends out
- Text
- Retries
- Not retried once it started sending; the run asks you
- Time limit
- 1 minute per attempt
Send webhook
Sends JSON or a file to the address of a webhook connection. The address and headers stay in the connection, so they never appear in the workflow. Every request carries Tessra-Delivery and Tessra-Attempt headers. Whatever the method, it counts as an outside change: automatic retries after an unclear failure happen only when the connection's receiver ignores repeated deliveries. Set it up in the larger editor.
/files. Up to 500 characters.Authorization, Cookie, Tessra- headers or headers the transport sets.Produces: status (the HTTP status), response (the response, parsed when it says it's JSON, up to 16 KiB) and deliveryId (the Tessra-Delivery value).
- Works in
- Library and intake workflows
- Changes
- Something outside Tessra
- Needs
- A webhook connection
- Sends out
- File details and values you choose
- Retries
- Retried only when the receiver ignores repeated deliveries
- Time limit
- 1 minute per attempt
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. The inspector shows a summary; Configure step opens the larger editor with the content and Save as first, then Destination, Tags, Fields, Attachments and Sharing.
Destination
{{ trigger.content.receivedAt | date: 'yyyy-MM' }}.Tags, fields, attachments and sharing
Produces: file (the saved file), shareUrl (only when a share link was created).
- Works in
- Library and intake workflows
- Changes
- Your library
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
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.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Strip metadata
Removes EXIF, location and other metadata from an image, turning it upright first.
Produces: content.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Auto-crop
Trims a solid border, such as the empty space around a screenshot. The border color is taken from the top-left pixel.
Produces: content.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Resize
Scales an image to fit within a width and height, keeping its proportions. Set at least one of the two.
Produces: content.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Convert image
Saves an image as PNG, JPEG or WebP. The name's extension changes to match.
Produces: content.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Compress image
Makes an image smaller in the same format. Keeps the input when compressing doesn't help.
Produces: content.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
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.
Produces: one value per name.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Set field
Sets one of your fields on the file. The value is converted to the field's type where it reads as one (the text 42 for a number field), and the step fails with field_value_invalid when it doesn't.
field_already_set.Produces: value (the field's value afterwards) and written (whether this step changed it).
- Works in
- Library and intake workflows
- Changes
- Your library
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Add attachment
Stores text with the file as an attachment. Text and Markdown attachments are searchable.
Produces: attachment.
- Works in
- Library and intake workflows
- Changes
- Your library
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Flow
Wait
Pauses the run for a while or until a time. A waiting run holds nothing, even across restarts.
PT10M or P1D.- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
Stop
Ends the run here and skips the remaining steps.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Retries
- Up to 3 attempts
- Time limit
- 2 minutes per attempt
AI
AI classify
Chooses the best matching category for an image or text, through an AI connection. Settings and examples: AI classify and extract.
Produces: category, label, matched, confidence, reason, ai.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Needs
- An AI connection
- Sends out
- The file's content
- Cost
- The provider may charge for each request
- Retries
- Up to 3 attempts
- Time limit
- 8 minutes per attempt
AI extract
Reads typed values, such as a receipt's total and date, from an image or text. Values it can't find stay empty and are listed in missing; nothing is guessed. Settings and examples: AI classify and extract.
Produces: one output per value, missing, ai.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Needs
- An AI connection
- Sends out
- The file's content
- Cost
- The provider may charge for each request
- Retries
- Up to 3 attempts
- Time limit
- 8 minutes per attempt
AI detect
Answers a yes-or-no question about an image or text, and continues on Yes, No or Unsure. Answers less certain than Minimum confidence take Unsure. Settings and examples: AI detect and suggest tags.
Produces: answer, confidence, probability, reason, ai.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Needs
- An AI connection
- Sends out
- The file's content
- Cost
- The provider may charge for each request
- Retries
- Up to 3 attempts
- Time limit
- 8 minutes per attempt
AI suggest tags
Picks fitting tags from yours for an image or text, and can suggest new ones when none fit. It never creates tags: give its outputs to Add tags. Settings and examples: AI detect and suggest tags.
Produces: tags, tagNames, newTags, matched, probabilities, ai.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Needs
- An AI connection
- Sends out
- The file's content
- Cost
- The provider may charge for each request
- Retries
- Up to 3 attempts
- Time limit
- 8 minutes per attempt
AI describe image
Writes a description or alt text for an image. Settings: AI describe, summarize and write.
Produces: description, ai.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Needs
- An AI connection
- Sends out
- The file's content
- Cost
- The provider may charge for each request
- Retries
- Up to 3 attempts
- Time limit
- 8 minutes per attempt
AI summarize
Summarizes text or an image in a sentence, a paragraph or bullet points. Settings: AI describe, summarize and write.
Produces: summary, ai.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Needs
- An AI connection
- Sends out
- The file's content
- Cost
- The provider may charge for each request
- Retries
- Up to 3 attempts
- Time limit
- 8 minutes per attempt
AI generate text
Writes what you ask for, optionally about a text or an image. Settings: AI describe, summarize and write.
Produces: text, ai.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Needs
- An AI connection
- Sends out
- The file's content
- Cost
- The provider may charge for each request
- Retries
- Up to 3 attempts
- Time limit
- 8 minutes per attempt
OCR
Extract text
Reads the text in an image through an OCR connection, with a preset for screenshots, documents or sparse text. Continues on Next with the text, or on No text found when the image has none. Settings and outputs: Text recognition.
Produces: text, preview, hasText, confidence, words, ocr.
- Works in
- Library and intake workflows
- Changes
- Nothing; it only produces values
- Needs
- A connection
- Sends out
- The file's content
- Retries
- Up to 3 attempts
- Time limit
- 5 minutes per attempt
Coming later
Triggers for File ready and Moved into folder, and schedules.