NocoDB
Create, list, and update records in NocoDB databases.
On this page
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.
// 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);
});{
"name": "integrations",
"arguments": {
"project_id": "<project-id>",
"action": "call",
"piece": "nocodb",
"piece_action": "nocodb-create-record",
"input": {
"baseId": "<baseId>",
"tableId": "<tableId>",
"tableColumns": {}
},
"env": "dev"
}
}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.
| Input | Type | Description |
|---|---|---|
workspaceIdoptional | id (picked from your account) | For self-hosted instances,select "No Workspace". |
baseIdrequired | id (picked from your account) | Base ID |
tableIdrequired | id (picked from your account) | Table ID |
tableColumnsrequired | object (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.
| Input | Type | Description |
|---|---|---|
workspaceIdoptional | id (picked from your account) | For self-hosted instances,select "No Workspace". |
baseIdrequired | id (picked from your account) | Base ID |
tableIdrequired | id (picked from your account) | Table ID |
recordIdrequired | number | Record ID |
tableColumnsrequired | object (depends on other props) | Table Columns |
nocodb-delete-record
Delete a Record. Deletes a record with the given Record ID.
| Input | Type | Description |
|---|---|---|
workspaceIdoptional | id (picked from your account) | For self-hosted instances,select "No Workspace". |
baseIdrequired | id (picked from your account) | Base ID |
tableIdrequired | id (picked from your account) | Table ID |
recordIdrequired | number | Record ID |
nocodb-get-record
Get a Record. Gets a record by the Record ID.
| Input | Type | Description |
|---|---|---|
workspaceIdoptional | id (picked from your account) | For self-hosted instances,select "No Workspace". |
baseIdrequired | id (picked from your account) | Base ID |
tableIdrequired | id (picked from your account) | Table ID |
recordIdrequired | number | Record ID |
nocodb-search-records
Search Records. Returns a list of records matching the where condition.
| Input | Type | Description |
|---|---|---|
workspaceIdoptional | id (picked from your account) | For self-hosted instances,select "No Workspace". |
baseIdrequired | id (picked from your account) | Base ID |
tableIdrequired | id (picked from your account) | Table ID |
columnIdoptional | ids (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. |
whereConditionoptional | long text | Enables you to define specific conditions for filtering records.See docs [here](https://docs.nocodb.com/0.109.7/developer-resources/rest-apis/#comparison-operators). |
limitrequired | number | Enables you to set a limit on the number of records you want to retrieve. |
sortoptional | long text | Comma 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