Vettero

Return

Finish the main path or a nested body and send mapped output.

Type

module.return
Block Module
Folderbasic/module
Channels

Any

Pipe

Value

Scope

Any

Return (palette name Return, canvas label End, type module.return) finishes a path. Connect the last block of that path into it. There is no outgoing handle.

On the main path, this is what callers receive. Map fields to Start Output schema. Defining that schema is not enough — a completing path must reach Return.

Inside a Lambda body, Return finishes this body (this iteration or task), not the whole workflow. The parent loop or Async task collects that value. The mapped shape must match the parent Callback return shape — or Lambda’s Output schema when you set one.

This block is valid in any scope. Use Break or Continue inside a loop when you want a control signal instead of a collected value.

Configure

Open the cog on the block (dialog header End configuration).

SettingDescription
OutputBind each property of the resolved output schema (literal or a context path)

The form follows the schema found upstream:

Where Return sitsSchema used
Main pathStart Output schema
Nested callbackLambda Output schema if you applied one; otherwise the parent Callback return shape

If nothing upstream defines a schema, the dialog explains that End is not connected through Start or a callback handle.

Each property name must match the schema exactly (total, not Total).

Handles

HandleRole
In (target)Incoming connection from the last block on this path

There is no Out. Branching paths each need their own Return (or merge into one).

Pipe schema

This block does not pass a value to a later block on the same path. The mapped Output is what the caller (main path) or the parent callback (nested body) receives.

Use case

  • After an API call on a general workflow, return status and data to the agent or widget that invoked the graph.
  • Inside For Of, return a mapped item so the loop’s main Out collects a list.
  • On a condition split, put Return on each completing branch with the same output keys.
Copyright © 2026