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.

Back to Catalog
Core Blocksrouter

Block Preview

Router

Route workflow

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Configure any required credentials or tokens in the inputs.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the router block with monitoring enabled in production.

Inputs (UI)

Prompt

long-input

Placeholder: Route to the correct block based on the input...

Layout: full

Model

dropdown

Layout: half

Options: Dynamic options

API Key

short-input

Placeholder: Enter your API key

Layout: full

System Prompt

code

Layout: full

Hidden by default

Inputs (API)

prompt

string

Required

model

string

Required

apiKey

string

Required

Outputs

Primary response type:

{
  "content": "string",
  "model": "string",
  "tokens": "json",
  "selectedPath": "json"
}

Tool Access

openai_chatanthropic_chatgoogle_chatxai_chatdeepseek_chatdeepseek_reasoner
Router | NowFlow Blocks