# Operations Based on the Presence of Certain Words

* Open your Convai Character blueprint and click on `Class Settings` and then on `ConvaiChatbot` component.&#x20;
* Under the `Details` section scroll down to the `Events` section and add `On Transcription Received` event.&#x20;

<figure><img src="https://413558230-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FzyMcLBkNbr0kBGcYBfow%2FWordDetection.jpg?alt=media&#x26;token=5c0fa21d-7d79-4d8d-be6d-ecfe2c6a5dcb" alt=""><figcaption><p>Add On Transcription Received Event to Event graph. </p></figcaption></figure>

* Once we have the transcription of player input, we can perform a substring search on it.

<figure><img src="https://413558230-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FC3wsn78e0vb79POfk0rk%2Fimage.png?alt=media&#x26;token=7b8b8ebb-c91d-4ea6-b30b-1fe92d6f513d" alt=""><figcaption><p>Substring search on transciption. </p></figcaption></figure>

{% hint style="info" %}
The Print String at the end is just an example. You can add your logic after the substring match.&#x20;
{% endhint %}

&#x20;
