> For the complete documentation index, see [llms.txt](https://docs.appfarm.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appfarm.io/library/action-nodes.md).

# Action nodes

Appfarm Create features a built-in library of logical operations, known as *action nodes*, that can be dropped into an [action](https://docs.appfarm.io/reference/actions.md). Each action node runs a distinct operation with customizable properties. These include [if statements](https://docs.appfarm.io/library/action-nodes/if.md) and [foreach loops](https://docs.appfarm.io/library/action-nodes/foreach.md) as well as [data operations](#data) and advanced functionality such as [generating PDFs](https://docs.appfarm.io/library/action-nodes/generate-document.md) and [sending SMS](https://docs.appfarm.io/library/action-nodes/send-sms.md).

You can add Action Nodes to an Action with drag & drop, by clicking the Action Node (will add it after the selected action node inside the selected action), or by using [Appfarm Commander](https://docs.appfarm.io/reference/appfarm-create/appfarm-commander.md) (`CTRL/CMD + k` <i class="fa-right">:right:</i> Seach by name <i class="fa-right">:right:</i> Add the action node).

Not every action node is available everywhere. The picker only shows the nodes that can be used in the current app, Flow or Service. The sections below follow the groups in the picker.

* Services and Flows have no UI and navigation nodes, and no Export Data or Set Data Source Attributes. Services also have no Semantic Search or Full-text Search.
* Full-text Search is not available on every plan. See [Subscription and billing](https://docs.appfarm.io/solution-administration/subscription-and-billing.md). Semantic Search is in beta and turned on per solution by Appfarm. If your solution doesn't include a feature, the picker shows the node as locked.
* Create File Archive is available on all plans. How much you can use it depends on your plan; see [Subscription and billing](https://docs.appfarm.io/solution-administration/subscription-and-billing.md).

## Data

Create and manipulate data in [data sources](https://docs.appfarm.io/reference/apps/data/data-sources.md), and work with files.

* [Create Object](https://docs.appfarm.io/library/action-nodes/create-object.md)
* [Read Objects](https://docs.appfarm.io/library/action-nodes/read-objects.md)
* [Update Object](https://docs.appfarm.io/library/action-nodes/update-object.md)
* [Delete Objects](https://docs.appfarm.io/library/action-nodes/delete-objects.md)
* [Persist Objects](https://docs.appfarm.io/library/action-nodes/persist-objects.md)
* [Duplicate Objects](https://docs.appfarm.io/library/action-nodes/duplicate-objects.md)
* [Set Selection](https://docs.appfarm.io/library/action-nodes/set-selection.md)
* [Set Data Source Attributes](https://docs.appfarm.io/library/action-nodes/set-data-source-attributes.md)
* [Sort Objects](https://docs.appfarm.io/library/action-nodes/sort-objects.md)
* [Semantic Search \[BETA\]](https://docs.appfarm.io/library/action-nodes/semantic-search.md) (by request)
* [Full-text Search](https://docs.appfarm.io/library/action-nodes/full-text-search.md) (not on every plan)
* [Aggregate Data](https://docs.appfarm.io/library/action-nodes/aggregate-data.md)
* [Create File Object](https://docs.appfarm.io/library/action-nodes/create-file-object.md)
* [Import Data](https://docs.appfarm.io/library/action-nodes/import-data.md)
* [Export Data](https://docs.appfarm.io/library/action-nodes/export-data.md)
* [Generate Document](https://docs.appfarm.io/library/action-nodes/generate-document.md)
* [Create File Archive](https://docs.appfarm.io/library/action-nodes/create-file-archive.md)

## UI and navigation

Navigate through an app and interact with dialogs, popovers, drawers and themes.

* [Navigate](https://docs.appfarm.io/library/action-nodes/navigate.md)
* [Open Dialog](https://docs.appfarm.io/library/action-nodes/open-and-close-dialog.md)
* [Close Dialog](https://docs.appfarm.io/library/action-nodes/open-and-close-dialog.md)
* [Open Confirm Dialog](https://docs.appfarm.io/library/action-nodes/open-confirm-dialog.md)
* [Open Snackbar](https://docs.appfarm.io/library/action-nodes/open-snackbar.md)
* [Toggle Drawer](https://docs.appfarm.io/library/action-nodes/toggle-drawer.md)
* [Open URL](https://docs.appfarm.io/library/action-nodes/open-url.md)
* [Open Popover](https://docs.appfarm.io/library/action-nodes/open-and-close-popover.md)
* [Close Popover](https://docs.appfarm.io/library/action-nodes/open-and-close-popover.md)
* [Set Client Language](https://docs.appfarm.io/library/action-nodes/set-client-language.md)
* [Set Theme](https://docs.appfarm.io/library/action-nodes/set-theme.md)

## Logic

Loop through [data sources](https://docs.appfarm.io/reference/apps/data/data-sources.md) and use conditionals to control what other action nodes are run.

* [If](https://docs.appfarm.io/library/action-nodes/if.md)
* [Foreach](https://docs.appfarm.io/library/action-nodes/foreach.md)
* [While](https://docs.appfarm.io/library/action-nodes/while.md)
* [Next Iteration](https://docs.appfarm.io/library/action-nodes/next-iteration.md)
* [Exit Loop](https://docs.appfarm.io/library/action-nodes/exit-loop.md)
* [Switch](https://docs.appfarm.io/library/action-nodes/switch.md)
* [Block](https://docs.appfarm.io/library/action-nodes/block.md)
* [Exit Block](https://docs.appfarm.io/library/action-nodes/exit-block.md)
* [Sleep](https://docs.appfarm.io/library/action-nodes/sleep.md)

## Errors and exits

Handle errors and stop an action early.

* [Catch Exception](https://docs.appfarm.io/library/action-nodes/catch-exception.md)
* [Throw Exception](https://docs.appfarm.io/library/action-nodes/throw-exception.md)
* [End Execution](https://docs.appfarm.io/library/action-nodes/end-execution.md)

## Integrations

Call external systems and send messages.

* [Agent](https://docs.appfarm.io/library/action-nodes/agent.md) (Flows only)
* [Web Request](https://docs.appfarm.io/library/action-nodes/web-request.md)
* [Streaming Web Request](https://docs.appfarm.io/library/action-nodes/streaming-web-request.md)
* [Send Email](https://docs.appfarm.io/library/action-nodes/send-email.md)
* [Send SMS](https://docs.appfarm.io/library/action-nodes/send-sms.md)
* [Push Notification](https://docs.appfarm.io/library/action-nodes/push-notifications.md)
* [Create Shortlink](https://docs.appfarm.io/library/action-nodes/create-shortlink.md)

## Run

Run other actions, code, Flows and Services.

* [Run Action](https://docs.appfarm.io/library/action-nodes/run-action.md)
* [Run Code](https://docs.appfarm.io/library/action-nodes/run-code.md)
* [Run Service](https://docs.appfarm.io/library/action-nodes/run-service.md) (only in solutions that use Services)
* [Run Flow](https://docs.appfarm.io/library/action-nodes/run-flow.md)
* [Manage Flow](https://docs.appfarm.io/library/action-nodes/manage-flow.md) (apps only). Stops a Flow run that Run Flow started.

## Users and security

Manage [user accounts](https://docs.appfarm.io/reference/security/users.md), log users in and out, and update secrets.

* [Create User Account](https://docs.appfarm.io/library/action-nodes/create-user-account.md)
* [Update User Account](https://docs.appfarm.io/library/action-nodes/update-user-account.md)
* [Delete User Account](https://docs.appfarm.io/library/action-nodes/delete-user-account.md)
* [Set User Account Image](https://docs.appfarm.io/library/action-nodes/set-user-account-image.md)
* [Log In](https://docs.appfarm.io/library/action-nodes/log-in.md)
* [Log Out](https://docs.appfarm.io/library/action-nodes/log-out.md)
* [Auth Operations](https://docs.appfarm.io/library/action-nodes/auth-operations.md)
* [Open User Dialog](https://docs.appfarm.io/library/action-nodes/open-user-dialog.md)
* [Update Secret](https://docs.appfarm.io/library/action-nodes/update-secret.md) (Services and Flows only)

## Other

Debug actions and use device and browser features.

* [Log to Console](https://docs.appfarm.io/library/action-nodes/log-to-console.md)
* [Copy to Clipboard](https://docs.appfarm.io/library/action-nodes/copy-to-clipboard.md)
* [Scan Barcode/QR Code](https://docs.appfarm.io/library/action-nodes/scan-barcode-qr-code.md)
* [Request Permission](https://docs.appfarm.io/library/action-nodes/request-permissions.md)
* [Show Install App Prompt](https://docs.appfarm.io/library/action-nodes/show-install-app-prompt.md)
* [Keep Device Awake](https://docs.appfarm.io/library/action-nodes/keep-device-awake.md)
* [Create Calendar Event](https://docs.appfarm.io/library/action-nodes/create-calendar-event.md)
* [Open Print Dialog](https://docs.appfarm.io/library/action-nodes/open-print-dialog.md)
* [Open Unsplash Dialog](https://docs.appfarm.io/library/action-nodes/open-unsplash-dialog.md)
* [Invalidate Cache](https://docs.appfarm.io/library/action-nodes/invalidate-cache.md) (Services only)


---

# 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.appfarm.io/library/action-nodes.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.
