Skip to content

Workflow action elements — part 3

Generated from brezel/api@ddd04f543e0fecc433a351dcaab24d39087b24be — do not edit by hand.

Sends multiple kinds of notification. Notifications are via the websocket connection. Toasts can be only send once per workflow run and only from sync workflows as they are based on the HTTP response. For Emails, use action/mail.

Input ports: default (any; Input).

Output ports: default (any; Output), mailSuccessful (any; mailSuccessful), mailFailed (string; mailFailed), action (any; Action).

OptionTypeDefaultRequiredDescription
notificationgroupnullnot declaredNotification Center
notification.recipientsrecipesnullnot declaredUsers to send the notification to.
notification.titletextnullnot declaredTitle of the notification.
notification.messagetextnullnot declaredMessage of the notification.
notification.entityrecipesnullnot declaredEntity attachment of the notification.
notification.typeselectnullnot declaredType of the notification (default: info) Values: info, warning, error.
notification.icontextnullnot declaredURL or path to a file entity (file will be publicly accessible after this)
notification.icon-colortextnullnot declaredIcon Color
notification.imagetextnullnot declaredURL or path to a file entity (file will be publicly accessible after this)
notification.actionstextnullnot declaredList of actions
toastgroupnullnot declaredToast
toast.messagetextnullnot declaredTitle of the Notification.
toast.descriptiontextnullnot declaredMessage in the Notification.
toast.typeselectinfonot declaredNotification Type. Values: info, success, warning, error.
toast.durationnumber4.5not declaredDuration until close of Notification in Seconds. If zero it will not close by itself.
mailgroupnullnot declaredMail
mail.totextnullnot declaredWhere to send the email to.
mail.cctextnullnot declaredWho should receive a copy of the email.
mail.bcctextnullnot declaredWho should receive a blind copy of the email.
mail.fromtextnullnot declaredDisplayed sender of the email.
mail.subjecttextnullnot declaredSubject of the email.
mail.attachmentstextnullnot declaredWorkflow variable pointing to attachment(s).
smsgroupnullnot declaredSMS
sms.toworkflow-expressionnullnot declaredNumber to send the SMS to.
sms.fromworkflow-expressionnullnot declaredSender ID to send the number from.
sms.bodyworkflow-expressionnullnot declaredMessage of the SMS.

Starts an OAuth authentication process if no token for the current user, consumer and provider was found, by sending an OAuth initiation response to the client with a checkpoint. If a token is found and not expired, the “token” port is fired with the access token string. If the token is found, but expired, this element tries to fetch a new access token using the stored refresh token.

Input ports: default (any; Input), user (resource; User).

Output ports: token (any; Token), unauthenticated (any; Unauthenticated), error (any; Error).

OptionTypeDefaultRequiredDescription
providerselectnullyes (requireOption)Provider Values: youtube, custom.
consumertextnullnot declaredChoose a consumer identifier for this OAuth process. Used to store and retrieve the correct tokens.
configrecipes[]not declaredConfig
sendsCheckpointbooltruenot declaredIf true, a checkpoint is appended to the return URL after the user returns from OAuth, and this workflow continues if the checkpoint is called at a later time. ( Recommended for Brezel SPA ) If false, the workflow continues immediately after returning from the OAuth provider with a valid token. This option only applies if OAuth needs to authenticate.
token_url_request_typeselectformnot declaredoAuth RFC (rfc6749) defines that the endpoint body MAY need to be of type application/x-www-form-urlencoded . Values: json, form.

Processes a multi-page PDF into separate JPEG images, one per page.

Input ports: default (any; PDF).

Output ports: each (any; Each), count (any; Count), next (any; End).

OptionTypeDefaultRequiredDescription
is_countrecipesnullnot declaredisCount
page_norecipesnullnot declaredpageNo
store_pagesboolnullnot declaredstorePages
output_pathrecipesnullnot declaredoutputPath

No help text declared in the source catalog.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
printer_namerecipesnullnot declaredThe name of the printer as available on the server and seen using ‘lpstat -p’
paper_slotrecipesnullnot declaredPaper input to use. As seen in ‘lpoptions -p -l’ as one of the listed ‘InputSlot/Media Source’. E.g. ‘MF1’

Process File

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
asyncbooltruenot declaredAsync

Overwrite the contents of a stored brezel file with some new contents.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
contentstextnullnot declaredcontents

Put a secret into the secret store. Can be scoped to Entity, current User or Client.

Input ports: default (any; Input), entity (resource; Entity).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
keytextnullnot declaredKey
valuetextnullnot declaredValue
scopeselectnullnot declaredScope this secret to the current user, client or input entity Values: entity, user, client.

Save a key/value pair to the workflow session.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
keytextnullnot declaredKey
valuetextnullnot declaredValue

Recalculate recipes of the input entity.

Input ports: default (resource; Input).

Output ports: default (resource; Output).

Options: none.