Auto-classify emails - Email Classification
Overview
Our email classification pattern, available in Marketplace in Builder enables the automatic classification and categorization of Tickets, without agents having to do this manually so that by the time an agent picks a Ticket it up, it's already where it needs to be.
This pattern is available via the following providers:
EnateAI Setup
EnateAI is a zero configuration option supplied by Enate which uses our own Azure hosted OpenAI Instance for the GPT3 Engine.
This instance is shared with anyone that enables EnateAI so if you have high volume/high demand then you may be better off configuring your own Azure Open AI instance and using an Azure Open AI Adapter Version.
The setup of EnateAI for all patterns is super simple - simply click to activate.
![](https://docs.enate.net/~gitbook/image?url=https%3A%2F%2F3859925423-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MWYnDNwe3Cuo4zlGbs5-887967055%252Fuploads%252Fx3esvfCkT5WjLBYakZdC%252FEmail%2520Classification%2520Activate.png%3Falt%3Dmedia%26token%3Df6decf0d-580d-4d26-825c-2d5f6d823995&width=768&dpr=4&quality=100&sign=7cd95b0&sv=1)
OpenAI GPT3 Setup
OpenAI Adapters allow you to talk to the OpenAI API directly via your own OpenAi account and API keys, this will be using the OpenAI API which is open to everyone. You can also monitor usage of API requests sent via this API in the OpenAI interface.
To setup OpenAI for email classification, follow these steps:
Click on 'Activate' on the 'OpenAI GPT3 - Email Classification' option in Enate Marketplace.
![](https://docs.enate.net/~gitbook/image?url=https%3A%2F%2F3859925423-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MWYnDNwe3Cuo4zlGbs5-887967055%252Fuploads%252Foq9gUi477cWtvooABLpF%252Fimage.png%3Falt%3Dmedia%26token%3D15716aa2-0777-4d58-adaf-4fa062206f6f&width=768&dpr=4&quality=100&sign=3ae8e067&sv=1)
In the resulting pop-up, enter the following information:
the URL of the instance - this is the base URL for OpenAI, i.e. https://api.openai.com/
the API key - this you can create from the OpenAI API keys page https://platform.openai.com/account/api-keys
![](https://docs.enate.net/~gitbook/image?url=https%3A%2F%2F3859925423-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MWYnDNwe3Cuo4zlGbs5-887967055%252Fuploads%252FyGbtIdz7ApIaz7SdhQA1%252Fimage.png%3Falt%3Dmedia%26token%3Deba1b82f-35f5-43a5-a579-5b514809ac76&width=768&dpr=4&quality=100&sign=974af6f&sv=1)
Click to test the connection
Once the connection has been successfully tested, click to activate. Your Email Classification pattern provided by OpenAI is ready to be used.
Further notes of interest
The OpenAI API keys page is where you can create further API keys and manage your existing ones.
![](https://docs.enate.net/~gitbook/image?url=https%3A%2F%2F3859925423-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MWYnDNwe3Cuo4zlGbs5-887967055%252Fuploads%252FNLTQmjQLAlTwEUAX1dsg%252Fimage.png%3Falt%3Dmedia%26token%3D997ca7c5-8c7a-408e-91ad-2a6a1e1799b1&width=768&dpr=4&quality=100&sign=3468f990&sv=1)
You can monitor the usage and breakdown of requests of the OpenAI account on the OpenAI Usage page:
![](https://docs.enate.net/~gitbook/image?url=https%3A%2F%2F3859925423-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MWYnDNwe3Cuo4zlGbs5-887967055%252Fuploads%252FHGd66I3W51BfEu5oLC1P%252Fimage.png%3Falt%3Dmedia%26token%3Da80f50c5-f3d3-4d9a-8bf0-d511b50d3000&width=768&dpr=4&quality=100&sign=cbef6294&sv=1)
Azure OpenAI GPT3 Setup
AzureAI allows you to use your own Azure instance of OpenAI which you can manage and control, giving you a great deal of control and detail of the information going through the API.
To setup Azure OpenAI for email classification, follow these steps:
Click on 'Activate' on the 'Azure OpenAI GPT3 - Email Classification' option in Enate Marketplace.
![](https://docs.enate.net/~gitbook/image?url=https%3A%2F%2F3859925423-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MWYnDNwe3Cuo4zlGbs5-887967055%252Fuploads%252FguLr1WmQJ846mndhIuGG%252Fimage.png%3Falt%3Dmedia%26token%3D27391c58-c5e9-474c-a841-646f8168748b&width=768&dpr=4&quality=100&sign=fab676f4&sv=1)
Enter the following information, all of which can be gathered from your Azure OpenAI instance, in the resulting pop-up:
![](https://docs.enate.net/~gitbook/image?url=https%3A%2F%2F3859925423-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MWYnDNwe3Cuo4zlGbs5-887967055%252Fuploads%252Fcj3ilztUYuJFBcexnAn6%252Fimage.png%3Falt%3Dmedia%26token%3D743dbb27-239d-4aca-8d4d-d71c4b610fba&width=768&dpr=4&quality=100&sign=c0fad39f&sv=1)
Resource Name - this is the Azure Resource Name which can be found by navigating to your OpenAI Cognitive Services in Azure, accessing your Azure OpenAI Resource and opening the resource. The resource name can be found in the overview page, next to 'Resource group'
![](https://docs.enate.net/~gitbook/image?url=https%3A%2F%2F3859925423-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MWYnDNwe3Cuo4zlGbs5-887967055%252Fuploads%252FWzMIOHWTcZoYUXpa8Ztk%252Fimage.png%3Falt%3Dmedia%26token%3Dcfe99c0b-a3ba-4b46-8680-99c79bc88c8a&width=768&dpr=4&quality=100&sign=f7a7afde&sv=1)
Deployment Name - to find this, go to the 'Model deployments' section in Azure OpenAI studio and then click on 'Manage Deployments'.
![](https://docs.enate.net/~gitbook/image?url=https%3A%2F%2F3859925423-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MWYnDNwe3Cuo4zlGbs5-887967055%252Fuploads%252FBUln83gZVx2D8gTagjC7%252Fimage.png%3Falt%3Dmedia%26token%3Db55735fd-4c66-4f77-9ab1-db223dd062ec&width=768&dpr=4&quality=100&sign=d27359a5&sv=1)
Then click on the 'Deployments' section on the left and the deployment name will appear on the right - this is the value you need.
![](https://docs.enate.net/~gitbook/image?url=https%3A%2F%2F3859925423-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MWYnDNwe3Cuo4zlGbs5-887967055%252Fuploads%252F7uSToz19ihEIGmIF2Uqa%252Fimage.png%3Falt%3Dmedia%26token%3D4ae1be46-04d7-4a8d-9e9f-d6aca4c2a371&width=768&dpr=4&quality=100&sign=bc607ae5&sv=1)
API Key - this is configured back in the OpenAI Portal, from the 'Keys and Endpoints' section on the left. This is where you can generate new keys and manage existing ones. Enter one of these keys.
![](https://docs.enate.net/~gitbook/image?url=https%3A%2F%2F3859925423-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MWYnDNwe3Cuo4zlGbs5-887967055%252Fuploads%252FHqp4Pgv5qZjr5ATTLYOm%252Fimage.png%3Falt%3Dmedia%26token%3Da2fa6730-71e6-4f0f-9780-46f5ce58b8b6&width=768&dpr=4&quality=100&sign=29ce30ef&sv=1)
Click to test the connection
Once the connection has been successfully tested, click to activate. Your Email Classification pattern provided by OpenAI is ready to be used.
UiPath Communications Mining Setup
UiPath Communications Mining provides communication analysis and to help automate your processes.
The following video takes you through how to setup UiPath Communications Mining for email classification.
Last updated