# NLP Processing Action

This operation will trigger when a specific NLP statement is detected with a given confidence. This operation is global and can be activated anywhere during the conversation.

![](https://2532694803-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPD9c4fJbXSAZcPHt9%2F-LfEJPvv1__thd3H3QnA%2F-LfEJbKxoRFrXLwHn6N7%2Fimage.png?alt=media\&token=6d0658c7-bf6c-4a13-827b-c48435a09df7)

### Settings

The action uses the following settings:

| Setting                | Description                                                                                                                                                        | [Parsed](https://docs.xenioo.com/actions-and-operations/dynamic-parsing) |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| Intent                 | The [local](https://docs.xenioo.com/ai/nlp/intents) or [global NLP](https://docs.xenioo.com/ai/nlp/nlp-master) intents that you want to detect                     | :white\_check\_mark:                                                     |
| Confidence             | The minimum confidence required to trigger this action                                                                                                             | :no\_entry:                                                              |
| Append Entities        | If enabled entities detected by this intent will be appended to existing entity variables. If disabled, entities values will override the current variable values. | :no\_entry:                                                              |
| React to Page Comments | Enable or Disable real-time [Facebook post integration](https://docs.xenioo.com/basic-concepts/publishing/channels/facebook#page-posting-integration).             | :no\_entry:                                                              |
| Specific Post Id       | Contains the full Facebook post id to be watched. If left empty, the trigger will fire for any post on your page.                                                  | :white\_check\_mark:                                                     |

### Remarks

Intents that have [an active automatic redirection or reply](https://docs.xenioo.com/ai/nlp/intents#activation) will not be listed in the Intents list in this action. These intents have their own automatic trigger and cannot be used inside the chatbot builder.

If multiple intents are selected, only the best one will be checked against the given confidence.

### Trigger

NLP Detected. This action will trigger any child operation as soon as the user input is matching the selected intent with at least the specified confidence.

### Variables

This action produces the following variables after being triggered:

| Variable               | Description                                                                           |
| ---------------------- | ------------------------------------------------------------------------------------- |
| last\_detected\_intent | The full name of the detected intent.                                                 |
| detected\_locale       | The [locale ](https://docs.xenioo.com/ai/nlp/intents#language)of the detected intent. |
| last\_entity           | The full list of all entities values separated by a semicolon                         |

Every [entity](https://docs.xenioo.com/ai/nlp/entities) specified in the detected [expression ](https://docs.xenioo.com/ai/nlp/expressions)will be translated to a runtime variable named after the entity name.

### Availability

Channel specific availability follows the table below:

| Channel          | Availability                                                           |
| ---------------- | ---------------------------------------------------------------------- |
| Facebook         | Fully Available.                                                       |
| WhatsApp         | Fully Available.                                                       |
| Telegram         | Fully Available.                                                       |
| Web              | Fully Available.                                                       |
| Alexa            | **Not Available. Out of AI Detection is not supported inside skills.** |
| Google Assistant | Fully Available.                                                       |
| Slack            | Fully Available.                                                       |
| API              | Fully Available.                                                       |

This action can be used only at [Bot Global level](https://docs.xenioo.com/execution#global-and-local-actions) or [Behavior level.](https://docs.xenioo.com/execution#global-and-local-actions)&#x20;
