> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexthink.com/user-guide/adopt/guide-creation-and-management-from-nexthink-applications/configuring-adoption-settings/adopt-conditions.md). Agents can also search and read this documentation through its [MCP server](https://docs.nexthink.com/~gitbook/mcp).

# Guides conditions

Define conditions to autostart a guide, display it in context help, or show a [Journey](https://docs.nexthink.com/user-guide/adopt/guide-creation-and-management-from-nexthink-applications/creating-and-managing-guide-journeys.md) in context help.

This page outlines each condition and examples of use cases. Refer to [Configuring Adoption settings](https://docs.nexthink.com/user-guide/adopt/guide-creation-and-management-from-nexthink-applications/configuring-adoption-settings.md#configuring-context-help-settings-for-the-selected-application) to learn how to configure Context help settings and conditions.

* **Autostart** is available for **Walkthrough** and **Tooltip** guides.
* **Context help** is available for **Walkthrough** and **Media** guides.

{% hint style="info" %}
**Autostart** and **context help** conditions are independent of one another.
{% endhint %}

When multiple conditions are defined for autostart or Context help, all conditions within their own set must be met for the guide or journey to appear. For example, if you define multiple conditions for a guide to appear in Context help, all must be satisfied. If you want the same guide to start automatically, you must define separate autostart conditions.

The table below displays the condition applicability in relation to autostart, Context help and journeys.

| Condition                                   | Autostart | Context help | Journeys |
| ------------------------------------------- | :-------: | :----------: | :------: |
| Number of views                             |     ✅     |       ✅      |     ❌    |
| Number of completions                       |     ✅     |       ✅      |     ❌    |
| Number of times closed or completed         |     ✅     |       ✅      |     ❌    |
| Has not completed the current guide/journey |     ✅     |       ✅      |     ✅    |
| Has not viewed the current guide/journey    |     ✅     |       ✅      |     ✅    |
| Has completed the related guide             |     ✅     |       ✅      |     ❌    |
| Has closed or completed the related guide   |     ✅     |       ✅      |     ❌    |
| Has viewed the related guide                |     ✅     |       ✅      |     ❌    |
| Has not completed the related journey       |     ❌     |       ❌      |     ✅    |
| Has not viewed the related guide/journey    |     ✅     |       ✅      |     ✅    |
| Browser languages                           |     ✅     |       ✅      |     ✅    |
| Frequency to start guide/journey            |     ✅     |       ✅      |     ✅    |
| User attribute                              |     ✅     |       ✅      |     ✅    |
| Device attribute                            |     ✅     |       ✅      |     ✅    |
| Key pages                                   |     ❌     |       ✅      |     ✅    |

## Number of views

Starts a guide based on the number of times it has been viewed. Define rules with `is`, `is not`, `exactly`, `more than`, or `less than`.

**Example:** Autostarting a guide once and then showing it in Context help:

* **Autostart condition:** `is exactly 0` or `less than 1`
* **Context help condition:** `more than 0`

## Number of completions

Controls how often a guide appears after completion. Prevents guides from showing again after users have completed them.

## Number of times closed or completed

Similar to [Number of completions](#number-of-completions) but also counts when users close a guide without finishing it.\
Helps prevent showing the same guide too often or when completion is optional.

## Has not completed the current guide/journey

Prevents the guide or journey from starting again once it has been fully completed.

## Has not viewed the current guide/journey

Prevents the guide or journey from starting again after it has been viewed at least once.

## Has completed the related guide

Starts a guide only after one or more related guides are completed.

## Has closed or completed the related guide

Starts a guide after a related guide has been closed or completed.

## Has viewed the related guide

Starts a guide once another related guide has been viewed.

## Has not completed the related journey

Starts a journey only until a related one is completed, such as when a detailed journey replaces a broader one.

## Has not viewed the related guide/journey

Starts a guide or journey only if a related one has not been viewed.

## Browser languages

Limits visibility based on the user’s browser language. Select one or more languages from the list.

## Frequency to start guide/journey

Controls how often a guide or journey starts. Use it for reminders or process refreshers, such as starting a guide every two weeks.

Select **Frequency** from the condition list, then define the rule:

* **show guide every**: Select a number from `1` to `999` and a unit of **day**, **week**, or **month**.
* **on**: For weeks, select **any day** or one or more days of the week, such as **Mondays** and **Wednesdays**.
* **on the**: For months, select the day of the month, such as **1st**.

You can add only one frequency condition per guide. After you add it, **Frequency** no longer appears in the condition list.

The first visit to the page always starts the guide or journey. The system counts the interval from the last time the guide or journey started.

{% hint style="info" %}
The counter resets every time the guide is started, regardless of how it was launched. If an employee starts a guide from Context help, that action resets the timer for Autostart.
{% endhint %}

**Example:** A guide has an Autostart condition of `show guide every 2 days` and is also listed in Context help.

* The employee starts the guide from Context help on Monday.
* The next Autostart happens on Wednesday or later.

## User attribute

Targets specific users based on values set in custom fields. This allows you to control which users can see or start a guide or journey.

All conditions defined within a guide are evaluated with **AND** logic, meaning every condition must be true.

Multiple values within a single custom field are evaluated with **OR** logic, meaning only one of the values needs to match.

| Condition type                  | Logic used | Result                        |
| ------------------------------- | ---------- | ----------------------------- |
| Between different custom fields | AND        | All conditions must be true   |
| Within a single custom field    | OR         | At least one value must match |

**Example 1: Single Custom Field**\
A user has a custom field called **Job Title** with values such as *Manager*, *Director*, and *President*.

* **Condition:** *Job Title is “Manager”, “Director”*: The guide is available to users whose **Job Title** is either *Manager* or *Director*.
* **Condition:** *Job Title is NOT “Manager”, “Director”*: The guide is available to everyone except users with **Job Title** set to *Manager* or *Director*.

**Example 2: Multiple Custom Fields**\
When two or more custom fields are used, all conditions must be true for the guide to appear or start.

For example, there are two custom fields:

* **Job Title:** *Manager*, *Director*, *President*
* **Department:** *Sales*, *Engineering*

A guide includes two conditions:

* *Job Title is “Manager”, “Director”*
* *Department is “Sales”*

The guide will only Autostart for users who have:

* **Job Title** = *Manager* or *Director*\
  **and**
* **Department** = *Sales*

{% hint style="info" %}
Custom field values are case-sensitive. For example, if a user’s **Department** is set to *sales* (lowercase), the guide will not appear unless *sales* is also added to the condition.
{% endhint %}

## Device attribute

Targets users by device entity or country. Define conditions with `is one of` or `is not`.

## Key pages

Defines where a guide should appear in Context help. Helpful for displaying only the most relevant guides for each page or section.

***

RELATED TOPICS

* [Guide creation & management from Nexthink Applications](https://docs.nexthink.com/user-guide/adopt/guide-creation-and-management-from-nexthink-applications.md)
* [Configuring Adoption settings](https://docs.nexthink.com/user-guide/adopt/guide-creation-and-management-from-nexthink-applications/configuring-adoption-settings.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.nexthink.com/user-guide/adopt/guide-creation-and-management-from-nexthink-applications/configuring-adoption-settings/adopt-conditions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
