# Examples

> Part of the NocoDB documentation (Workflows > Scripts). Index of all pages: https://nocodb.com/llms.txt. Any docs page is available as Markdown by adding `.md` to its URL.

URL: https://nocodb.com/docs/workflows/scripts/examples
Last updated: 2026-08-17

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](/docs/workflows/scripts/examples/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](/docs/workflows/scripts/examples/convert-attachments-to-urls)

Convert attachment fields into comma-separated URL lists for integration with external services.

### [Randomize Values](/docs/workflows/scripts/examples/randomize-values)

Generate random data for empty fields across multiple data types with customizable ranges and constraints.

### [Validate Emails](/docs/workflows/scripts/examples/validate-emails)

Identify and list all invalid email addresses in email fields for data quality assurance.

### [Select Options](/docs/workflows/scripts/examples/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](/docs/workflows/scripts/examples/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](/docs/workflows/scripts/examples/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](/docs/workflows/scripts/examples/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](/docs/workflows/scripts/examples/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](https://nocodb.com/docs/workflows/scripts/examples/demo.md): Browse categorized examples for working with fields, records, and tables in NocoDB scripting.
- [API Reference Manual Examples](https://nocodb.com/docs/workflows/scripts/examples/api-ref-manual-examples.md): Browse categorized examples from the NocoDB API reference documentation to quickly access common scripting tasks and operations.
- [Find and Replace](https://nocodb.com/docs/workflows/scripts/examples/find-and-replace.md): Search and replace text patterns across records in any text-based field with preview and confirmation
- [Convert Attachments to URLs](https://nocodb.com/docs/workflows/scripts/examples/convert-attachments-to-urls.md): Convert attachment fields into comma-separated URL lists for integration with external services
- [Randomize Values](https://nocodb.com/docs/workflows/scripts/examples/randomize-values.md): Generate random data for empty fields across multiple data types with customizable ranges and constraints
- [Validate Emails](https://nocodb.com/docs/workflows/scripts/examples/validate-emails.md): Identify and list all invalid email addresses in email fields for data quality assurance
- [Get Select Options](https://nocodb.com/docs/workflows/scripts/examples/select-options.md): Extract and display all available options from Single Select or Multiple Select fields in various formats
- [Save View Ordering to Field](https://nocodb.com/docs/workflows/scripts/examples/save-view-ordering.md): Preserve manual record ordering from any view by saving it as sequential numbers in a numeric field
