Setting Up a Slack Channel
Integrate Slack with your Aisera Applications
The Aisera Platform enables seamless integration with Slack as a channel, allowing Aisera Applications to interact with users and send alerts directly to Slack channels.
If you plan to retrieve data from Slack conversations, consult the Slack Connector documentation for detailed guidance.
Create a Slack Application
To connect Slack to the Aisera Platform you will need to create a Slack Application. This can be done by creating the application using a manifest (recommended), or by creating the Slack application from scratch.
To create a Slack application:
Login to the Slack workspace being connected to the Aisera Platform.
Click Create New App.
Create an App Using a Manifest File
In the Create an App window, choose From a manifest.
Select the Workspace to be connected to the Aisera Platform.
Modify the
manifest.jsonfile below:Replace every instance of
<tenant_id>with your tenant Id.Customize the
name,description,long_description,background_color, anddisplay_namefields to personalize your Slack bot.
Paste the modified manifest into the input field and click Next.
Review the configuration summary and click Create to finalize the app creation.
Navigate to App Home > Show Tabs and enable Allow users to send Slash commands and messages from the messages tab.

Navigate to Event Subscription > Enable Events.
Choose Retry to validate the configuration.
Click Save.
Navigate to Install App and select Install to Organization.
Create a Slack App from Scratch
In the Create an App window, choose From Scratch.
Set the App Name.
Select the Workspace to be connected to the Aisera Platform.
Click Create App to create the application. This will redirect you to the Basic Information window for your new slack application
In the left navigation menu, click Event Subscriptions.
Toggle Enable Events on.
Set the Request URL to
https://chatbot.<tenant_id>.aisera.<top_level_domain>/slack/recieveExpand Subscribe to bot events, then click Add Bot User Events.
Add following events:
app_mentionmessage.channelsmessage.groupsmessage.immessage.mpimreaction_added
Select Save Changes.
In the left navigation menu, click Interactivity & Shortcuts.
Toggle Interactivity on.
Set the Request URL to
https://chatbot.<tenant_id>.aisera.<top_level_domain>/slack/recieveClick Save Changes.
In the left navigation menu, click, OAuth & Permissions.
Under Redirect URLs click Add New Redirect URL.
Set the new redirect URL to
https://<tenant_id>.aisera.<top_level_domain>/.This is the URL you are presented with when logging into the Aisera Admin UI.
Click Save URLs
Under Scopes > Bot Token Scopes click Add an OAuth Scope and add the following scopes:
channels:readchannels:managechat:writegroups:readim:readim:writempim:readreactions:readreactions:writeusers:readusers:read.emailusers.profile:read
In the left navigation menu, click App Home.
Under Your App's Presence in Slack next to App Display Name click Edit.
Set your bot's Display name
Set your bot's Default username
Click Save
Toggle Always Show My Bot as Online to on.
Under Show Tabs set Allow users to send Slash commands and messages from the chat tab to on.
Gathering Credentials
You will need to gather credentials for the Slack application you created to integrate Slack with the Aisera Platform.
Login to the Slack workspace being connected to the Aisera Platform.
Go to https://api.slack.com/apps.
Select the Slack Application you configured for integration with the Aisera Platform.
Under App Credentials copy down the following information for use later.
Client ID
Client Secret
Verification Token
Branding your Slack App
To modify or set the branding on your Aisera Application:
Access the Slack API page.
Select your Aisera Slack application to navigate to the Basic Information window for your slack application.
Set the following information under Display Information:
App Name
Short Description
App Icon & Preview (512x512 PNG)
Background Color
Click Save Changes
Install the Aisera App into your Slack Workspace
The following steps need to be done by a workspace member with permission to install the channel within the application in Aisera Admin Console.
In the Aisera Admin UI navigate to Settings > Channels.
Click + Add New Channel.
Select Slack and click Next.
Input the following configuration details, then click Next.
FieldDescriptionChannel name
The name the channel will be displayed under in the Aisera Admin UI
Client ID
The Client ID for the Slack Application created for integration with the Aisera Platform.
Client Secret
The Client Secret for the Slack Application created for integration with the Aisera Platform.
Verification Token
The Verification Token for the Slack Application created for integration with the Aisera Platform.
This will navigate you to a page requesting access to your Slack Workspace. Click Allow.
Ensure the Workspace you are installing the application to is correct.
You will be redirected back to the Aisera Admin UI. A success message should appear at the top of the screen.

Connecting the Slack Channel to an Aisera Application
Navigate to Settings > AiseraGPT.
Select the Aisera application you would like to add the newly created Slack Channel to.
On the App Details page, scroll down to Channels.
Click + Add Channel.
Select the relevant Slack channel.
Click OK.
Setting up a Slack Silent Mode bot (Optional)
This section describes how to set up a Slack application in Silent Mode.
Verify the following requirements:
Your Slack application has been set up following the guidelines in Create a Slack Application.
The
reaction_addedevent subscription is enabled in your Slack application.
Adding the Slack Channels
Create two slack channels.
One channel is for the bot end users
One is for the agents
Integrate the two channels with your Slack bot using the Slack Application.
In the Aisera Admin UI navigate to Settings > Channels, then select your Slack Channel.
On the Channel Details window, click the Edit icon in the top right corner.
Under Silent Mode Channels select the Slack channel you created for your end users.
Under the Agents Channel select the channel you created for your agents.
Apply the desired configurations:
ConfigurationDescriptionMake Conversation Public
When enabled, the bot will reply to users in the public channel’s thread if enabled. Otherwise, the bot will reply with a direct message.
Notify Channel when Answered
When enabled, the channel where the question was posted will be notified when an answer is found.
Handle All Messages
When enabled, the bot will handle all messages, regardless of the response confidence.
Show Multiple Intents
When enabled, multiple high confidence answers may be returned. Otherwise, only the highest confidence answer will be returned.
Use App Defined NLU Policy
If selected, all messages will have the same processing capability as regular conversation channels.
Enable Streaming Experience
When enabled, responses will be streamed and will be displayed incrementally. When disabled, messages will be sent all at once.
Remove Empty Blocks during Streaming
When enabled, empty blocks will be filtered from responses.
Press OK to save your changes

Set up Silent Mode Workflows
You can use the following workflows with Slack Silent Mode.
Escalation Feedback Flow
Add the following Escalation Feedback Flow nodes to your Workflow if you have a configuration where users can choose to escalate to an agent.
Add the Escalation Silently Node to your AI Workflow Studio canvas.

Add an Escalation Silently Action.

Add a Response Message.

HandleConversationEvent Flow

The workflow graph look like this:

LiveAgentPickUp branch

Add a Silent Mode Follow Up Action for LiveAgentPickUp.

LiveAgentComplete branch

Add a Silent Mode Follow Up Action for LiveAgentComplete.

ChimeInRequest branch

Edit the JavaScript for the ChimeInRequest branch.

Last updated
Was this helpful?
