# Working with Dynamic Data

- [Connections](https://docs.documint.me/templates/working-with-dynamic-data/connections.md)
- [Airtable Connection](https://docs.documint.me/templates/working-with-dynamic-data/connections/airtable-connection.md)
- [HubSpot (Coming Soon)](https://docs.documint.me/templates/working-with-dynamic-data/connections/hubspot-coming-soon.md)
- [Fields Editor](https://docs.documint.me/templates/working-with-dynamic-data/fields-editor.md)
- [Field Tokens](https://docs.documint.me/templates/working-with-dynamic-data/field-tokens.md)
- [Token Formatting](https://docs.documint.me/templates/working-with-dynamic-data/field-tokens/token-formatting.md): Format variables the way you want them to look
- [Number](https://docs.documint.me/templates/working-with-dynamic-data/field-tokens/token-formatting/number.md)
- [Date & Time](https://docs.documint.me/templates/working-with-dynamic-data/field-tokens/token-formatting/date-and-time.md)
- [Text](https://docs.documint.me/templates/working-with-dynamic-data/field-tokens/token-formatting/text.md)
- [Functions & Operators](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators.md)
- [Syntax](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/syntax.md)
- [$calc](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/calc.md): The $calc function is a powerful expression evaluator that enables complex calculations, string manipulations, array operations, and provides a secure sandbox environment within your templates.
- [$var](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/usdvar.md): Creates a custom variable in your template which you can access from other parts of your template
- [Math](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/math.md)
- [$add](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/math/usdadd.md): Add two numbers together
- [$subtract](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/math/usdsubtract.md): Subtracts the second number from the first number.
- [$multiply](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/math/usdmultiply.md): Multiplies two numbers together
- [$divide](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/math/usddivide.md): Divides the first number by the second number.
- [$sum](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/math/usdsum.md): Computes the sum of the values.
- [$min](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/math/usdmin.md): Computes the minimum number in an array.
- [$max](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/math/usdmax.md): Computes the maximum number in an array.
- [$mean](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/math/usdmean.md): Computes the average of all values in an array.
- [$round](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/math/usdround.md): Computes number rounded to precision.
- [$floor](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/math/usdfloor.md): Computes number rounded down to precision.
- [$ceil](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/math/usdceil.md): Computes number rounded up to precision.
- [List/Arrays](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/list-arrays.md)
- [#each](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/list-arrays/each.md): Loops over an array (list) of items.
- [$filter](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/list-arrays/usdfilter.md): Filters an array/list of items.
- [$group](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/list-arrays/usdgroup.md): Group items together and create a loop of those items
- [$join](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/list-arrays/usdjoin.md): Concatenates an array (list) of items into a string.
- [Helpers](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/helpers.md)
- [$extname](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/helpers/usdextname.md): Returns the extension name of a filename.
- [$inspect](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/helpers/usdinspect.md): Displays the raw merge data used to create the document. Useful for debugging your template when merging documents.
- [Content](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/content.md)
- [$link](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/content/usdlink.md): Creates a link to a given URL
- [$md](https://docs.documint.me/templates/working-with-dynamic-data/functions-and-operators/content/usdmd.md): Renders markdown content
- [Legacy Formatting](https://docs.documint.me/templates/working-with-dynamic-data/legacy-formatting.md): Format variables the way you want them to look
- [Number](https://docs.documint.me/templates/working-with-dynamic-data/legacy-formatting/number.md)
- [Date & Time](https://docs.documint.me/templates/working-with-dynamic-data/legacy-formatting/date-and-time.md)


---

# 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.documint.me/templates/working-with-dynamic-data.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.
