NocoDB

Update NocoDB Record Status

Updates the status of an existing NocoDB record.

Unverified

What the model is told

Update the Status of a NocoDB record using its id, which you get from the find tool. Confirm the new status with the customer first. Tell them the update has been made.

Request

PATCHhttps://app.nocodb.com/api/v3/data/YOUR_NOCODB_BASE_ID/YOUR_NOCODB_TABLE_ID/records

Headers

  • Content-Typeapplication/json
  • xc-tokenYOUR_NOCODB_API_TOKEN

Body

{"id":{{recordId}},"fields":{"Status":"{{status}}"}}

Parameters

  • recordId numberThe record id returned by the find tool.
  • status stringThe new status value.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "e25634e2-3a2e-4905-869f-dbab586eded0",
    "type": "HTTP_REQUEST",
    "label": "Update NocoDB Record Status",
    "name": "update_nocodb_record_status",
    "customName": false,
    "description": "Update the Status of a NocoDB record using its id, which you get from the find tool. Confirm the new status with the customer first. Tell them the update has been made.",
    "parameters": [
      {
        "name": "recordId",
        "type": "number",
        "description": "The record id returned by the find tool."
      },
      {
        "name": "status",
        "type": "string",
        "description": "The new status value."
      }
    ],
    "config": {
      "endpoint": {
        "method": "PATCH",
        "url": "https://app.nocodb.com/api/v3/data/YOUR_NOCODB_BASE_ID/YOUR_NOCODB_TABLE_ID/records"
      },
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        },
        {
          "name": "xc-token",
          "value": "YOUR_NOCODB_API_TOKEN"
        }
      ],
      "body": "{\n  \"id\": {{recordId}},\n  \"fields\": {\n    \"Status\": \"{{status}}\"\n  }\n}",
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.