Functions

Spala functions are backend workflows. The current docs route is /flows because older builds used the word flow for the same editor surface.

Functions

Spala functions are backend workflows that power endpoints, tasks, triggers, project agents, and internal automation. Some older docs and URLs use the word flows for the same editor surface.

Terminology

In the current product UI, think Functions. In docs URLs, /flows is the canonical route for the function editor and related reference pages.

Use functions when you need to:

- Read and write database records
- Validate inputs
- Call APIs and addons
- Send emails, files, payments, or AI requests
- Return API responses
- Run logic from endpoints, tasks, triggers, or project agents
Functions Overview
/flows
Build backend logic with the function editor
Create a Function
/flows/creating-flows
Create and connect function steps
Code View
/flows/code-view
Edit function logic as JavaScript
Variables & Data
/flows/variables
Pass data between function steps