ZelaxyDocs
Core Blocks

Core Blocks

The fundamental building blocks of every Zelaxy workflow

Core Blocks

Core blocks are the fundamental processing units in Zelaxy. They handle AI reasoning, control flow, data transformation, and workflow orchestration. Every workflow uses at least a Starter block and typically an Agent block.

Block Categories

AI & Reasoning

BlockDescriptionUse When
AgentMulti-provider LLM with tool callingYou need AI reasoning, generation, or analysis
ThinkingForces step-by-step reasoningYou want to improve an agent's chain-of-thought
EvaluatorScore and assess content qualityYou need to rate, rank, or evaluate outputs
TranslateMulti-language translationYou need to convert text between languages

Control Flow

BlockDescriptionUse When
ConditionBoolean or LLM-based branchingYou need IF/ELSE logic in your workflow
RouterMulti-path routing (up to 4 paths)You need to route to 3+ different paths
LoopIterate over arrays or repeat N timesYou need to process items one by one
ParallelRun multiple blocks simultaneouslyYou need to run independent tasks concurrently

Data & I/O

BlockDescriptionUse When
StarterWorkflow entry pointEvery workflow needs one as the first block
ResponseReturn final outputYou want to display or return the workflow result
FunctionExecute custom JavaScript/TypeScriptYou need custom data transformation logic
APIMake HTTP requests to any APIYou need to call an external REST API

Knowledge & Memory

BlockDescriptionUse When
KnowledgeVector search across documentsYou need RAG (retrieval-augmented generation)
MemoryPersistent data storageYou need to store/retrieve data across runs

Safety & Quality

BlockDescriptionUse When
GuardrailsValidate content (JSON, regex, PII, hallucination)You need to check output quality or safety

Media & Files

BlockDescriptionUse When
Image GeneratorGenerate images with DALL-E 3 / GPT ImageYou need to create images from text prompts
VisionAnalyze images with vision modelsYou need to extract information from images
FileParse PDF, CSV, DOCX filesYou need to read and extract file contents

Orchestration

BlockDescriptionUse When
WorkflowExecute another workflow as a sub-workflowYou want to reuse workflows as building blocks

How Blocks Connect

Every block has inputs and outputs. You reference outputs using the {{blockName.fieldName}} syntax:

Starter → Agent → Condition

   {{starter.input}}    →  Agent processes it
                          {{agent.content}}  →  Condition evaluates it

Blocks auto-detect connections when you draw lines between them on the canvas.