Count Records

nocodb.count_records
ActionDatabases & warehousesconnection required

Calls the NocoDB API with the connection's credentials.

Count the records matching a filter, without fetching any of them.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
NocoDB
Secret shape
the API token, or {"api_token": "…"}
Config it needs
base_url, base_id, table_id, workspace_id
Resolved by
config.connection_id, else node.connection_id

Configuration

3 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
table_id
Id of the table to act on, from Table context menu → Copy table ID. Overrides the default table id on the connection.
stringNo——mftbsyu6dxo4y8i
where
NocoDB filter expression, e.g. (Status,eq,todo)~and(Amount,gt,100). Leave empty to match every record.
stringNo——(Status,eq,todo)
view_id
Id of a view whose own filters, sorts and visible fields should apply as well.
stringNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "table_id": "mftbsyu6dxo4y8i",
  "where": "(Status,eq,todo)"
}

Output

One shape.

result

FieldTypeExample
count
How many records match the filter.
number—
table_id
The table that was counted.
string—
{
  "count": 0,
  "table_id": ""
}

See Count Records run in a workflow.

In a technical demo we add the NocoDB connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.