# Tracking Amplify usage

Understanding how support agents use Amplify is key to maximizing its value. Nexthink provides **usage** data across products, including Amplify-specific tasks, through the `usage.account_actions` NQL table—allowing you to build dashboards, run reports, and identify gaps in adoption.

Examples of Amplify-specific telemetry available in `usage.account_actions` NQL fields:

* Checklist usage, measured in events per checklist.
* Remote action and workflow usage, measured in events per remote action and workflow.
* Timestamped instances of which feature and which action were used, broken down by user.

{% hint style="info" %}
For overall Nexthink usage analysis, refer to [#nexthink-usage-data](https://docs.nexthink.com/platform/understanding-key-data-platform-concepts/data-we-collect-and-store#nexthink-usage-data "mention").
{% endhint %}

## Enabling Amplify usage data collection

To start tracking Amplify usage data, you must first enable the relevant settings.

From the sidebar on the Nexthink platform:

1. Navigate to **Administration > Amplify**.
2. Under **Product usage**, check the **Enable usage data collection** box.
3. **Save** your settings.

{% hint style="warning" %}
After **enabling usage data collection** for Amplify, the ability to query Nexthink usage telemetry is only available to user roles with **Data model visibility** into **Nexthink Usage**.&#x20;

Refer to the [#data-model-visibility](https://docs.nexthink.com/platform/administration/account-management/roles#data-model-visibility "mention") documentation.
{% endhint %}

<figure><img src="https://268444917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxJSUDk9NTtCHYPG5EWs3%2Fuploads%2Fgit-blob-638d563ef3349cc63d30e02d9333ca2b1df4e839%2Fenable_data_collection.png?alt=media" alt=""><figcaption></figcaption></figure>

## Accessing Amplify usage data

You can access `usage.account_actions` NQL data through **Investigations,** or by aggregating it into a dashboard visualization.&#x20;

Find below example queries for amplify-specific telemetry use cases. For overall Nexthink usage analysis, refer to [#nexthink-usage-data](https://docs.nexthink.com/platform/understanding-key-data-platform-concepts/data-we-collect-and-store#nexthink-usage-data "mention").

<details>

<summary>Checklist usage in events per checklist</summary>

```
usage.account_actions during past 90d
| where feature == "checklists" and action in ['open_tab', 'open_checklist']
| summarize events = count() by action_target
| sort events desc
```

</details>

<details>

<summary>Remote action and workflow usage in events per remote action and workflow</summary>

```
usage.account_actions during past 90d
| where action in ['trigger_remote_action', 'trigger_workflow']
| summarize triggered_from_actions = countif( feature == 'actions' ), triggered_from_checklists = countif( feature == 'checklists' ) by action, action_target
| sort triggered_from_actions desc
```

</details>

<details>

<summary>Usage of the packages tab use for L1 and L2 roles</summary>

```
usage.account_actions during past 90d
| where feature == 'packages'
| summarize l1_active_users = countif( platform.account.roles contains "L1 Agents" ), l2_active_users = countif( platform.account.roles contains "L2 Agents" )
```

</details>

### List of actions to track Amplify usage in NQL

The system monitors Amplify usage by tracking these related actions performed by users.

<table><thead><tr><th width="154.5859375">Feature</th><th width="230.171875">Action</th><th width="137.625">Action target</th><th>Description</th></tr></thead><tbody><tr><td>search</td><td>search</td><td>-</td><td>A search was triggered in Amplify</td></tr><tr><td>search</td><td>open_device_view</td><td>-</td><td>Device view is opened from Amplify</td></tr><tr><td>properties</td><td>view_user</td><td>-</td><td>Properties of a user are opened after a search</td></tr><tr><td>properties</td><td>copy_user_properties</td><td>-</td><td>Properties of the user were copied</td></tr><tr><td>properties</td><td>open_device_of_user</td><td>-</td><td>Open the device from the user properties</td></tr><tr><td>properties</td><td>view_device</td><td>-</td><td>Properties of a device are opened after a search</td></tr><tr><td>properties</td><td>copy_device_properties</td><td>-</td><td>Properties of the device were copied</td></tr><tr><td>properties</td><td>open_user_of_device</td><td>-</td><td>Open the user from the device properties</td></tr><tr><td>checklists</td><td>open_tab</td><td>Checklist name</td><td>Go to the checklist tab</td></tr><tr><td>checklist</td><td>copy_properties</td><td>Checklist name</td><td>Copy properties from a checklist</td></tr><tr><td>checklists</td><td>open_checklist</td><td>Checklist name</td><td>Switch to a checklist from the checklist tab</td></tr><tr><td>checklists</td><td>trigger_remote_action</td><td>Remote action name</td><td>Trigger a remote action from the checklists tab</td></tr><tr><td>checklists</td><td>trigger_workflow</td><td>Workflow name</td><td>Trigger a workflow from the checklists tab</td></tr><tr><td>checklists</td><td>copy_remote_action_results</td><td>Remote action name</td><td>Copy remote action results from the checklists tab</td></tr><tr><td>checklists</td><td>copy_workflow_results</td><td>Workflow name</td><td>Copy workflow results from the checklists tab</td></tr><tr><td>actions</td><td>open_tab</td><td>-</td><td>Open the actions tab</td></tr><tr><td>actions</td><td>trigger_remote_action</td><td>Remote action name</td><td>Trigger a remote action from the actions tab</td></tr><tr><td>actions</td><td>trigger_workflow</td><td>Workflow name</td><td>Trigger a workflow from the actions tab</td></tr><tr><td>actions</td><td>copy_remote_actions_results</td><td>Remote action name</td><td>Copy remote action results from the actions tab</td></tr><tr><td>actions</td><td>copy_workflow_results</td><td>Workflow name</td><td>Copy workflow results from the actions tab</td></tr><tr><td>packages</td><td>open_tab</td><td>-</td><td>Open the packages tab</td></tr></tbody></table>
