> 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>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>Global functions</strong><br>Create reusable scripts that you can use throughout your app.</td><td><a href="/ninox-scripting/automate-your-workflows/global-functions.md">Global functions</a></td></tr><tr><td><strong>Automations</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></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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
