• IDD
  • IDD
  • Intelligent Decision Dimensions
    • Hybrid Chats
      • Hybrid Chats Installation Guide
        • Software Components to Install
          • Components of Add-On
          • Components Combinations to Be Installed
        • Prerequisites
          • System Prerequisites
          • General Prerequisites
        • Installation Activities
        • Post Installation Activities
          • Copy Standard Texts from 000 Client
          • OData Services Maintenance
          • Activate Services in SICF
          • Maintain Cross-Origin Settings
          • Assign Technical User to WebSocket Service in SICF
          • Copy Fiori Catalogs from 000 Client
          • Copy Translations from 000 Client
          • Clean Cache and Index Recalculation Activities
          • Enable Fiori 3 Theme
          • Set up Content Server to Store Photo of Operator
      • Hybrid Chats Maintenance Guide
        • Business and Technical Users Setup
          • Create User IDs and Business Partners
          • Create Business Partners
          • Appendix A :: User Authorization Matrix
        • System Configuration
          • Configure Parameters and Values Related to Hybrid Chats
          • Configure Parameters and Values Related to Live Pool
          • Configure Parameters and Values Related to Customer 360 View and Customer Match
          • Configure Status Profile
          • Set Up Technical Messages for Hybrid Chats
        • Hybrid Chats Integration with External ITSM System (Zendesk)
          • Activate Integration
          • Customize Header Fields of the Chat Log for Integration
          • Hybrid Chats Fields or Values Mapping on External ITSM Ticket Fields
          • Map Categories during Integration Procedure
          • Schedule Automatic Integration Procedure
        • Tenant Configuration
          • Create Root Organizational Unit for Tenant
          • Enable Configuration RFC Destination for the Tenant
        • Support Team Parameters Configuration
          • Create Position Attribute for Capacity
        • Live Pool Management and Configuration
          • Prerequisites
          • Start Live Pool
          • Manage Live Pool
        • Hybrid Chats Configuration
        • Hybrid Chats Categorization
          • Categorization Management
          • Assign Categories to AI Skills
          • Translate Categories
      • Hybrid Chats User Manual
        • Hybrid Chats
          • Active Mode
          • Archive Mode
        • HC Teams
          • Access HC Teams Application
          • Create New Team
          • Edit Team Name
          • Create New Team Member
          • Edit Agent
        • HC My Data
          • Edit Personal Data and Profile Picture
          • Default Settings Management
          • Notification and Dialogue Manual Mode Management
          • Quick Replies Management
            • Standard User Mode
            • Administrator User Mode
        • Analytics Applications
          • HC Analytics
          • Exit Survey Analytics
          • Operator Activity Analytics
    • Conversational Actions
      • Conversational Action Installation Guide
        • Software Components to Install
          • Components of Add-On
          • Components Combinations to Be Installed
        • Installation Activities
          • General Prerequisites
          • System Prerequisites
          • Installation
        • Post Installation Activities
          • Select Connectivity Option
          • oData Services Maintenance
          • WSDL Service Maintenance
          • Copy Configuration Content from 000 Client
      • Conversational Actions Maintenance Guide
        • Administration
          • Installation Activities
          • Uninstallation Activities
        • Implementation
          • Product Description
            • Product Versions Management
            • Product License
        • Configuration of Email Sending Mechanism
          • Prerequisites
          • License Key Maintenance
          • Configuration Settings
        • Chatbot User Setup
          • Chatbot Central oData Service Authorization Role Maintenance
          • Create Chatbot User ID
          • Assign Chatbot User ID for Authorization Check in User Validation Scenario
        • Assign Chatbot Scenarios to ABAP RIK Classes
        • Set Up Solution Specific Email Sending Control
        • Simplified User Creation Scenario Setup (Without Approval Workflow)
          • Maintain and Assign Reference Users for User Creation Scenario
          • [Optional] Activate Notification for New User Creation
        • User Creation Scenario Setup with Approval Workflow
          • Configure Approval Workflow for User Creation Scenario
          • Set Up Approval Steps for Different User Types Creation
    • Node.js Connector
      • Docker Installation and Configuration
        • Prerequisites. Hardware Recommendations
        • Connection Installation into Company’s Landscape
          • Docker Installation
          • Connector Configuration
          • Deployment Process
            • Download Image Using Registry Server
            • Manual Download of Image
            • Start Container with App
          • Start Application Using Docker Composer (optional)
          • Additional Required Configuration (Reverse Proxy)
    • IDD Uninstallation Guide
      • Prerequisites
      • Uninstallation Process
    • Bot Management
      • Bot Connector Configuration Guide
        • Connector Configuration
        • Nodejs Logs Configuration
        • Twilio Integration
        • Google Services Integration
        • AWS Integration (optional)
        • Yandex Services Integration (optional)
        • Identity Providers (optional)
      • Bot Management Installation Guide
        • Software Components to Install
          • Components of Add-On
          • Components Combinations to Be Installed
        • Installation Activities
          • Prerequisites
            • General Prerequisites
            • System Prerequisites
          • Installation
        • Post Installation Activities
          • UI5 Services Activation in Frontend System
          • RFC Destinations Configuration
          • OData Services Maintenance
          • Copy Configuration Content from 000 Client
          • Copy Tables Content from 000 client
          • Copy Fiori Catalogs from 000 Client to Productive Client
          • Copy Translations from 000 Client
          • Clean Cache and Indexes Recalculation Activities
      • Bot Management Configuration Guide
        • Register Customer Namespace
        • Intelligent Assistant Registration
        • Bot Channels Registration
          • SAP Channels Registration
            • MS Teams Channel Configuration
            • Facebook Messenger Channel Configuration
            • Skype Channel Configuration
            • Slack Channel Configuration
            • Telegram Channel Configuration
            • Webchat Channel Configuration
            • WhatsApp Channel Configuration
            • Viber Channel Configuration
            • Zoom Channel Configuration
          • Channel External Configuration
            • Facebook Messenger External Configuration
            • MS Teams External Configuration
            • Slack External Configuration
            • Telegram External Configuration
            • Skype External Configuration
            • WhatsApp External Configuration
            • Viber External Configuration
            • Zoom External Configuration
        • Chatbot Scenarios Activation
        • Bot Answers Translation
        • Chatbot Destinations Setup
        • Chatbot Scenarios Groups Management
        • Surveys Management

