Home

Workflow

This is a type used in Stencila Schema for reusable AI workflow definitions.

It exists to represent a workflow as a document-like artifact with metadata, human-readable guidance, and a machine-executable pipeline defined in Graphviz DOT. Workflows are discovered from .stencila/workflows/<name>/WORKFLOW.md and can reference agents by name, allowing shared workflow structures to be combined with workspace or user-level agent definitions.

Key properties include name, content, pipeline, goal, goalHint, and overrides.

Properties

The Workflow type has these properties:

NameDescriptionTypeInherited from
nameThe name of the workflow.String-
whenToUsePositive selection signals describing when this workflow should be used.String*-
whenNotToUseNegative selection signals describing when this workflow should not be used.String*-
frontmatterFrontmatter containing workflow metadata.String-
contentThe content of the workflow (Markdown body containing the DOT pipeline and documentation).Block*-
pipelineThe raw DOT source defining the pipeline digraph.String-
goalA fixed, predetermined high-level goal for the pipeline.String-
goalHintHint text displayed in user interfaces to guide the user to provide a specific goal.String-
overridesCSS-like rules for per-node agent overrides across the pipeline.String-
defaultMaxRetryGlobal retry ceiling for nodes that omit max_retries.Integer-
retryTargetNode ID to jump to if exit is reached with unsatisfied goal gates.String-
fallbackRetryTargetSecondary jump target if retryTarget is missing or invalid.String-
defaultFidelityDefault context fidelity mode for LLM sessions.String-
workTypeThe type of CreativeWork (e.g. article, book, software application).CreativeWorkTypeCreativeWork
doiThe work's Digital Object Identifier (https://doi.org/).StringCreativeWork
aboutThe subject matter of the content.ThingVariant*CreativeWork
abstractA short description that summarizes a CreativeWork.Block*CreativeWork
authorsThe authors of the CreativeWork.Author*CreativeWork
provenanceA summary of the provenance of the content within the work.ProvenanceCount*CreativeWork
contributorsA secondary contributor to the CreativeWork.Author*CreativeWork
editorsPeople who edited the CreativeWork.Person*CreativeWork
maintainersThe maintainers of the CreativeWork.(Person | Organization)*CreativeWork
commentsComments about this creative work.Comment*CreativeWork
dateCreatedDate/time of creation.DateTimeCreativeWork
dateReceivedDate/time that work was received.DateTimeCreativeWork
dateAcceptedDate/time of acceptance.DateTimeCreativeWork
dateModifiedDate/time of most recent modification.DateTimeCreativeWork
datePublishedDate of first publication.DateTimeCreativeWork
fundersPeople or organizations that funded the CreativeWork.(Person | Organization)*CreativeWork
fundedByGrants that funded the CreativeWork; reverse of fundedItems.(Grant | MonetaryGrant)*CreativeWork
genreGenre of the creative work, broadcast channel or group.String*CreativeWork
keywordsKeywords or tags used to describe this content. Multiple entries in a keywords list are typically delimited by commas.String*CreativeWork
isPartOfAn item or other CreativeWork that this CreativeWork is a part of.CreativeWorkVariantCreativeWork
licensesLicense documents that applies to this content, typically indicated by URL, but may be a CreativeWork itself.(CreativeWorkVariant | String)*CreativeWork
partsElements of the collection which can be a variety of different elements, such as Articles, Datatables, Tables and more.CreativeWorkVariant*CreativeWork
publisherA publisher of the CreativeWork.Person | OrganizationCreativeWork
bibliographyA bibliography of references which may be cited in the work.BibliographyCreativeWork
referencesReferences to other creative works, such as another publication, web page, scholarly article, etc.Reference*CreativeWork
textThe textual content of this creative work.TextCreativeWork
titleThe title of the creative work.Inline*CreativeWork
repositoryURL of the repository where the un-compiled, human readable source of the work is located.StringCreativeWork
pathThe file system path of the source of the work.StringCreativeWork
commitThe commit hash (or similar) of the source of the work.StringCreativeWork
versionThe version of the creative work.String | NumberCreativeWork
alternateNamesAlternate names (aliases) for the item.String*Thing
descriptionA description of the item.StringThing
identifiersAny kind of identifier for any kind of Thing.(PropertyValue | String)*Thing
imagesImages of the item.ImageObject*Thing
urlThe URL of the item.StringThing
idThe identifier for this item.StringEntity

Related

The Workflow type is related to these types:

Bindings

The Workflow type is represented in:


This documentation was generated from Workflow.yaml by docs_types.rs.

© 2026 Stencila