Browse a collection of useful script examples to automate and enhance your workflows in NocoDB.
Explore ready-to-use scripts to automate repetitive tasks, clean up data, and extend the power of your NocoDB workspace.
Find and Replace
Search for a specific value in a field and replace it with another. Useful for correcting data inconsistencies or renaming entries in bulk.
Convert Attachments to URLs
Convert attachment fields into comma-separated URL lists for integration with external services.
Randomize Values
Generate random data for empty fields across multiple data types with customizable ranges and constraints.
Validate Emails
Identify and list all invalid email addresses in email fields for data quality assurance.
Select Options
List all options used in a single or multi-select field across your records. Useful for analyzing select field usage or cleaning up unused options.
Save View Ordering
Capture the current record ordering of a view and save it into a numeric field. Perfect for preserving manual sorting or creating custom rankings.
Link Records by Field
Link records between two tables by matching values in selected fields. Supports pagination and displays a summary of results.
Unique Field Values Summary
Scan a field and output a summary of all unique values along with their frequency. Great for audits, cleanup, or analyzing field usage.
Import CSV
Import data from a CSV file into a specified table, allowing you to quickly populate your database with external data.
Related pages
- Generic Examples : Browse categorized examples for working with fields, records, and tables in NocoDB scripting.
- API Reference Manual Examples : Browse categorized examples from the NocoDB API reference documentation to quickly access common scripting tasks and operations.
- Find and Replace : Search and replace text patterns across records in any text-based field with preview and confirmation
- Convert Attachments to URLs : Convert attachment fields into comma-separated URL lists for integration with external services
- Randomize Values : Generate random data for empty fields across multiple data types with customizable ranges and constraints
- Validate Emails : Identify and list all invalid email addresses in email fields for data quality assurance
- Get Select Options : Extract and display all available options from Single Select or Multiple Select fields in various formats
- Save View Ordering to Field : Preserve manual record ordering from any view by saving it as sequential numbers in a numeric field

