Starts another blueprint by key. Useful for breaking logic into smaller, reusable parts.Documentation Index
Fetch the complete documentation index at: https://dev.writer.com/llms.txt
Use this file to discover all available pages before exploring further.

Overview
The Run blueprint block allows you to call another blueprint from within your current workflow. This enables modular, reusable logic and lets you break complex workflows into smaller, manageable pieces. You can specify the blueprint to run and pass input parameters. The output of the called blueprint is available for use in subsequent blocks.Common use cases
- Reusing logic across multiple workflows
- Breaking up large blueprints into smaller, maintainable components
- Creating shared utility blueprints
- Running conditional or dynamic workflows
How it works
- Blueprint Key: Select the blueprint to run by its key. The blueprint must have a key set in its settings. If the blueprint doesn’t have a key, it does not show in the list of available blueprints.
- Payload: Provide input data as text that will be available as
@{payload}in the called blueprint. The payload is treated as plain text.
Examples
Document processing workflow
This example demonstrates a document processing system that handles different file types using specialized blueprints. Blueprint Flow:- UI Trigger → User uploads document through file input
- Classification → Identifies document type (invoice, resume, or contract)
- Conditional routing → Routes to appropriate processing blueprint
- Run blueprint → Executes specialized document processor
- Set state → Stores the processing result to display in the UI
- Blueprint Key:
invoice_processor - Payload:
@{file_data}
invoice_processor blueprint, you can access the passed data using @{payload}. Then you can return a value from the blueprint using the Return value block.

Fields
| Name | Type | Control | Default | Description | Options | Validation |
|---|---|---|---|---|---|---|
| Blueprint Key | Blueprint Key | - | - | - | - | Format: writer#blueprintKey |
| Payload | Text | Textarea | The value specified will be available using the template syntax, e.g. @. | - | - |
End states
Below are the possible end states of the block call.| Name | Field | Type | Description |
|---|---|---|---|
| Success | - | success | The request was successful. |
| Error | - | error | The blueprint execution failed. |
@{result}.