> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nika.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# workflow

> Contract, placement, related fields and source examples for this Nika YAML field.

[Language reference](https://docs.nika.sh/reference/language/overview.md) / `workflow`

## Meaning and placement

### invoke

Compose another workflow (spec 14) · a STATIC target: a filesystem path OR registry:owner/name\@version (pinned). A templated target is refused at check (NIKA-COMP-001). Exactly one of tool: | workflow: (the invoke tagged union · G21).

| Property | Declaration |
| - | - |
| Requirement | Optional in this object |
| Schema location | `/$defs/invoke/properties/workflow` |
| type | `"string"` |

**In the same object:** [args](https://docs.nika.sh/reference/language/words/args.md) · [tool](https://docs.nika.sh/reference/language/words/tool.md)

[Schema source (use the pointer above)](https://github.com/supernovae-st/nika-spec/blob/4e259e5b8012fcdf92f094142a52dfef24099b85/schemas/workflow.schema.json)

The released 0.124.3 engine runs filesystem children only: a `registry:owner/name@version` target is refused at check (`NIKA-COMP-001`), and a first fetch of a registry coordinate is refused as well (`NIKA-REG-005`). Use the workflow file from the registry repository by path. See [Known limits](https://docs.nika.sh/changelog/known-limits.md#registry-coordinates-are-refused).

## Examples

No matching source-template occurrence is recorded in this projection. [Write a workflow](https://docs.nika.sh/guides/templates.md) or consult the schema declaration above.

## Contract and implementation

This page projects the named specification revision. Check [released engine status](https://docs.nika.sh/reference/status.md) and [the validation workflow](https://docs.nika.sh/guides/agent-authoring.md) before running a file. An optional field is not evidence that every engine supports every value.

Canonical identity: `language:word:workflow`. Spec revision: [`4e259e5b8012`](https://github.com/supernovae-st/nika-spec/tree/4e259e5b8012fcdf92f094142a52dfef24099b85).

[How documentation stays connected](https://docs.nika.sh/reference/knowledge-system.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.