> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.sigmacomputing.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.sigmacomputing.com/_mcp/server.

# Create custom context menu actions

Add custom context menu items in tables, pivot tables, input tables, and charts to provide clear, discoverable triggers for actions relevant to selected cells and data points. You can add standalone menu items or create nested submenus that execute any action effect, including [calling stored procedures](/docs/create-actions-that-call-stored-procedures), [generating iframe events](/docs/create-actions-that-trigger-embed-iframe-events), and [opening modals](/docs/create-actions-that-navigate-to-destinations#open-or-close-a-modal).

This document explains how to add custom context menu items and define them as action triggers.

## User requirements

The ability to add custom context menu items and define them as action triggers requires the following:

* You must be assigned an [account type](/docs/account-type-and-license-overview) with the **Full explore** or **Create, edit, and publish workbooks** permission enabled.
* You must be the workbook owner or have **Can explore** or **Can edit** [workbook access](/docs/folder-and-document-permissions). *If you have**Can explore** access, you can create and configure custom context menu items in custom views only.*

## Add custom context menu items

Add standalone menu items or create nested submenus to supplement existing cell or data point context menus.

1. Select the element you want to customize.

2. In the editor panel, open the **Format** tab.

3. Expand the **Custom context menu** section and click **+ Add an option** for each menu item you want to add.

   ![](https://files.buildwithfern.com/sigma.docs.buildwithfern.com/071db16da086f1859a654efe8ddcc957723217c12175af6be860e7526b822de7/assets/docs-images/05b259a33bed8d6ef9b530b9a74653420d334079eb7ed4fc647433599c9d8390-image.png)

4. In each menu item card, double-click the "Option" placeholder text and enter the label to display in the menu. You can also click <img src="https://sigma-docs-screenshots.s3.us-west-2.amazonaws.com/Icons/more.svg" alt="" /> **More** and select **Rename** to edit the text.

   ![](https://files.buildwithfern.com/sigma.docs.buildwithfern.com/ce1342c5095f6edf98d411eec49a95f7963e2f142b8d019f8bf1b066929a29df/assets/docs-images/692761cbcbd89734f75321f9c55a3f2d3ea29b051e68bffdbb4eb55935d07ee9-image.png)

5. \[optional] To reorder the menu items, click and hold any card's drag handle (<img src="https://sigma-docs-screenshots.s3.us-west-2.amazonaws.com/Icons/drag-handle-dots.svg" alt="" />), then move it to the desired position.

   ![](https://files.buildwithfern.com/sigma.docs.buildwithfern.com/c4f94ff5bd8b34c0de017b66eebeb7dc614f4e452d944597cf55a1464639f670/assets/docs-images/45deddbed1ca6fda26d72ea5c969c5fa7517dc06ce45e370f0c481a3d752087f-image.png)

6. \[optional] To create a nested submenu, click and hold a card's drag handle (<img src="https://sigma-docs-screenshots.s3.us-west-2.amazonaws.com/Icons/drag-handle-dots.svg" alt="" />), then drag it below the parent menu item and slightly to the right. You can also click <img src="https://sigma-docs-screenshots.s3.us-west-2.amazonaws.com/Icons/more.svg" alt="" /> **More**, then hover over **Move to** and select the name of the parent menu item.

   When a menu item is successfully nested in a submenu, it displays as an indented card below the parent menu item.

   ![](https://files.buildwithfern.com/sigma.docs.buildwithfern.com/548b81e2a62f52366d8a8169b5624ceab4d26f9fc039d6c108c110a3e8562acb/assets/docs-images/4a6267479adaf56924cc2527a9b2d50d05a3fc20352a48d3a6a0cc9d8c610aaa-image.png)

   With nested submenus, you can only configure actions on child menu items. Parent menu items cannot trigger actions.

7. \[optional] To delete a menu item, hover over the card, then click <img src="https://sigma-docs-screenshots.s3.us-west-2.amazonaws.com/Icons/more.svg" alt="" /> **More** and select **Delete**. When you delete a parent menu item, any child menu items are also deleted.

   ![](https://files.buildwithfern.com/sigma.docs.buildwithfern.com/e372478a36e53fe792f3b3ab4aa8105caa7be1b26780aa3f8980219ae8c6aa78/assets/docs-images/eeb52b95d1a139a75b03ea5f39e793ee9f1aad13852ca5bf9c00fd585d63464b-image.png)

## Define custom context menu items as action triggers

Configure action sequences with custom context menu items as the triggers.

1. Select the element containing custom context menu items.

2. In the editor panel, open the **Actions** tab.

3. Click <img src="https://sigma-docs-screenshots.s3.us-west-2.amazonaws.com/Icons/button-add.svg" alt="" /> **Add action sequence** to create a new sequence, or apply the following steps to the default empty sequence. Each menu item requires a separate sequence.

   ![](https://files.buildwithfern.com/sigma.docs.buildwithfern.com/dcc03ff82707bf9e7cd431bb6cd5a4dd01f83cf2c387fdbbcb6d87b04908b350/assets/docs-images/4d9613755968927568371b1b21026df71216b35b0068ce35265ef32c3e24b093-image.png)

4. In the sequence, configure the menu item as the action trigger:

   1. Click the trigger type field (upper field) and select **Cell context menu**.
   2. Click the trigger target field (lower field) and select the name of a specific menu item.

   ![](https://files.buildwithfern.com/sigma.docs.buildwithfern.com/1124b5a16011da2fab3f3a30e8ff354d8731d16364c1b60ade69cfa3766707f9/assets/docs-images/a870691700b803da667b56c4893d372698cebd92e54468bd951d263c20b70af3-image.png)

5. Configure the remaining logic on the menu item. See [Action effects](/docs/intro-to-actions#action-effects) for information about available effects and links to corresponding configuration steps.

6. Repeat steps 3 through 5 for all single menu items and nested child menu items.