Workflow Element Types
This page is a broad inventory. Some elements are project- or installation-dependent and may not be available in every Brezel version. For practical examples, see Authoring Workflows.
| Type | Description |
|---|---|
action/buildSite | Builds static site output through a configured site builder. |
action/buildStaticSite | Builds static site output in older workflow configurations. |
action/convert | Converts input data or rendered output to another format. |
action/delete | Deletes the input resource or resources. |
action/downloadFile | Sends a file download response to the client. |
action/export | Exports resources and stores the generated file. |
action/flushSession | Clears workflow or request session data. |
action/log | Logs input data for debugging or operational tracing. |
action/mail | Sends email. |
action/modal | Opens a modal and returns confirmed data to the workflow. |
action/notify | Sends user feedback such as toast, mail, or SMS-style notifications. |
action/oauth | Performs an OAuth-related action. |
action/putSession | Stores data in the session. |
action/redirect | Redirects the client to another module or resource view. |
action/refresh | Refreshes the current client page. |
action/removeRole | Removes a role from a user. |
action/resetPassword | Starts or performs a password reset action. |
action/response | Sends the input as a raw response to the client. |
action/rsync | Synchronizes files through rsync where configured. |
action/run | Runs another workflow synchronously or asynchronously. |
action/save | Saves the input resource or resources. |
action/set | Tells the client to set field values, options, or visibility. |
action/setRole | Sets a user role. |
action/viewFile | Shows a file response in the client. |
api/check | Performs an API health or status check where configured. |
api/http | Sends an HTTP request. |
api/imap | Connects to IMAP and filters mail. |
api/token | Requests or manages API token data. |
api/upload | Uploads data to an external endpoint. |
cast/progress | Sends or updates progress notifications. |
cast/set | Sends live client field updates over the cast channel. |
event/create | Fires when a resource is created. |
event/cron | Fires from a cron schedule. |
event/delete | Fires when a resource is deleted. |
event/on_change | Fires when a frontend field changes. |
event/on_click | Fires from a frontend click event. |
event/on_create_tab_loaded | Fires when fields in a create tab are available. |
event/on_item_delete | Fires when an item is removed in the frontend. |
event/on_load | Fires when a view or field loads. |
event/on_show | Fires when a resource or UI section is shown. |
event/on_sync | Fires when a frontend field initializes or changes. |
event/options | Provides dynamic options for fields. |
event/policy | Applies policy logic for one or more operations. |
event/policyDelete | Applies delete-specific policy logic. |
event/policyRead | Applies read-specific policy logic. |
event/policyUpdate | Applies update-specific policy logic. |
event/OCRReady | Fires when OCR data for a file is ready. |
event/update | Fires when a resource is updated. |
event/webhook | Exposes a callable workflow event, often for UI buttons. |
flow/each | Iterates over input items. |
flow/empty | Branches when input is empty. |
flow/hasRoles | Branches by current user roles. |
flow/if | Branches by a condition. |
flow/try | Handles try/error style control flow where supported. |
op/addItem | Adds an item to an object or collection. |
op/addListItem | Creates an empty list item that can be filled by op/set. |
op/addListItems | Adds multiple list items. |
op/base64 | Encodes or decodes Base64 data. |
op/count | Counts items. |
op/diff | Calculates differences between values. |
op/except | Removes fields or values from data. |
op/exist | Checks whether data exists. |
op/filter | Filters input data. |
op/first | Selects the first item. |
op/flatten | Flattens nested arrays. |
op/get | Gets a value from input data. |
op/groupBy | Groups items by a key. |
op/hide | Hides client fields or UI state where supported. |
op/join | Joins values. |
op/load | Loads related data into the context. |
op/merge | Merges objects or arrays. |
op/mergeFiles | Merges files. |
op/nop | Does nothing; useful for naming a point in the graph or setting variables. |
op/pluck | Extracts a field from each item. |
op/push | Pushes a new item into an array. |
op/recipe | Outputs a calculated value. See Recipes. |
op/selector | Selects part of the input by selector. |
op/set | Sets data inside a workflow object. |
op/sort | Sorts items. |
op/strReplace | Replaces text in strings. |
op/unique | Returns an array without duplicate values. |
query/relations | Adds relation query behavior. |
query/resources | Adds resource query behavior. |
query/where | Adds a query where constraint. |
source/chunkedEntities | Loads entities in chunks. |
source/entities | Loads entities from a module. |
source/file | Loads a file resource. |
source/getSession | Reads session data. |
source/new | Creates a fresh unsaved resource. |
source/readFile | Reads file contents. |
source/renderView | Renders a view with data. |
source/resources | Loads resources. |
source/user | Loads the current user with roles and relations. |