> For the complete documentation index, see [llms.txt](https://docs.ninox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ninox.com/ninox-scripting/ninox-scripting.md).

# Ninox Scripting

Ninox scripting lets you calculate, automate, and connect your app with custom logic.

## **Start here**

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Introduction to scripting at Ninox</strong><br>Learn what scripting is, where it runs, and which core terms matter first.</td><td><a href="/ninox-scripting/automate-your-workflows/introduction-to-ninox-script.md">Introduction to Ninox script</a></td></tr><tr><td><strong>Step-by-Step Ninox script</strong><br>Build a script in small steps and see how the parts work together.</td><td><a href="broken://spaces/kPhymvwY495t6ZTxhW8Q/pages/Q92DRSIHogTgDRjpo8ZJ">Broken link</a></td></tr><tr><td><strong>Explore core scripting elements</strong><br>Understand statements, variables, operators, and editor basics.</td><td><a href="/ninox-scripting/automate-your-workflows/explore-core-scripting-elements.md">Explore core scripting elements</a></td></tr></tbody></table>

## **Learn by topic**

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Work with functions</strong><br>Find the right function for text, dates, math, records, files, and integrations.</td><td><a href="/ninox-scripting/automate-your-workflows/work-with-functions.md">Work with functions</a></td></tr><tr><td><strong>Triggers and automation</strong><br>Run logic automatically when records change or events happen.</td><td><a href="/ninox-scripting/automate-your-workflows/automations.md">Automations</a></td></tr><tr><td><strong>Scripting patterns for common tasks</strong><br>Reuse proven approaches for updates, queries, checks, and record handling.</td><td><a href="broken://spaces/kPhymvwY495t6ZTxhW8Q/pages/qLvaw8RgdH1mO3OlQikY">Broken link</a></td></tr><tr><td><strong>Best practices and common pitfalls</strong><br>Avoid slow scripts, hidden side effects, and hard-to-debug automation.</td><td><a href="/ninox-scripting/automate-your-workflows/best-practices-and-common-pitfalls.md">Best practices and common pitfalls</a></td></tr></tbody></table>

## **Browse function categories**

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Text and strings</strong><br>Clean, combine, search, and format text values.</td><td><a href="/ninox-scripting/automate-your-workflows/work-with-functions/text-and-strings.md">Text and strings</a></td></tr><tr><td><strong>Numbers and math</strong><br>Calculate totals, round values, and work with numeric logic.</td><td><a href="/ninox-scripting/automate-your-workflows/work-with-functions/numbers-and-math.md">Numbers and math</a></td></tr><tr><td><strong>Dates and time</strong><br>Build dates, compare periods, and calculate durations.</td><td><a href="/ninox-scripting/automate-your-workflows/work-with-functions/dates-and-time.md">Dates and time</a></td></tr><tr><td><strong>Records and tables</strong><br>Query, inspect, sort, and update records.</td><td><a href="/ninox-scripting/automate-your-workflows/work-with-functions/records-and-tables.md">Records and tables</a></td></tr><tr><td><strong>User Interface and navigation</strong><br>Show messages, open pages, and guide users through the app.</td><td><a href="/ninox-scripting/automate-your-workflows/work-with-functions/user-interface.md">User interface</a></td></tr><tr><td><strong>Files and export</strong><br>Import, create, inspect, and share files.</td><td><a href="/ninox-scripting/automate-your-workflows/work-with-functions/files-and-export.md">Files and export</a></td></tr><tr><td><strong>Users and roles</strong><br>Adapt logic to the current user, role, and workspace context.</td><td><a href="/ninox-scripting/automate-your-workflows/work-with-functions/users-and-roles.md">Users and roles</a></td></tr><tr><td><strong>Location and devices</strong><br>Work with GPS, links, calls, and barcode scans.</td><td><a href="/ninox-scripting/automate-your-workflows/work-with-functions/location-and-devices.md">Location and devices</a></td></tr><tr><td><strong>Integration and HTTP</strong><br>Connect Ninox to external services and APIs.</td><td><a href="/ninox-scripting/automate-your-workflows/work-with-functions/integration-and-http.md">Integration and HTTP</a></td></tr><tr><td><strong>System and flow control</strong><br>Control timing, caching, sync, and environment checks.</td><td><a href="/ninox-scripting/automate-your-workflows/work-with-functions/system-and-flow-control.md">System and flow control</a></td></tr></tbody></table>

## **Full reference**

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Functions library</strong><br>Browse the full documented function set in one place.</td><td><a href="/ninox-scripting/functions-and-script-library/functions-library.md">Functions library</a></td></tr><tr><td><strong>Data types and operators</strong><br>Find common value types, operators, and conversion helpers fast.</td><td><a href="/ninox-scripting/functions-and-script-library/data-types-and-operators.md">Data types and operators</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ninox.com/ninox-scripting/ninox-scripting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
