Skip to content

Flow Builder ​

The Flow Builder is a visual editor: you build each endpoint of your API by connecting nodes on a canvas, from the HTTP entry point to the response, through your logic and the database. A flow groups one or more endpoints.

The flow list ​

In the left menu, click Flow Builder. Each flow is shown as a card with its name, its status and its Last Updated date.

  • Search Flows... filters by name.
  • The status filter shows All Status, or only the DRAFT, SAVED or DEPLOYED flows.
  • Click a card, or Open in Editor, to open the flow.

Create a flow ​

  1. Click New Flow.
  2. Enter the Name (required) and, if you like, a Description.
  3. Click Create.

The flow opens on its endpoint list, empty for now.

Free plan limit

With the free plan, you can create 3 flows. Beyond that, creation is refused with the message "You have reached the 3 flows limit. Upgrade to a higher plan to continue.". Delete a flow you no longer need, or contact us at contact@grizzly-api.com to move to the Pro plan.

A flow's endpoints ​

The flow's page lists its endpoints, grouped by resource (the first segment of the path). Each endpoint shows its method, its path and its state:

StateMeaning
ConfiguredThe chain is complete: path defined, a Database node with its data source and collection (or table), an HTTP Response node
DraftSomething is missing: the problems to fix are listed on the card

On each endpoint, ✎ (Edit flow) opens its chain in the editor, and the trash icon deletes it after confirmation.

Click Add Endpoint to create one: the editor opens on an empty canvas.

Build an endpoint in the editor ​

Available nodes ​

The palette, on the left, offers four nodes. Search nodes... filters the list.

CategoryNodeRole
TriggerHTTP EndpointThe method, path, parameters and request body
ProcessingLogicJavascript code run in the chain (optional)
PersistenceDatabaseThe data source, the collection or table, and the operation
OutputHTTP ResponseThe response's status codes, content type and headers

Add and connect nodes ​

  1. Drag a node from the palette onto the canvas.
  2. Connect the nodes: draw a connection from a node's output point (on the right) to the next node's input point (on the left). For example: HTTP Endpoint → Logic → Database → HTTP Response.
  3. Double-click a node to configure it. The panel that opens contains the Node name, a Description and the node's own settings. Click Apply Changes, or Discard to cancel.

To delete a node or a connection, hover over it and click the delete button that appears, then confirm.

To navigate: the mouse wheel zooms, dragging the background moves the canvas, and the Zoom In, Zoom Out and Reset View buttons are in the header.

Configure the nodes ​

  • HTTP Endpoint: in the Parameters tab, choose the method and type the path under Method & Path, for example /products/{reference}, then add parameters with Add Parameter. The Request Body tab links a Data Model.
  • Logic: write your code in the editor. The starter code receives the request (request) and returns its body. Reset restores this starter code.
  • Database: choose the Data Source, then the Database for a NoSQL source, the Query Type (Insert Data, Query Collection, Find One, Update Document or Delete Entry) and finally the Target Collection or Target Table.
  • HTTP Response: in the Global Config tab, choose the Content Type. In the Status Mappings tab, add the status codes with + Add Status; each status can have Custom Headers.

Save ​

Nodes and connections are saved as you go. The flow's name is edited in the editor header: click Save to store it. The indicator shows Saved or Unsaved.

Run and test the flow ​

Two buttons turn the flow into an API and open a Swagger window, where you call its endpoints from the browser:

  • Test and validate, on the flow's endpoints page;
  • Run Engine, in the editor.

Test and validate won't run as long as an endpoint is in Draft: first fix the problems shown on its card.

3 APIs limit

Running a flow creates an API, which counts towards the free plan's 3 APIs limit. If that limit is reached, the run is refused and Test and validate shows "You have reached the 3 APIs limit. Flow execution is not possible. Upgrade to a higher plan to continue.".

Create a flow with the AI agent ​

The AI agent can also generate a flow: mention "flow", "flux", "workflow" or "pipeline" in the first message of a conversation. The result carries the FLOW badge, and Access Flow opens it in the Flow Builder. See The AI agent.

Delete a flow ​

  1. On the flow's card, click the trash icon, or ⋮ then Delete.
  2. Confirm in the Delete Flow window.

What's next? ​

Grizzly API · CodeOnce Software