Blocks
Building blocks for your agentic workflows
Blocks are the fundamental building components of Sim Studio workflows. Each block has a specific purpose and can be connected to other blocks to create sophisticated workflows.
What is a Block?
A block is a reusable, configurable component that performs a specific function within your workflow. Blocks have inputs and outputs that allow them to communicate with other blocks. They can process data, make decisions, interact with external systems, or perform computations.
Primary Block Types
Sim Studio provides six powerful block types that form the foundation of any workflow. Each block is designed to handle specific aspects of your agentic applications, from AI-powered reasoning to conditional logic and external integrations.
Create powerful AI agents using any LLM provider with customizable system prompts and tool integrations.
Connect to any external API with support for all standard HTTP methods and customizable request parameters.
Add a condition to the workflow to branch the execution path based on a boolean expression.
Execute custom JavaScript or TypeScript code within your workflow to transform data or implement complex logic.
Intelligently direct workflow execution to different paths based on input analysis.
Assess content using customizable evaluation metrics and scoring criteria across multiple dimensions.
Block Connections
Blocks can be connected to form a directed graph representing your workflow. Each connection represents the flow of data from one block to another:
Outputs to Inputs: A block's outputs can be connected to another block's inputs.
Multiple Connections: A block can have multiple incoming and outgoing connections.
Conditional Flows: Some blocks (like Router and Condition) can have multiple output paths based on conditions.
Block Configuration
Each block type has its own configuration options allowing you to customize its behavior.
Common Configuration Options
- Input/output definitions: Define how data flows in and out of the block
- Processing instructions: Configure how the block processes its inputs
- API keys or authentication details: Provide necessary credentials for external services
- Retry policies: Configure how the block handles failures
- Error handling behavior: Define how errors are managed and reported
See the specific documentation for each block type to learn about its configuration options.