# Creating investigations

After [creating an investigation](https://docs.nexthink.com/platform/user-guide/getting-started-with-investigations#creating-investigations), switch between **Visual editor** and **NQL editor** using the toggle at the top-left corner of the investigation page—to build the investigation query:

* Select [Visual editor](https://docs.nexthink.com/platform/user-guide/investigations/creating-investigations/visual-editor) to use a graphical tool to build investigation queries.
* Select [NQL editor](https://docs.nexthink.com/platform/user-guide/investigations/creating-investigations/nql-editor) to write investigation queries in [Nexthink Query Language (NQL)](https://docs.nexthink.com/platform/user-guide/nexthink-query-language-nql).

Alternatively, with the support of [Nexthink Assist](https://docs.nexthink.com/platform/user-guide/search-and-nexthink-assist/using-nexthink-assist#query-data-with-assist), you may build investigation queries without any prior knowledge of **Visual editor** or NQL.

{% hint style="info" %}
Install the [Nexthink Library Investigations starter](https://docs.nexthink.com/platform/library-packs/it-operations/investigations-starter-pack) pack with predefined investigations to quickly gain insights on common issues without manually writing NQL queries, or using Nexthink Assist or Visual editor to query data.
{% endhint %}

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