Values
List, read, create, change and delete the values your workflows keep between runs, and list, add, replace or remove the rows of a table.
A value is data kept for workflows to read and save between runs: a setting, a counter, a list, a record or a table of rows. Workflows read one as @values.NAME. Reading values requires the values:read scope, changing them values:write, and deleting them values:delete.
Secrets, such as API keys and passwords, aren't values here: they're never listed, and they're added and changed only on the Secrets page in Lodol.
The value object
{
"id": "66b3d5f7a9c1e3f5a7b9c1d2",
"name": "approval_threshold",
"type": "number",
"applies_to": "all_workflows",
"workflows": [],
"workflows_can_change": false,
"updated_at": "2026-11-30T19:50:02.495000+00:00",
"value": 250
}A table has its columns and row_count in place of value. Its rows are a list of their own: see List a table's rows.
{
"id": "66b3d5f7a9c1e3f5a7b9c1d3",
"name": "customers",
"type": "table",
"applies_to": "chosen_workflows",
"workflows": [{ "id": "665f1a2b3c4d5e6f7a8b9c0d", "name": "Monthly Client Report" }],
"workflows_can_change": true,
"updated_at": "2026-11-30T19:50:02.240000+00:00",
"columns": ["name", "email", "plan"],
"row_count": 2
}Fields
idstring- The value's ID.
namestring- Its name, which workflows read it by. It can't be changed.
typestring- What it holds, in the workflow format's words: text, number, boolean, list, object, null, or table.
applies_tostring- Which workflows can use it: all_workflows, or chosen_workflows for the ones in workflows.
workflowsarray- With chosen_workflows, the workflows that can use it, each with its id and name. Empty otherwise.
workflows_can_changeboolean- Whether running workflows may change it, such as a counter they add to or a table they add rows to. Otherwise they only read it.
updated_atstring or null- When it last changed, in ISO 8601. null in List values.
valueany- What a value that isn't a table holds. List values leaves it out: Get a value has it.
columnsarray- For a table: its column names, in order.
row_countinteger- For a table: how many rows it has.
A value can hold text and records of up to 60 KB, and a table up to 5,000 rows and 1 MB.
List values
Returns the values the member who created the key can see, in order of name, a page at a time. Requires the values:read scope.
Query parameters
searchstring- Only values whose name contains this text, in any case.
limitinteger- How many to return, from 1 to 100.Default:
50. cursorstring- For the next page: the next_cursor of the page you have.
curl "https://api-prod.lodol.com/api/v1/values?search=customers" \
-H "Authorization: Bearer $LODOL_API_KEY"Response 200: a page of values, each without what it holds and with updated_at set to null: Get a value has both. next_cursor gets the next page; see Paging through lists.
{
"values": [
{
"id": "66b3d5f7a9c1e3f5a7b9c1d3",
"name": "customers",
"type": "table",
"applies_to": "chosen_workflows",
"workflows": [{ "id": "665f1a2b3c4d5e6f7a8b9c0d", "name": "Monthly Client Report" }],
"workflows_can_change": true,
"updated_at": null,
"columns": ["name", "email", "plan"],
"row_count": 2
}
],
"next_cursor": null
}Get a value
Returns one value, with what it holds. Requires the values:read scope. A value that doesn't exist, or that the key's member can't see, returns 404.
curl https://api-prod.lodol.com/api/v1/values/66b3d5f7a9c1e3f5a7b9c1d2 \
-H "Authorization: Bearer $LODOL_API_KEY"Response 200:
{
"id": "66b3d5f7a9c1e3f5a7b9c1d2",
"name": "approval_threshold",
"type": "number",
"applies_to": "all_workflows",
"workflows": [],
"workflows_can_change": false,
"updated_at": "2026-11-30T19:50:02.495000+00:00",
"value": 250
}Create a value
Creates a value. Requires the values:write scope. The member who created the key needs the role permission to manage the workspace's values, or, for a value only one workflow can use, permission to edit workflows and edit access to that workflow.
Headers
Idempotency-Keystring- Makes the request safe to retry. See Idempotency.
Body
namestring- Its name, up to 100 characters: letters, numbers and underscores, starting with a letter or an underscore. Names are shared by the workspace, and can't be changed later.Required.
applies_tostring- all_workflows, or chosen_workflows for the ones in workflow_ids.Required.
workflow_idsarray- With chosen_workflows: the IDs of the workflows that can use it, up to 50.
valueany- What it holds: text, a number, true or false, a list, a record, or a table as a list of rows, each an object of column name to cell. Required unless you give columns.
columnsarray- To start an empty table: its column names, in order, up to 100. Leave value out.
workflows_can_changeboolean- Whether running workflows may change it.Default:
false.
curl -X POST https://api-prod.lodol.com/api/v1/values \
-H "Authorization: Bearer $LODOL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "customers",
"applies_to": "chosen_workflows",
"workflow_ids": ["665f1a2b3c4d5e6f7a8b9c0d"],
"columns": ["name", "email", "plan"],
"workflows_can_change": true
}'Response 201: the new value.
{
"id": "66b3d5f7a9c1e3f5a7b9c1d3",
"name": "customers",
"type": "table",
"applies_to": "chosen_workflows",
"workflows": [{ "id": "665f1a2b3c4d5e6f7a8b9c0d", "name": "Monthly Client Report" }],
"workflows_can_change": true,
"updated_at": "2026-11-30T19:49:41.106000+00:00",
"columns": ["name", "email", "plan"],
"row_count": 0
}A name that's already in use returns 400, naming the value that has it.
Change a value
Changes what a value holds, which workflows can use it, or whether they may change it. Requires the values:write scope, and the role permissions Create a value needs; changing which workflows can use it takes the permission to manage the workspace's values. Giving value replaces everything it holds, rows a workflow saved included: to change a table a row at a time, use the row endpoints.
Body
At least one of value, applies_to and workflows_can_change.
valueany- What it now holds, as for Create a value.
applies_tostring- all_workflows, or chosen_workflows for the ones in workflow_ids.
workflow_idsarray- With applies_to chosen_workflows: the workflows that can use it.
workflows_can_changeboolean- Whether running workflows may change it.
curl -X PATCH https://api-prod.lodol.com/api/v1/values/66b3d5f7a9c1e3f5a7b9c1d2 \
-H "Authorization: Bearer $LODOL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"value": 300}'Response 200: the value as it now is.
{
"id": "66b3d5f7a9c1e3f5a7b9c1d2",
"name": "approval_threshold",
"type": "number",
"applies_to": "all_workflows",
"workflows": [],
"workflows_can_change": false,
"updated_at": "2026-11-30T19:50:02.495000+00:00",
"value": 300
}Delete a value
Deletes a value for good, a table with all its rows. It can't be restored, and a workflow step that reads it finds nothing after. Requires the values:delete scope (Delete values, which you tick when you create the key), and the role permissions Create a value needs.
curl -X DELETE https://api-prod.lodol.com/api/v1/values/66b3d5f7a9c1e3f5a7b9c1d2 \
-H "Authorization: Bearer $LODOL_API_KEY"Response 200:
{ "id": "66b3d5f7a9c1e3f5a7b9c1d2", "deleted": true, "restorable_until": null }A value that doesn't exist, or has already been deleted, returns 404.
List a table's rows
Returns a table's rows, in order, a page at a time. Requires the values:read scope.
Query parameters
limitinteger- How many rows to return, from 1 to 100.Default:
50. cursorstring- For the next page: the next_cursor of the page you have.
curl "https://api-prod.lodol.com/api/v1/values/66b3d5f7a9c1e3f5a7b9c1d3/rows?limit=2" \
-H "Authorization: Bearer $LODOL_API_KEY"Response 200: each row with its index, counting from 0, which replacing and removing a row take, and its data, an object of column name to cell.
{
"rows": [
{ "index": 0, "data": { "name": "Ada Lovelace", "email": "ada@example.com", "plan": "Pro" } },
{ "index": 1, "data": { "name": "Grace Hopper", "email": "grace@example.com", "plan": "Builder" } }
],
"next_cursor": null
}Add rows to a table
Adds rows to the end of a table, in order. Rows workflows add meanwhile are kept. Requires the values:write scope.
Body
rowsarray- 1 to 50 rows, each an object of column name to cell. A column the table doesn't have yet is added.Required.
curl -X POST https://api-prod.lodol.com/api/v1/values/66b3d5f7a9c1e3f5a7b9c1d3/rows \
-H "Authorization: Bearer $LODOL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"rows": [
{"name": "Ada Lovelace", "email": "ada@example.com", "plan": "Pro"},
{"name": "Grace Hopper", "email": "grace@example.com", "plan": "Builder"}
]}'Response 201: the table, as a value, with its new row_count.
{
"id": "66b3d5f7a9c1e3f5a7b9c1d3",
"name": "customers",
"type": "table",
"applies_to": "chosen_workflows",
"workflows": [{ "id": "665f1a2b3c4d5e6f7a8b9c0d", "name": "Monthly Client Report" }],
"workflows_can_change": true,
"updated_at": "2026-11-30T19:50:02.240000+00:00",
"columns": ["name", "email", "plan"],
"row_count": 2
}If a row can't be added, the rows before it stay added, and the message says how many were.
Replace a table row
Replaces one row of a table. :index is the row's index as List a table's rows returned it. Requires the values:write scope.
Send the row's data as you last read it in current. If a workflow or a person has changed that row since, nothing is changed and the request gets 409 with the code row_changed: read the rows again and use the row as it is now.
Body
currentobject- The row's data exactly as List a table's rows returned it.Required.
rowobject- The row to put in its place.Required.
curl -X PUT https://api-prod.lodol.com/api/v1/values/66b3d5f7a9c1e3f5a7b9c1d3/rows/1 \
-H "Authorization: Bearer $LODOL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"current": {"name": "Grace Hopper", "email": "grace@example.com", "plan": "Builder"},
"row": {"name": "Grace Hopper", "email": "grace@example.com", "plan": "Pro"}
}'Response 200: the row as it now is.
{ "index": 1, "data": { "name": "Grace Hopper", "email": "grace@example.com", "plan": "Pro" } }Response 409, when the row changed since you read it:
{
"error": "That row has changed since you read it (a workflow or a person changed the table), so it was left as it is. Read the table again with GET /api/v1/values/<value_id>/rows and use the row as it is now.",
"error_code": "row_changed"
}Remove a table row
Removes one row from a table, for good. Rows after it move up one place, so their indexes change. Like replacing a row, it takes the row's data as you last read it, in a JSON body, and removes nothing, answering 409 with the code row_changed, if the row has changed since. Requires the values:write scope.
Body
currentobject- The row's data exactly as List a table's rows returned it.Required.
curl -X DELETE https://api-prod.lodol.com/api/v1/values/66b3d5f7a9c1e3f5a7b9c1d3/rows/0 \
-H "Authorization: Bearer $LODOL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"current": {"name": "Ada Lovelace", "email": "ada@example.com", "plan": "Pro"}}'Response 200:
{ "index": 0, "deleted": true, "restorable_until": null }Connections
List the apps your workspace is connected to, connect an app with an API key or other credentials, test a connection, remove one, and find out how an app connects.
Folders and Trash
List folders and what's in them, create, rename and move them, move workflows between them, delete a folder and restore it, and see what's in the Trash.