# Automate your workflows

- [Introduction to scripting at Ninox](https://docs.ninox.com/ninox-scripting/automate-your-workflows/introduction-to-scripting-at-ninox.md): Learn what Ninox scripting is, where you can use it, and the core terms you need to start writing scripts.
- [Explore core scripting elements](https://docs.ninox.com/ninox-scripting/automate-your-workflows/explore-core-scripting-elements.md): Learn the core building blocks of Ninox scripting, including statements, variables, data types, operators, and built-in functions.
- [Variables](https://docs.ninox.com/ninox-scripting/automate-your-workflows/explore-core-scripting-elements/variables.md): Learn how to declare variables, store values, and reuse results in Ninox logic.
- [Operators](https://docs.ninox.com/ninox-scripting/automate-your-workflows/explore-core-scripting-elements/operators.md): Learn how to calculate, compare, assign, and access values with operators in Ninox logic.
- [Statements](https://docs.ninox.com/ninox-scripting/automate-your-workflows/explore-core-scripting-elements/statements.md): Learn how to use core Ninox statements to make decisions, query and sort records, repeat logic, and create or delete records.
- [Logic editor features](https://docs.ninox.com/ninox-scripting/automate-your-workflows/explore-core-scripting-elements/logic-editor-features.md): Learn how the Ninox logic editor helps you write, format, search, and troubleshoot scripts faster.
- [Work with functions](https://docs.ninox.com/ninox-scripting/automate-your-workflows/work-with-functions.md): Learn how to use Ninox functions by category, and find the right tools for calculations, text, dates, records, and more.
- [Text and strings](https://docs.ninox.com/ninox-scripting/automate-your-workflows/work-with-functions/text-and-strings.md): Learn how to build, clean, search, format, and convert text values for labels, logic, and integrations in Ninox.
- [Numbers and math](https://docs.ninox.com/ninox-scripting/automate-your-workflows/work-with-functions/numbers-and-math.md): Learn how to summarize values, convert data to numbers, generate ranges, and use common math functions in Ninox scripts.
- [Dates and time](https://docs.ninox.com/ninox-scripting/automate-your-workflows/work-with-functions/dates-and-time.md): Learn how to create dates and times, measure durations, extract date parts, and build reporting periods in Ninox scripts.
- [Records and tables](https://docs.ninox.com/ninox-scripting/automate-your-workflows/work-with-functions/records-and-tables.md): Learn how to sort, inspect, update, and reuse records and record lists in Ninox scripts.
- [User interface](https://docs.ninox.com/ninox-scripting/automate-your-workflows/work-with-functions/user-interface.md): Learn how to show messages in Ninox scripts.
- [Files and export](https://docs.ninox.com/ninox-scripting/automate-your-workflows/work-with-functions/files-and-export.md): Learn how to import files, create exports, inspect attachments, and manage file and view sharing in Ninox scripts.
- [Users and roles](https://docs.ninox.com/ninox-scripting/automate-your-workflows/work-with-functions/users-and-roles.md): Learn how to read user details, check roles and admin status, and adapt scripts to the current app, language, and workspace context.
- [Location and devices](https://docs.ninox.com/ninox-scripting/automate-your-workflows/work-with-functions/location-and-devices.md): Learn how to read device location, open links, start calls, encode URLs, and scan barcodes in Ninox scripts.
- [Integration and HTTP](https://docs.ninox.com/ninox-scripting/automate-your-workflows/work-with-functions/integration-and-http.md): Learn how to call external services, validate XML against XSD schemas, transform XML, send emails, and create calendar items in Ninox scripts.
- [System and flow control](https://docs.ninox.com/ninox-scripting/automate-your-workflows/work-with-functions/system-and-flow-control.md): Learn how to pause scripts, inspect the app execution context.
- [Automations](https://docs.ninox.com/ninox-scripting/automate-your-workflows/automations.md): Learn when automations run and how to use On create, On update, and On delete in Ninox.
- [Step-by-Step Ninox script](https://docs.ninox.com/ninox-scripting/automate-your-workflows/step-by-step-ninox-script.md)
- [Scripting patterns for common tasks](https://docs.ninox.com/ninox-scripting/automate-your-workflows/scripting-patterns-for-common-tasks.md)
- [Best practices and common pitfalls](https://docs.ninox.com/ninox-scripting/automate-your-workflows/best-practices-and-common-pitfalls.md): Learn how Ninox executes read and write transactions, and how to avoid common performance issues in scripts.


---

# Agent Instructions: 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:

```
GET https://docs.ninox.com/ninox-scripting/automate-your-workflows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
