- Creates a query definition based on the filters applied to the visual and on the data and limit specifications in the associated action template.
- Sends the query definition to your application. Your application can use the Self-Service Analytics API to run the query and display or use the data that it collects.
The following diagram depicts action processing.

- Define an Action Template
- Modify an Action Template
- Enable and Disable an Action Template
- Delete an Action Template
- Invoke an Action
Define an Action Template
Use action templates to provide specifics about the external application you want integrated with your data source. Each action template defines an application integration definition that connects Self-Service Analytics with an external application.You must be logged in as an administrator or as a user with the Manage Action Templates privilege.
Define a New Action Template
- Log in as a n administrator or a user with the Manage Action Templates privilege.
-
Select Tools > Actions from the Administration menu. The Actions page appears.
The Actions page is split into two parts. Action templates (if any) you have defined are listed on the left. When you select an action template on the left, its details appear on the right.

-
Select the add icon
. Action properties are listed on the right side of the page.

-
Specify appropriate action properties on the right side of the page, as described below.
- Select Save.
Invoke an Action
After you define an action template and enable it for a data source, you can invoke this action from a visual on your dashboard that uses the data source. The invoked action:- Creates a query definition based on the filters applied to the visual and on the data and limit specifications in the associated action template.
- Sends the query definition to your application. Your application can use the Self-Service Analytics API to run the query and display or use the data that it collects.
To control whether actions can be invoked on a visual, use the interactivity sidebar. See Control How Users Interact With a Visual.
Invoke an Action from a Visual
- Log in as an administrator or a user with the Invoke Actions privilege.
- Select the dashboard containing a visual that uses the data source for which you have defined and enabled one or more action templates.
- Filter or group the visual data as needed. For example, if you only want to send sales data from the state of Virginia to your external application, filter your sales data visual by the state of Virginia.
-
Select an area of the visual to display the context menu and select Actions. A list of the action templates defined for the visual’s data source appears.
Alternatively, select Actions from the visual drop-down menu.
If the Actions menu option does not appear on the context menu or the visual drop-down menu, an action template is either not defined or is not enabled for the data source used by the visual.
-
Select an action template from the list. The action is invoked. A query is created and sent to your application. Use the Self-Service Analytics API endpoint
api/actionin your application to run the query. API documentation is provided in your environment at this link:https://<Self-Service Analytics-URL>/composer/swagger-ui.html.
Modify an Action Template
Modify an Existing Action Template
- Log in as an administrator or a user with the Manage Action Templates privilege.
- Select Tools > Actions from the Administration menu. The Actions page appears. The Actions page is split into two parts. Action templates (if any) you have defined are listed on the left. When you select an action template on the left, its details appear on the right.
-
Locate and select the action template you want to modify in the list on the left.
You can locate an action template using the search bar on the top left side of the Actions page. You can also filter the action template by the data source to which they apply using the drop-down list on the top left side of the Actions page. When you do this, only action templates for the selected data source configuration are shown in the list.
The properties for the selected action template appear on the right side of the Actions page.
-
Modify action properties on the right side of the page, as needed.
- Select Save.
Delete an Action Template
- Log in as an administrator or a user with the Manage Action Templates privilege.
- Select Tools > Actions from the Administration menu. The Actions page appears. The Actions page is split into two parts. Action templates (if any) you have defined are listed on the left. When you select an action template on the left, its details appear on the right.
-
Locate the action template you want to delete in the list on the left.
You can locate an action template using the search bar on the top left side of the Actions page. You can also filter the action template by the data source to which they apply using the drop-down list on the top left side of the Actions page. When you do this, only action templates for the selected data source configuration are shown in the list.

-
Select the delete icon
next to the action template you want to delete on the left side of the Actions page.
- Select Delete to delete the action template.
Enable and Disable an Action Template
Only enabled action templates can be invoked from Self-Service Analytics. You can enable and disable action templates using the user interface.You must be logged in as an administrator or as a user with the Manage Action Templates privilege.
Enable an Action Template
- Log in as an administrator or a user with the Manage Action Templates privilege.
- Select Tools > Actions from the Administration menu. The Actions page appears. The Actions page is split into two parts. Action templates (if any) you have defined are listed on the left. When you select an action template on the left, its details appear on the right.
-
Locate and select the action template you want to enable in the list on the left.
You can locate an action template using the search bar on the top left side of the Actions page. You can also filter the action template by the data source to which they apply using the drop-down list on the top left side of the Actions page. When you do this, only action templates for the selected data source configuration are shown in the list.

- On the right side of the Actions page, slide the Enable Action selector to the right to enable the action template.
- Select Save.
Disable an Action Template
- Log in as an administrator or a user with the Manage Action Templates privilege.
- Select Tools > Actions from the Administration menu. The Actions page appears. The Actions page is split into two parts. Action templates (if any) you have defined are listed on the left. When you select an action template on the left, its details appear on the right.
-
Locate and select the action template you want to disable in the list on the left.
You can locate an action template using the search bar on the top left side of the Actions page. You can also filter the action template by the data source to which they apply using the drop-down list on the top left side of the Actions page. When you do this, only action templates for the selected data source configuration are shown in the list.

- On the right side of the Actions page, slide the Enable Action selector to the left to disable the action template.
- Select Save.