# Context Parameters

Context Parameters is a concept of having parameters that are *not* defined in the App Data section. For instance, when iterating some Data Source, you may want to access to iteration number inside the For-each Action Node.

There are 2 types of Context Parameters: Action Parameters and Iterator Parameters.

### Action Parameters

Action Params are parameters that may be set up per Action. These Parameters may be used for the logic inside an Action, and you may send values into these Parameters when the Action is triggered (e.g. from Event Handlers in the User Interfaces).

#### Video

You may see a video on Action Parameters here.

{% embed url="<https://www.loom.com/share/a7c1becf524a44a098790eaf3df8b478>" %}
A video on Action Parameters
{% endembed %}

#### Documentation

You may read our documentation [here](/reference/actions/action-params.md).

### Iterator Parameters

Iterator Params are built-in parameters available for expressing logic inside iterating construction - such as inside the For-each Action Node, or inside an iterating Container in your User Interfaces. For instance, you may set up a Visibility Condition inside an iterating Container to only display an UI Component in the first iteration (for the first row).

#### Video

You may see a video on Iterator Parameters here.

{% embed url="<https://www.loom.com/share/2a25df4822bb42dabe4408c7c4906546>" %}
A video on Iterator Parameters
{% endembed %}


---

# 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.appfarm.io/appcademy/appfarm-fundamentals/actions-and-logic-fundamentals/context-parameters.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.
