Model the API

Logic Flows — Backend Fundamentals

A logic flow is the behavior behind a request. It receives request values, runs action nodes, and returns one of the request outputs.

Task

Build the shortest flow that moves from input to valid output while handling expected failures.

Steps

  1. Open the request handler from the request node.
  2. Confirm request inputs appear on the left and outputs appear on the right.
  3. Add action nodes for database work, conditions, variables, password handling, token handling, or integrations.
  4. Connect outputs to compatible inputs so Avora can infer execution order.
  5. Route success paths to 2xx outputs.
  6. Route expected failures to 4xx outputs.
  7. Use 5xx outputs for unexpected backend or integration failures.
Flow elementUse it for
Request inputValues supplied by the caller
Action nodeOne operation such as query, condition, token, or transform
BranchAlternate path such as true/false or loop body
OutputData returned by the request
Error handleKnown failure path from an action

Expected Result

Every required value is connected, every normal path reaches a success output, and every expected failure has a clear error response.

Next

Use Logic Flow Builder for the full flow workflow.