> For the complete documentation index, see [llms.txt](https://docs.inogic.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inogic.com/next-best-action/configuration/advance-configuration.md).

# Advance Configuration

Advance Configuration allows you to define additional business rules that control when Next Best Actions should be generated. This feature is optional and can be used when recommendations need to be generated only for records that meet specific criteria.

### Define Custom Criteria

Users can build advanced criteria by using the following options:

* Add Condition - Define a specific field condition that must be met.
* Add Group - Group multiple conditions together.
* Add Related Entity - Include fields from related entities in the criteria.

<figure><img src="/files/35vYd7neBNpslhXfx3fF" alt=""><figcaption></figcaption></figure>

Administrators can configure complex business logic using AND and OR operators to determine how conditions are evaluated.

For example:

* AND Logic: All specified conditions must be satisfied.
* OR Logic: At least one of the specified conditions must be satisfied.

Multiple conditions and groups can be combined to create highly targeted recommendation rules.

### Criteria-Based NBA Generation

<figure><img src="/files/ngbiYAayfxLOGhQ5AyDe" alt=""><figcaption></figcaption></figure>

When advanced criteria are configured:

* Next Best Actions are generated only if the record satisfies the defined criteria.

<figure><img src="/files/rrJoPaBSrSJqBmPxnS9N" alt=""><figcaption></figcaption></figure>

* If the criteria are not met, no Next Best Action will be generated for that record.
* This ensures recommendations are relevant and aligned with business requirements.

Note: Advanced criteria are optional. If no criteria are configured, Next Best Actions will be generated based on the standard entity configuration.

### Preferred Communication Method

Administrators can optionally define a preferred communication method for recommendation generation.

<figure><img src="/files/mnJEEiqKDmNSJlvLgtXB" alt=""><figcaption></figcaption></figure>

Examples:

* If a record's Preferred Method of Contact is set to Email, only email-related Next Best Actions will be generated for that record.

<figure><img src="/files/VZDHEBK6QIhMRI0uqZPN" alt=""><figcaption></figcaption></figure>

* If the preferred contact method is Phone, phone call recommendations will be generated.
* If the preferred contact method is Fax, fax-related recommendations will be generated.

This setting helps ensure that recommended actions align with the customer's preferred communication channel.

### Save Configuration

After defining the criteria and communication preferences, click Save to store the configuration.

<figure><img src="/files/p0iRrTxDUY2pXvQ8HsFl" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.inogic.com/next-best-action/configuration/advance-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
