# Text Parse Action

This operation will trigger when the user types a generic text matching a given regular expression. This operation is global and always active in any part of the behaviour.

<figure><img src="https://3974284760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZEstFBYh3uMutlup6ku%2Fuploads%2FPN3qI52anaQiZnydMm6a%2FGloabl%20Text%20Trigger.png?alt=media&#x26;token=c9a57f08-480a-402b-9886-440b67969c5e" alt="" width="388"><figcaption></figcaption></figure>

### Settings

The action uses the following settings:

| Setting                | Description                                                                                                                                                   | [Parsed](https://docs.mylinkconnect.com/actions-and-operations/dynamic-parsing) |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| Control Expression     | A valid regular expression that will parse the incoming text or a simple text                                                                                 | :white\_check\_mark:                                                            |
| Expression Flag Mode   | Specifies if the regular expression is parsed on multiple lines or only a single line                                                                         | :white\_check\_mark:                                                            |
| Target Variable        | The variable that will hold the user text that triggered the action.                                                                                          | :white\_check\_mark:                                                            |
| Can Bypass Input State | Enabling this option will allow the automatic activation to override any currently blocking input and activate the associated flow.                           | :no\_entry:                                                                     |
| React to Page Comments | Enable or Disable real-time [Facebook post integration](https://docs.mylinkconnect.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

Text detection can happen in two different ways: using simple text or using a Regular Expression.&#x20;

* Simple text\
  The text you enter in Control Expression is directly matched with the user input. For example entering *this is awesome* will match any sentence containing that exact text.\
  You can use a pipe (|) symbol to match multiple sentences. So to match *this is awesome* and *this is great*, you can enter *this is awesom&#x65;**|**&#x74;his is great* in Control Expression.<br>
* Regular Expression\
  Xenioo supports standard [Regular Expression notation](https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference). The input text will be matched against the regular expression specified in Control Expression.

Regardless or the selected method, text detection is always case insensitive.

### Trigger

Expression Match. This action will trigger any child operation as soon as the user input is matching the specified Control Expression.

### Variables

This action does not produce any variable but the one specified in the Target Variable setting.

### 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.mylinkconnect.com/execution#global-and-local-actions) or [Behavior level.](https://docs.mylinkconnect.com/execution#global-and-local-actions)&#x20;
