> ## Documentation Index
> Fetch the complete documentation index at: https://coconut-grid.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an Action

Create an action in the grid tab's **Actions** or **Tools** settings.

## Create a Workflow

**1. Open the Action Editor**

Open the grid tab's settings and choose **Actions**. Click the new-action button beside **Selected Actions**.

**2. Name the Action**

Enter a **Label** and an optional **Description**. The label appears in the action menu.

**3. Add Action Nodes**

A **Start** action node is already present. Choose **Interactions**, **Data**, or **Logic**, then select an action node and use its add button, or drag it into the workflow.

**4. Configure and Connect Action Nodes**

Open an action node's menu and choose **Edit** to configure it. Click **Apply** in the action node dialog.

Connect the action nodes from **Start** in the required order. For a **Decision** action node, connect each branch output to the action node that should handle its rows. Check the connections after adding or moving action nodes.

**5. Apply and Save**

Click **Apply** in the action editor. The action appears in **Selected Actions**.

Set its position and **Show on toolbar** option, then save the tab settings.

**6. Run the Action**

Select rows if the workflow needs them. Run the action from the tab's **Actions** menu or its toolbar button.

## Example: Confirm and Save

Build [Start](https://coconut-grid.mintlify.site/actions/start.md) → [Confirm](https://coconut-grid.mintlify.site/actions/confirm.md) → [Save](https://coconut-grid.mintlify.site/actions/save.md) → [Show Message](https://coconut-grid.mintlify.site/actions/show-message.md).

**1. Configure Confirmation**

Set the **Confirm** message to “Save pending grid changes?”

**2. Add Save**

Add **Save**. This action node saves all pending edits in the grid.

**3. Configure the Message**

Configure **Show Message** with type **Info** and message “Save step finished. Review any row errors.”

**4. Save the Workflow**

Apply the workflow and save the tab settings.

Canceling the confirmation prevents the dependent save step. Review the save result for row errors; partial saves can continue to the next action node.

## Save an Action for Reuse

Create an action in the **Custom** list to save a reusable definition, then add it to **Selected Actions**. You can also use **Upload** from a selected custom action's menu.

Use **Reload** on a selected action when you want to replace it with the latest source definition. See [Reuse Custom Actions](https://coconut-grid.mintlify.site/actions/overview.md#reuse-custom-actions) for the distinction between saved definitions and selected copies.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.