{
 "schema_version": 1,
 "generated": "2026-11-01",
 "id": "nocodb-nocodb--automate-records-with-the-nocodb-rest-api",
 "repo": "nocodb/nocodb",
 "repo_url": "https://github.com/nocodb/nocodb",
 "repo_slug": "nocodb-nocodb",
 "title": "Read and write NocoDB records from scripts",
 "page_title": "How to read and write NocoDB records from scripts with Nocodb",
 "summary": "Use NocoDB's REST APIs or SDK with a token to feed rows from other tools and send updates out through Slack or email integrations.",
 "who": "A developer wiring a NocoDB base into other automations.",
 "problem": "Manual copy and paste between tools and the table causes stale data.",
 "outcome": "Scripts that create and update rows, with notifications through App Store integrations.",
 "steps": [
  "Start NocoDB with the Docker with SQLite command and create your base",
  "Create a token (JWT or Social Auth) to sign API requests",
  "Call the REST APIs or the NocoDB SDK to create, read, update and delete rows",
  "Connect Slack or SMTP from the App Store so changes can notify the team"
 ],
 "agent_prompt": "Using nocodb/nocodb, write a script that signs requests with my NocoDB token and upserts rows from <my CSV> into table <table name> through the REST APIs, then explain how to add a Slack notification from the App Store.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README only names the REST APIs and SDK; endpoint details are in the NocoDB docs.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "typescript",
 "requirements": [
  "Docker for the recommended install, or a prebuilt binary for quick local tests",
  "Optional PostgreSQL database for the Docker with PG setup",
  "Note the Sustainable Use License, which is not an OSI open source license"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "An API token can change every record it can reach; store it in a secret manager, not in the script."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/nocodb-nocodb/automate-records-with-the-nocodb-rest-api/",
 "md": "https://dedupedai.com/use-cases/nocodb-nocodb/automate-records-with-the-nocodb-rest-api/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/nocodb-nocodb--automate-records-with-the-nocodb-rest-api.json",
 "api_version": "v1"
}
