Skip to content

Workflow action elements — part 1

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

Aborts processes that were started by e.g. WorkflowActionBuildSite.

Input ports: default (any; Input).

Output ports: default (any; Output), event (any; Event), error (any; Error).

OptionTypeDefaultRequiredDescription
deployerselectpage-depotnot declaredDeployer Values: page-depot.
identifiertextnullnot declaredSite identifier

Triggers the build of a site using a site builder.

Input ports: default (any; Input).

Output ports: default (any; Output), event (any; Event), error (any; Error).

OptionTypeDefaultRequiredDescription
builderselectpage-depotnot declaredBuilder Values: page-depot.
identifiertextnullnot declaredIdentifier
clientrecipesnullnot declaredClient

Triggers the build of a static site using Hugo.

Input ports: default (any; Input).

Output ports: default (any; Output), success (any; success), error (any; error).

OptionTypeDefaultRequiredDescription
titletextnullnot declaredTitle
baseURLtextnullnot declaredBase URL
envtextlocalnot declaredEnvironment
themetextnullnot declaredTheme
languageCodetexten-usnot declaredLanguage code
summaryLengthtext5not declaredSummary length
enableRobotsTXTbooltruenot declaredEnable robots.txt

Send events to a site deployer like page-depot.

Input ports: default (any; Input).

Output ports: default (any; Output), event (any; Event), error (any; Error).

OptionTypeDefaultRequiredDescription
deployerselectpage-depotnot declaredDeployer Values: page-depot.
identifiertextnullnot declaredSite identifier
serviceAccountKeytextnullnot declaredThe service account key to use. It will be used by the caller to authenticate with the service and trigger webhooks.
eventtextnullnot declaredEvent
payloadrecipes[]not declaredPayload

Cancels the plan subscriptions of the incoming entities right away (Buyable), optionally refunding the unused part of the current period. Stripe reports the end afterwards, which fires subscriptionDeactivated as usual.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
refundboolfalsenot declaredRefund unused time

Adds a comment to the history of an entity.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
commenttextnullnot declaredComment

Use the export service to convert files using pandoc.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
valuerecipesnullnot declaredContent
fileboolfalsenot declaredFile
parseboolfalsenot declaredParse
fromselecthtmlnot declaredFrom Values: html, latex.
toselectpdfnot declaredTo Values: latex, pdf, docx.
filenametextnullnot declaredFilename
assetstextnullnot declaredAssets

Delete an entity. Behavior for File directories: - default: soft-delete the directory subtree in the DB and leave the filesystem untouched. - with `delete_file=true`: only delete files or empty directories from disk; non-empty directories are not recursively wiped from disk. - with `delete_file=true` and `force_delete=true`: recursively remove the whole directory subtree from both disk and DB.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
delete_fileboolfalsenot declaredIf any File entities where passed and this is enabled, the actual files on disk will be deleted as well! This is irreversible if no FILE backups of the /storage/ directory exist!
force_deleteboolfalsenot declaredThis will bypass soft deletes and forcefully HARD-DELETE the Entity from the DB. This is NOT reversible, the data will be gone without a backup. If used together with ‘Delete files on disk’ on a directory, the whole directory including all children will be removed HARD from both disk and DB. Use with caution!

Deploy a site with a deployer like page-depot.

Input ports: default (any; Input).

Output ports: default (any; Output), event (any; Event), error (any; Error).

OptionTypeDefaultRequiredDescription
deployerselectpage-depotnot declaredDeployer Values: page-depot.
hostnamestextnullnot declaredHostnames
serviceAccountKeytextnullnot declaredThe API key that will be used by the deployer to authenticate with the service and trigger webhooks.

Causes the file to be downloaded on the client.

Input ports: default (any; Input).

Output ports: default (any; Output).

Options: none.

Download the raw files needed from a site deployer like page-depot.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
deployerselectpage-depotnot declaredDeployer Values: page-depot.
identifiertextnullnot declaredSite identifier
store_modulemodulefilesnot declaredStore Module
filenametextSite-download.zipnot declaredFile Name