NocoDB

Create, list, and update records in NocoDB databases.

ProductivityAPI key5 actionsAll integrations

On this page
  1. Connect
  2. Call it from a workflow
  3. Actions (5)
  4. nocodb-create-record
  5. nocodb-update-record
  6. nocodb-delete-record
  7. nocodb-get-record
  8. nocodb-search-records
  9. Details

Connect

Auth type: API key (secret_text). Pass the provider's API key or token as the connection's credential. It is sealed at rest and only opened on the server when an action runs.

  • From your agent: integrations {action: "connect", piece, credentials, env} stores the credentials for dev, prod or all. Answers name the fields, never the values.
  • Or set the integration's project secrets with the secrets tool (SLACK_BOT_TOKEN, DISCORD_WEBHOOK_URL, TELEGRAM_BOT_TOKEN, TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN …): a call uses the connection, else those secrets. integrations {action: "catalog", piece} lists which ones work.
  • Try one action now with integrations {action: "call", piece, piece_action, input}. It really sends.

Call it from a workflow

step.ctx.integrations.invoke("nocodb", action, input) resolves with the provider's answer and rejects when NocoDB isn't connected or refuses. Wrap it in step.run so a retry sends once. See step.ctx. Its actions run through the integration runner, which the server's operator turns on: integrations {action: "catalog", piece: "nocodb"} says whether yours can call it.

Workflow
// workflows/notify.ts: call NocoDB when a booking is confirmed
import { on } from "@appbricx/workflows";

export const tellNocodb = on.transition("booking", "status", "confirmed", async (_event, step) => {
  // Recorded once: a retry doesn't send it twice. Rejects when NocoDB isn't connected.
  const output = await step.run("NocoDB", () =>
    step.ctx.integrations.invoke("nocodb", "nocodb-create-record", {
      "baseId": "<baseId>",
      "tableId": "<tableId>",
      "tableColumns": {}
    }),
  );
  step.ctx.log("NocoDB answered", output);
});
Try it from your agent
{
  "name": "integrations",
  "arguments": {
    "project_id": "<project-id>",
    "action": "call",
    "piece": "nocodb",
    "piece_action": "nocodb-create-record",
    "input": {
      "baseId": "<baseId>",
      "tableId": "<tableId>",
      "tableColumns": {}
    },
    "env": "dev"
  }
}
From another backend (connector proxy)
curl -X POST "$APP_ORIGIN/__appbricx/connector-proxy/nocodb/nocodb-create-record" \
  -H "Authorization: Bearer $APP_KEY" \
  -H "content-type: application/json" \
  -d '{"props":{"baseId":"<baseId>","tableId":"<tableId>","tableColumns":{}}}'

Actions

nocodb-create-record

Create a Record. Creates a new record in the given table.

Also accepted as create_record.

InputTypeDescription
workspaceIdoptionalid (picked from your account)For self-hosted instances,select "No Workspace".
baseIdrequiredid (picked from your account)Base ID
tableIdrequiredid (picked from your account)Table ID
tableColumnsrequiredobject (depends on other props)Table Columns

nocodb-update-record

Update a Record. Updates an existing record with the given Record ID.

Also accepted as update_record.

InputTypeDescription
workspaceIdoptionalid (picked from your account)For self-hosted instances,select "No Workspace".
baseIdrequiredid (picked from your account)Base ID
tableIdrequiredid (picked from your account)Table ID
recordIdrequirednumberRecord ID
tableColumnsrequiredobject (depends on other props)Table Columns

nocodb-delete-record

Delete a Record. Deletes a record with the given Record ID.

InputTypeDescription
workspaceIdoptionalid (picked from your account)For self-hosted instances,select "No Workspace".
baseIdrequiredid (picked from your account)Base ID
tableIdrequiredid (picked from your account)Table ID
recordIdrequirednumberRecord ID

nocodb-get-record

Get a Record. Gets a record by the Record ID.

InputTypeDescription
workspaceIdoptionalid (picked from your account)For self-hosted instances,select "No Workspace".
baseIdrequiredid (picked from your account)Base ID
tableIdrequiredid (picked from your account)Table ID
recordIdrequirednumberRecord ID

nocodb-search-records

Search Records. Returns a list of records matching the where condition.

InputTypeDescription
workspaceIdoptionalid (picked from your account)For self-hosted instances,select "No Workspace".
baseIdrequiredid (picked from your account)Base ID
tableIdrequiredid (picked from your account)Table ID
columnIdoptionalids (picked from your account)Allows you to specify the fields that you wish to include in your API response. By default, all the fields are included in the response.
whereConditionoptionallong textEnables you to define specific conditions for filtering records.See docs [here](https://docs.nocodb.com/0.109.7/developer-resources/rest-apis/#comparison-operators).
limitrequirednumberEnables you to set a limit on the number of records you want to retrieve.
sortoptionallong textComma separated field names without space.Example: **field1,-field2** will sort the records first by 'field1' in ascending order and then by 'field2' in descending order.

Details

Id
nocodb
Category
Productivity
Tags
database, open-source, nocode, airtable-alternative
Package
@activepieces/piece-nocodb@0.4.4
Runs
Through the integration runner