> For the complete documentation index, see [llms.txt](https://docs.uncodie.com/1.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uncodie.com/1.0/documentation/figma-plugin/actions.md).

# Actions

Javascript code executions

## Overview

Actions are javascript function calls that can send contextual parameters from your application. Uncodie allows you to create any custom action for your application.

## Setup

Actions depend upon events to be triggered, once the event is triggered by the app your selected Action will be triggered, for events setup see:

{% content-ref url="/pages/odUjRV0vRtuJpaKEHxh9" %}
[Broken mention](broken://pages/odUjRV0vRtuJpaKEHxh9)
{% endcontent-ref %}

## Default Actions

### Variable Setting

Use this action to easily set a variable state in the app, for more information see:l

{% embed url="<https://docs.uncodie.com/1.0/v/documentation/actions/set-variable>" %}

### Queries Refreshing

Use this action to easily refresh a Querie loaded on the screen

{% embed url="<https://docs.uncodie.com/1.0/v/documentation/actions/refresh-datasource-query>" %}

### Select and Navigate

Use this action to easily select a property in your component data source and pass it as a URL param for the Route Context to the next screen, for more information see:

{% embed url="<https://docs.uncodie.com/1.0/v/documentation/actions/select-and-navigate>" %}

## Use Cases

### Adding Custom Logic

You can add custom logic to your app by creating actions tailored to your app's most common use cases and triggering those actions from your app events.

## Creating a Javascript Action

### Custom Logic

1. Navigate to the **Events** section of the **IDE**
2. Select **New Event**
3. Select your action trigger&#x20;
4. Select **No Code**

### Importing a Script

You can use any external script and pass the parameters you require to use it, see:

{% embed url="<https://docs.uncodie.com/1.0/custom-scripts/manifest>" %}