Slack External Configuration

11 views 2

Step 1. Go to https://api.slack.com/apps and click Create New App

Step 2. Select the manifest option.

Step 3. Select the workspace to place the bot in.

Step 4. Navigate to JSON tab:

Step 5. Prepare the manifest file.

Here is a sample manifest you can copy and update accordingly:

{
“display_information”: {
“name”: “Preprod-bot”,
“description”: “An example app”,
“background_color”: “#523bd9”,
“long_description”: “An example app that can display actionable notifications in Slack. App contains all the necessary scopes to find a channel for publishing, and to publish a message. Enables Interactivity features to handle use of the interactive elements of the notification. Used with tutorials on api.slack.com/tutorials.”
},
“features”: {
“app_home”: {
“home_tab_enabled”: true,
“messages_tab_enabled”: false,
“messages_tab_read_only_enabled”: false
},
“bot_user”: {
“display_name”: “Skybuffer-Preprod”,
“always_online”: true
}
},
“oauth_config”: {
“redirect_urls”: [
“https://example.com/slack/auth”
],
“scopes”: {
“user”: [
“users:read”
],
“bot”: [
“channels:read”,
“chat:write”,
“chat:write.public”,
“incoming-webhook”,
“links:read”,
“channels:history”,
“im:history”,
“app_mentions:read”,
“files:read”,
“users:read”
]
}
},
“settings”: {
“event_subscriptions”: {
“request_url”: “https://example.skybuffer.com/123123-abcd-1234-1234-aa11aaa1f502/slack”,
“user_events”: [
“user_profile_changed”
],
“bot_events”: [
“app_mention”,
“channel_created”,
“channel_deleted”,
“channel_rename”,
“file_created”,
“file_public”,
“file_shared”,
“link_shared”,
“message.channels”,
“message.im”,
“user_profile_changed”
]
},
“interactivity”: {
“is_enabled”: true,
“request_url”: “https://example.skybuffer.com/123123-abcd-1234-1234-aa11aaa1a111/slack”
},
“org_deploy_enabled”: false,
“socket_mode_enabled”: false,
“token_rotation_enabled”: false
}
}

 

The fields in bold are the ones that mostly need updating (but you can change all the fields according to your preferences):

name, display_name , request_url.

How to change request_url:

“https://example.skybuffer.com/123123-abcd-1234-1234-aa11aaa1a111/slack” – sample link for reference

“https://example.skybuffer.com/” – this part can be found in SAP Fiori Apps:

Open the Chatbot application in the Chatbot Administration group. Select the correct tenant in the top left-hand corner. Click on the correct bot in the list to the left. This address can be copied from the Bot webhook base URL field:

123123-abcd-1234-1234-aa11aaa1a111 – this part after slash is the Channel ID. It can be taken from the Chatbot Channels application in the Chatbot Administration group.

 

Step 6. Finish the Bot Creation.

Click Next on JSON Manifest screen.

Click Create on the summary screen.

Step 7. Get the Application ID and the Verification Token.

Now after the bot has been created, you can retrieve all the necessary tokens needed for the channel setup in SAP.

You should see the new bot/application page with the Basic Information tab open:

Scroll down to the App Credentials section:

App ID – this field is needed for the Slack Application ID field in SAP (Chatbot Channels Configuration app), when new Slack channel is created there.

Verification Token – this field is needed for Slack channel creation in SAP.

Paste them here:

Step 8. Install to workspace.

Navigate to the OAuth & Permissions tab, and make sure you have the correct bot selected in the top left-hand corner.

Click on the Request to Install button/ Install button.

If you don’t have permissions, your install request will have to be accepted by the workspace owner first. Once your request is accepted, the text on the button will change to Install to workspace.

Allow access to the workspace:

Step 9. Copy OAuth Token.

After the app is successfully installed into your workspace, you can now see the OAuth Tokens generated in the OAuth & Permissions tab.

Bot User OAuth Token – this value needs to be pasted into SAP Channel Configuration during the channel creation.

Paste it here:

Step 9. Add the application to the workspace

Open your Slack workspace, in the left-side menu click Add app at the bottom of the page. You will see the Apps page. You are supposed to see your new app there, click on it.

Step 10. Messages Tab Activation

Go to https://api.slack.com/apps  , navigate to your app page, and then to Features > App Home.

Find the Show Tabs section, and toggle on Messages Tab.

Step 11. Chat to your bot

Your bot should now be available to chat. You can use the Messages tab in the app itself, or talk in the channel if you added the app to any.

Was this helpful?

2 Yes  No
Related Articles
  • Analytics Applications
  • Operator Activity Analytics
  • Exit Survey Analytics
  • MS Teams External Configuration
  • Zoom External Configuration
  • Viber External Configuration
Copyright 2022 Skybuffer.com. All Rights Reserved.