Skip to content

Blocks Overview ​

Blocks are the building pieces of every Fluxify route and workflow. Each block does one job, like reading a database row, checking a condition, or sending a response. You connect blocks on the canvas, and data flows from one to the next.

Using a block ​

  1. Drag a block from the sidebar onto the canvas.
  2. Click it to set its fields in the side panel. The Docs tab there shows the page for that block.
  3. Connect it to other blocks to decide what runs first, next, and on each path.

New to this? Read How Blocks Work first. It explains inputs, outputs and how data moves from block to block.

What you find on a block page ​

Every block page has the same parts, in the same order:

SectionWhat it tells you
IntroWhat the block does, in one or two plain sentences.
When to use itReal situations for it, and when to pick another block.
InputsEvery field, whether it is required, and its default.
OutputsWhat the next block receives, and which handles the block has (like Success and Failure).
ExampleA small realistic setup with the settings and the result.
How it behavesEdge cases, errors and anything surprising.
Related blocksBlocks that are often used together with it.

Which block do I need? ​

I want to...Use
Choose between two pathsIf Condition
Choose between many pathsSwitch
Repeat somethingFor Loop (a number of times) or For Each Loop (once per item)
Do several things at the same timeOrchestrator
Send an answer to the callerResponse
Handle a failureError Handler
Read what the caller sentGet HTTP Request Body, Get HTTP Param, Get HTTP Header, Get Request Cookie
Call another web serviceHTTP Request
Read or change data in a databaseDB Get All, DB Get Single, DB Insert, DB Update, DB Delete
Change several records together, or noneDB Transaction
Remember a value for this requestSet Variable and Get Variable
Cache something between requestsKV Operations
Reshape dataTransformer
Write my own codeJS Runner
Run background workTrigger Workflow
Log what happenedConsole Log or Cloud Logs

Block groups ​

GroupWhat it covers
Logic & FlowStart the flow, choose paths, repeat, run in parallel, handle errors, and respond.
DataVariables, lists, reshaping data, and your own JavaScript.
HTTPCall other services, and read or set request details like headers and cookies.
DatabaseRead, write and group changes in SQL and MongoDB databases.
Key-ValueCache and short-lived state in Redis or Memcached.
LoggingPrint to the server logs or send to a log service.
UtilityStart workflows, and add notes to the canvas.
Custom BlocksTurn a group of blocks into one reusable block.

See the full List of Blocks for every block in each group.

Released under the Apache License 2.0. Enterprise features are under the Fluxify Enterprise Edition License.