Skip to content

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.

TypeDescription
action/buildSiteBuilds static site output through a configured site builder.
action/buildStaticSiteBuilds static site output in older workflow configurations.
action/convertConverts input data or rendered output to another format.
action/deleteDeletes the input resource or resources.
action/downloadFileSends a file download response to the client.
action/exportExports resources and stores the generated file.
action/flushSessionClears workflow or request session data.
action/logLogs input data for debugging or operational tracing.
action/mailSends email.
action/modalOpens a modal and returns confirmed data to the workflow.
action/notifySends user feedback such as toast, mail, or SMS-style notifications.
action/oauthPerforms an OAuth-related action.
action/putSessionStores data in the session.
action/redirectRedirects the client to another module or resource view.
action/refreshRefreshes the current client page.
action/removeRoleRemoves a role from a user.
action/resetPasswordStarts or performs a password reset action.
action/responseSends the input as a raw response to the client.
action/rsyncSynchronizes files through rsync where configured.
action/runRuns another workflow synchronously or asynchronously.
action/saveSaves the input resource or resources.
action/setTells the client to set field values, options, or visibility.
action/setRoleSets a user role.
action/viewFileShows a file response in the client.
api/checkPerforms an API health or status check where configured.
api/httpSends an HTTP request.
api/imapConnects to IMAP and filters mail.
api/tokenRequests or manages API token data.
api/uploadUploads data to an external endpoint.
cast/progressSends or updates progress notifications.
cast/setSends live client field updates over the cast channel.
event/createFires when a resource is created.
event/cronFires from a cron schedule.
event/deleteFires when a resource is deleted.
event/on_changeFires when a frontend field changes.
event/on_clickFires from a frontend click event.
event/on_create_tab_loadedFires when fields in a create tab are available.
event/on_item_deleteFires when an item is removed in the frontend.
event/on_loadFires when a view or field loads.
event/on_showFires when a resource or UI section is shown.
event/on_syncFires when a frontend field initializes or changes.
event/optionsProvides dynamic options for fields.
event/policyApplies policy logic for one or more operations.
event/policyDeleteApplies delete-specific policy logic.
event/policyReadApplies read-specific policy logic.
event/policyUpdateApplies update-specific policy logic.
event/OCRReadyFires when OCR data for a file is ready.
event/updateFires when a resource is updated.
event/webhookExposes a callable workflow event, often for UI buttons.
flow/eachIterates over input items.
flow/emptyBranches when input is empty.
flow/hasRolesBranches by current user roles.
flow/ifBranches by a condition.
flow/tryHandles try/error style control flow where supported.
op/addItemAdds an item to an object or collection.
op/addListItemCreates an empty list item that can be filled by op/set.
op/addListItemsAdds multiple list items.
op/base64Encodes or decodes Base64 data.
op/countCounts items.
op/diffCalculates differences between values.
op/exceptRemoves fields or values from data.
op/existChecks whether data exists.
op/filterFilters input data.
op/firstSelects the first item.
op/flattenFlattens nested arrays.
op/getGets a value from input data.
op/groupByGroups items by a key.
op/hideHides client fields or UI state where supported.
op/joinJoins values.
op/loadLoads related data into the context.
op/mergeMerges objects or arrays.
op/mergeFilesMerges files.
op/nopDoes nothing; useful for naming a point in the graph or setting variables.
op/pluckExtracts a field from each item.
op/pushPushes a new item into an array.
op/recipeOutputs a calculated value. See Recipes.
op/selectorSelects part of the input by selector.
op/setSets data inside a workflow object.
op/sortSorts items.
op/strReplaceReplaces text in strings.
op/uniqueReturns an array without duplicate values.
query/relationsAdds relation query behavior.
query/resourcesAdds resource query behavior.
query/whereAdds a query where constraint.
source/chunkedEntitiesLoads entities in chunks.
source/entitiesLoads entities from a module.
source/fileLoads a file resource.
source/getSessionReads session data.
source/newCreates a fresh unsaved resource.
source/readFileReads file contents.
source/renderViewRenders a view with data.
source/resourcesLoads resources.
source/userLoads the current user with roles and relations.