Unlink Records

nocodb.unlink_records
ActionDatabases & warehousesconnection required

Calls the NocoDB API with the connection's credentials.

Detach records from a Links column on one record; the records themselves are not deleted.

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

4 fields, 3 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
link_field_id
Id of the Links column on this table, from its field menu in NocoDB.
stringYes——cl9k1h2fj2m0p3q
record_id
Primary-key value of the record, e.g. 1. Composite keys are joined with '___'.
stringYes——1
records
The records to attach or detach, named by primary key, e.g. [{"Id": 4}, {"Id": 5}]. Only the key is read; no other field is written.
arrayYes—array of object[{"Id":4}]

Example configuration

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

{
  "link_field_id": "cl9k1h2fj2m0p3q",
  "record_id": "1",
  "records": [
    {
      "Id": 4
    }
  ],
  "table_id": "mftbsyu6dxo4y8i"
}

Output

One shape.

result

FieldTypeExample
unlinked
True when NocoDB confirmed the unlink with true.
boolean—
requested
How many records the request asked to unlink.
number—
response
NocoDB's raw answer, for anything other than true.
any—
record_id
The record the links were removed from.
string—
link_field_id
The Links column that was written.
string—
table_id
The table the record belongs to.
string—
{
  "link_field_id": "",
  "record_id": "",
  "requested": 0,
  "response": null,
  "table_id": "",
  "unlinked": false
}

See Unlink 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.