# Actions

Workflow contains a tree of actions and actions are where you define logic for data fetching, transforming of the data and syncing of the final resulting data.\
\
Currently there are just four action types:

* [Expression](/getting-started/actions/expression.md)
* [HTTP paginated](/getting-started/actions/http-paginated.md)
* [Foreach](/getting-started/actions/foreach.md)
* [CMS Data Sync](/getting-started/actions/cms-data-sync.md)

Important concept with every action is that fields in actions that have highlighting are **JavaScript expressions**. Another important concept is that **ctx** object is used to pass data from parent into its children and to the next action in the scope.

<figure><img src="/files/HGkpP0T2yyKQFqEtTs9m" alt=""><figcaption></figcaption></figure>


---

# 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.syncmate.com/getting-started/actions.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.
