# IBM Watson Assistant Detection Action

This action will parse any user text through IBM Watson Assistant AI engine. The conversation will not hold as a direct input. This action will trigger whenever the user text matches the configured intent.

![](/files/-M60QW3ChsThse11CKzu)

### Settings

The action uses the following settings:

| Setting                       | Description                                                                                                              | [Parsed](/actions-and-operations/dynamic-parsing.md) |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------- |
| API Version                   | Choose the IBM Watson API Version to use                                                                                 | :no\_entry:                                          |
| Username                      | The IBM Watson integration username                                                                                      | :white\_check\_mark:                                 |
| Password                      | The IBM Watson integration password                                                                                      | :white\_check\_mark:                                 |
| Workspace Id or Workspace Url | Set here the full workspace id or the full workspace url of your IBM Watson assistant API integration                    | :white\_check\_mark:                                 |
| Intent                        | The full name of the intent you want to be parsed. Use asterisk (\*) to accept any intent                                | :white\_check\_mark:                                 |
| Detection Confidence          | The minimum confidence required to trigger this action                                                                   | :no\_entry:                                          |
| Display intent reply in chat  | If enabled, Connect will display a message bubble with the text you've specified as possible intent reply on IBM Watson. | :no\_entry:                                          |

### Remarks

When used inside an [interaction](/basic-concepts/the-chatbot-designer/interactions_concepts.md) or [behavior](/basic-concepts/the-chatbot-designer/behaviours_concepts.md), this action **is not blocking.** The conversation is not halted and the user can continue freely. If you want to stop the user until the question requirements have been met, you can use the [IBM Watson Assistant Input](/actions-and-operations/input/ibm-watson-assistant/xenioo.bots.actions.ibmwatson.ibmwatsonassistantinputaction.md).

This action is optimized to use IBM Watson API only once per user input. Even using multiple IBM Watson Detection actions will result in a single API call. Every IBM Watson AP call will count as an [additional chatbot message](/basic-concepts/your-account/messages-count.md#integrations).

Any integration issue that MyLINK Connect encounters during IBM Watson API calls can be found inside each conversation [Execution Diagram](/actions-and-operations/execution/execution-diagram.md) or inside the chatbot preview [Execution Diagram](/actions-and-operations/execution/execution-diagram.md).

If required, instead of the standard Workspace Id, the Legacy v1 Workspace URL can be found the API Details page you can see in the following picture:

![](/files/-LfOEAM-70vDFBol9Fj4)

###

### Trigger

On Intent 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                             |
| --------------------- | --------------------------------------- |
| wat\_detected\_intent | The intent detected during last input   |
| wat\_reply            | The intent reply received by Dialogflow |

Every [entity](/artificial-intelligence/nlp/entities.md) specified in the detected [expression ](/artificial-intelligence/nlp/expressions.md)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            | Fully Available. |
| Google Assistant | Fully Available. |
| Slack            | Fully Available. |
| API              | Fully Available. |

This action can be used only at [Bot Global level](/actions-and-operations/execution.md#global-and-local-actions) or [Behavior level.](/actions-and-operations/execution.md#global-and-local-actions)

### Further Reading

{% embed url="<https://www.xenioo.com/en/integrating-ibm-watson-assistant-nlp-with-xenioo/>" %}


---

# Agent Instructions: 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:

```
GET https://docs.mylinkconnect.com/actions-and-operations/input/ibm-watson-assistant/xenioo.bots.actions.ibmwatson.ibmwatsonassistantintentdetectionaction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
