Custom actions

ThoughtSpot provides a set of standard actions in the primary menu bar, More menu, and the contextual menu that appears when a user right-clicks on an answer or visualization.

ThoughtSpot supports adding custom actions to an answer or visualization page. For example, you may want to create a custom action that allows pushing business insights from ThoughtSpot to an external app or a specific URL.

Similarly, if you have embedded ThoughtSpot in another app, you can add a custom action to trigger a callback event to the host application and initiate a response payload.

Custom action creation

ThoughtSpot Developer Portal allows you to create, modify, and delete custom actions. Users with Developer or Administrator privilege can create the following types of actions:

URL actions

A URL action allows you to send data from an answer or visualization to a specific URL in a POST request.

Callback actions

A callback action triggers a callback event to the parent application and pushes the answer or visualization data in a response payload. Callback actions are supported only on embedded instances and require a ThoughtSpot Everywhere Edition license.

Global and local actions

When creating a custom action, developers can configure it as a global or local action. They can also restrict custom action availability to specific user groups.

By default, a global action appears as a menu action in the More menu on all visualizations. Authorized users can edit the position of a global action on a visualization or saved answer by using the edit icon in the Custom actions panel.

A local action is not assigned to any visualization or saved answer by default. Authorized users can add a local action to a saved answer, visualization, or worksheet. If you add a local action to a worksheet, all new answers built using that worksheet display the action in the specified location.