EdgazeDocsEdgaze Docs
BuilderBilling & RunsAPI ReferenceMCPLegal & TrustChangelog
DocumentationAPI Reference
Home
Core
Ask for InputResultMerge
AI
Generate TextGenerate Image
Logic & utilities
Call an APIGet ContentDecideWaitRepeatRemixed Workflow
Integrations
AviatoGitHubGmailGoogle CalendarGoogle DocsGoogle DriveGoogle SheetsProspeoSlack
More blocks
CalculateMake Spreadsheet

Platform status

Checking platform status
Theme
Block reference

Decide

Branch using deterministic operators or an explicit AI rule.

Audience

Workflow creators.

Overview#

Branch using deterministic operators or an explicit AI rule.

Use this block when its responsibility is clear in the graph. Give it a name that describes the work it performs, then test it with representative input before publishing.

Working examples#

These are complete starting points, not decorative diagrams. Every graph is also available in the main template library and is checked by the workflow compiler.

1. Route urgent support cases#

You will build: Urgent cases separated from normal review.

Uses an explicit branch instead of burying routing in a prompt. A deterministic equality check is stable across runs.

Route urgent support cases
Urgent cases separated from normal review
Use template
Press enter or space to select a node. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

Open this template and adapt the labels, prompts, or credentials to your own workflow.

2. Require approval for high spend#

You will build: High-spend requests routed for approval.

Makes the control visible in the graph. A numeric greater-than rule is auditable and model-free.

Require approval for high spend
High-spend requests routed for approval
Use template
Press enter or space to select a node. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

Open this template and adapt the labels, prompts, or credentials to your own workflow.

3. Check publication readiness#

You will build: Ready work separated from incomplete work.

Stops incomplete content before publication steps. The false branch remains visible instead of silently dropping work.

Check publication readiness
Ready work separated from incomplete work
Use template
Press enter or space to select a node. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

Open this template and adapt the labels, prompts, or credentials to your own workflow.

Ports#

  • Input: Value (input): any, required, single.
  • Output: True Branch (true): any, optional, single.
  • Output: False Branch (false): any, optional, single.

Inspector#

  • AI Rule (optional): key humanCondition; textarea; default: "".
  • Condition Type: key operator; select; options: truthy, falsy, equals, notEquals, gt, lt; default: "truthy".
  • Compare Value: key compareValue; text; default: "".
  • condition editor: manages operator, compareValue, humanCondition with edit, validate, preview support.

Behavior#

  • Input requirement: Required input ports: input.
  • Execution: Handled by the handler using condition.
  • Timeout: No node-level timeout is defined.

Cost#

Uses a language-model provider and contributes model usage to the run cost.

Security#

  • The step has no key setting of its own. The model key follows the listing's credential mode: Edgaze-hosted platform keys by default (or, for an Edgaze Plus runner who turns on Use my API keys, their own API Vault key for this step's provider), the creator's API Vault keys for a creator-connected listing, or the buyer's own keys for a buyer-BYOK listing. Some models are Edgaze-hosted only; see API Vault. Secret values are not part of the published graph.
  • The node reads from an external service without intentionally mutating it.

Retry#

The runtime may retry this node according to the compiled execution policy.

Production checklist#

  • Test the happy path and one malformed or empty input.
  • Keep credentials out of prompts and published graph configuration.
  • Set a timeout that matches the operation's side effects.
  • Name the final result so a runner can tell what success looks like.

Was this useful?

Your response helps us improve the documentation.

More blocks

Ask for Input

Ask one question or collect several related answers when the workflow starts.

Generate Text

Generate text with GPT, Claude, or Gemini in an Edgaze workflow: write the prompt, pick the model, and feed in inputs from earlier steps.

Generate Image

Generate images with Gemini or OpenAI from a text prompt in an Edgaze workflow, with working examples, model settings, and ports.

On this page
OverviewWorking examples1. Route urgent support cases2. Require approval for high spend3. Check publication readinessPortsInspectorBehaviorCostSecurityRetryProduction checklist
© 2026 Edge Platforms, Inc. All rights reserved.