Integrating with Messaging Channels
UnO AI Pilot can be integrated with various messaging channels such as Slack, Teams, and Google Chat.
Integration with Slack and Teams
-
Install UnO AI Pilot on a machine having a public internet connection.
-
Provide the required Slack and Teams parameters in the <values.yaml> configuration file.
-
Ensure that the email id that you set in UnO OIDC provider has right privileges and matches the email id you set on Slack and Teams.
-
Run some configuration steps for the messaging tools:
-
Define UnO AI Pilot app on Slack by following the instructions contained in the Slack documentation.
-
In addition to the settings listed in the Slack documentation, set the following parameters:
Additional bot events:
app_home_opened
Additional scopes:
users.profile:read
users:read.email
Interactivity & Shortcuts -> Request URL:
https://<UnO_host>/webhooks/slack_auth/webhook
Event Subscriptions -> Request URL:
https://<UnO_host>/webhooks/slack_auth/webhook
-
On Slack, go to General Information -> Display Information and set the fields as indicated in the App settings table below.
-
In addition to this, go to App settings ->App Home select the checkbox Allow users to send Slash commands and messages from the messages tab.
-
Register UnO AI Pilot's bot with Azure by following the instructions contained in the Azure documentation.
-
Define UnO AI Pilot app on Teams. A tutorial video for this step is also available.
-
On Teams, set the parameter Configuration -> Messaging endpoint: https:///<UnO_host>/webhooks/botframework_auth/webhook.
-
On Teams, go to App Details -> Descriptions to set the name, and the short and long descriptions for the app, as indicated in the App settings table below.
-
Go to App Details -> Branding to set the app icon as indicated in the App settings table below.
| App Settings | |
|---|---|
| App Name | UnO AI Pilot |
| Short description | Your automation Virtual Assistance |
| Long description | UnO AI Pilot is an Intelligent Virtual Assistant designed to improve the HCL Universal Orchestrator (UnO) customer experience through Natural Language Processing (NLP) interactions, enabling personalized self-service automation with instant, round-the-clock responses. As the product expert, HCL Universal Orchestrator (UnO) allows users to explore product capabilities, perform routine tasks, and receive troubleshooting support. |
| App icon for Teams | |
| App icon for Slack | |
| Background color for Teams | |
| Background color for Slack | |
Integration with Google Chat
- Google Workspace account with access to Google Chat.
- Google Cloud project (PROJECT_ID).
- In the Google Cloud console, enable the Google Chat API.
- UnO AI Pilot has to be reachable from Google Chat API.
- Provide the required Google Chat parameters in the <values.yaml> configuration file.
- Update the environment with GCP project ID, for example:PROJECT_ID="channel".
- Map the email ID of your Google Chat with the UnO OIDC provider user ID.
- Add the UnO AI Pilot app to your Google Chat/Space.
- You can now run the UnO AI Pilot actions from the Google Chat.
- In the App status select Live - available to users.
- In the App name, type UnO AI Pilot.
- In the Avatar URL, enter https://storage.googleapis.com/UnO AI Pilot-img/full_color.png
- Enable Interactive features.
- Select Receive 1:1 messages.
- Select Join spaces and group conversations.
- In the Connection settings, click App URL.
- In the App URL, enter https://<UnO host>/webhooks/hangouts/webhook
Customizing environment files
For Universal Orchestrator, before starting UnO AI Pilot installation, modify the <values.yaml>/.env. TEMPLATE configuration file to set UnO AI Pilot common properties and optionally configure UnO AI Pilot integration with Slack and Teams messaging tools.
| Common properties | |
|---|---|
| Properties for UnO AI Pilot integration with Messaging tools (Slack and Teams)UnO AI Pilot | |
| BOTFRAMEWORK_APP_ID | ID for UnO AI Pilot Teams account |
| BOTFRAMEWORK_APP_PASSWORD | Password for UnO AI Pilot Teams account |
| SLACK_TOKEN | The token generated by the Slack bot |
| SLACK_CHANNEL | The Slack bot channel ID |
| SLACK_SIGNING_SECRET | The Slack unique string for UnO AI Pilot. |
| GOOGLE_PROJECT_ID | ID for GCP project |