Blocks
Router
Route workflow
Intelligently direct workflow execution to different paths based on input analysis. Use AI to determine the most appropriate next step in your workflow based on content, intent, or specific criteria.
Core Blocksrouter
Block Preview
Router
Route workflow
Usage
- Add the block to your workflow and connect it to the upstream step.
- Configure any required credentials or tokens in the inputs.
- Fill in required inputs and optional parameters for the run.
- Run a test execution, inspect outputs, and iterate before deploying.
- Deploy the router block with monitoring enabled in production.
Inputs (UI)
Prompt
long-inputPlaceholder: Route to the correct block based on the input...
Layout: full
Model
dropdownLayout: half
Options: Dynamic options
API Key
short-inputPlaceholder: Enter your API key
Layout: full
System Prompt
codeLayout: full
Hidden by default
Inputs (API)
prompt
stringRequired
model
stringRequired
apiKey
stringRequired
Outputs
Primary response type:
{
"content": "string",
"model": "string",
"tokens": "json",
"selectedPath": "json"
}Tool Access
openai_chatanthropic_chatgoogle_chatxai_chatdeepseek_chatdeepseek_reasoner