Glover
  • Introduction
  • Video Guide
    • How to Setup Vendor
  • Usage Flows (FlowCharts)
  • Firebase
    • Firebase
    • Firebase firestore database
    • Firebase Security
    • Firebase Storage
    • Firestore indexes
    • Chat & Live tracking
  • Backend
    • NOTICE
    • VPS/Shared Hosting
    • Installation
    • Database Configuration
    • GUI Installer
    • Timezone
    • Firebase
      • Firebase Forgot password
    • Web Notification
    • Reskin Mobile App
    • Change Backend Color
    • Terminal
      • Commands
    • Screenshots
    • Auto-assignment
    • Order schedule
    • CRON job
    • Clear Data (Users/Orders etc)
    • Email Server Settings
    • SMS Gateway
    • Payment Gateways
    • Webhooks - Payment gateway
    • Vendor Subscription
    • Language / Translation
    • HOW TO UPDATE
    • In-App Live chat/support
    • Geocoding and Place search
    • Features
      • Firebase/Notification Delay
      • Fleet Management
      • Loyalty points
      • Home Screen Design
      • Featured Vendors
      • Trip recalculation/Outstanding payments
      • Switch between Taxi/Regular Driver
      • Data Translation - Backend
  • 🔥Supervisor Setup - VPS
    • Introduction
    • Install & Setup Supervisor
    • Taxi Booking
    • How to verify Taxi driver Vehicle
    • Websocket Setup
      • Laravel reverb Config
  • Flutter App
    • Getting Started
    • Steps
    • Directory Structure
    • Change App Name & ID
    • Change App icon & splash
    • App Color / Theme
    • Connect To Backend
    • Firebase
    • Firebase Auth - Phone
    • Firebase Phone OTP - Android
    • Firebase Phone OTP - iOS
    • Firebase Notification iOS
    • Share link - Firebase dynamic link
    • Social Media Login
      • Google login
      • Facebook Login
      • Sign-In with Apple
    • Google Map
    • Change App Language
    • Notification Sound
    • Custom Translation ~ 1.4.8
    • Custom Translation +1.5.0
    • Change App Font
    • Running on VS Code
    • Running on Android Studio
    • Generate Android Release App
    • Upload to Apple App Store
    • Screenshots
  • Demo Accounts
  • FAQs
    • Backend Image not working
    • Backend Backup not working
    • Upgrade without losing data
    • Backend Rollback
    • Blank Home screen
    • Custom Token
    • Product price zero(0) in details
    • Auto-cancel Not working
    • Pharmacy vendor
    • Vendor default rating
    • App logins
    • Error ==> type 'String' is not a subtype of type 'int'
    • NDK version error
    • Push Notification
    • Delivery Zone Map error
    • HOW TO UPDATE ADMINEND
    • Driver app rejected by Google
    • Cron job error
    • Auth pages Not working - App
    • Update App Translation
  • HOW-TO
    • Onboarding Settings
    • Setup Parcel Vendor
    • Set Vendor Custom Fees
    • Digital Products
    • Setup Taxi driver
    • Multiple Currency Taxi support
    • How Prescription Order works
    • Earning
      • Vendors
      • Drivers
    • QR Code Login
    • Single Vendor Mode
    • Enforce CASH Payment For Delivery Fee Only
    • System Contact Email
    • Driver Matching Flow
  • Extensions
    • Driver tracking extensions
    • Paymongo Gateway
    • Mercadopago Gateway
    • Nagad [Bangladeshi]
    • Paytrail
    • Paymaya Gateway
    • Emailer
    • POS
      • Mobile App
        • Requirement
        • Flutter SDK
        • Change App Name & ID
        • Connect To Backend
        • App build & release
      • Change logs
    • Glover Website
    • External Notifier
      • Slack Setup
      • Telegram Setup
    • Instamojo - Payment
  • Upgrades
    • How to update
    • Important: Backend VPS/Shared hosting
    • Older Version Upgrade Instructions
      • Upgrade to 1.2.1
      • to 1.2.3
      • ~ 1.3.2
      • to 1.3.1
      • to 1.3.3
      • to 1.3.4
      • to 1.3.5
      • to 1.3.7
      • to 1.3.8
      • to 1.3.9
      • to 1.4.0
      • to 1.4.1
      • to 1.4.2
      • to 1.4.3
      • to 1.4.5
      • to 1.4.6
      • to 1.4.7
      • 1.4.8
    • 1.5.0 - 1.5.9
      • 1.5.0
      • 1.5.1
      • 1.5.2
      • 1.5.3
      • 1.5.4
      • 1.5.5
      • 1.5.5-fix-1
      • 1.5.6
      • 1.5.7
      • 1.5.8
      • 1.5.9
    • 1.6.0 - 1.6.70
      • 1.6.0
      • 1.6.1
      • 1.6.2
      • 1.6.3
      • 1.6.4
      • 1.6.5
      • 1.6.6
      • 1.6.62
      • 1.6.63
      • 1.6.70
    • 1.7.00 - 1.7.21
      • 1.7.00
      • 1.7.01
      • 1.7.02
      • 1.7.10
      • 1.7.20
      • 1.7.21
    • 1.7.30 - 1.7.60
      • 1.7.30
      • 1.7.31
      • 1.7.40
      • 1.7.41
      • 1.7.42
      • 1.7.43
      • 1.7.44
      • 1.7.45
      • 1.7.50
      • 1.7.51
      • 1.7.60
    • 1.7.70
  • Change logs
Powered by GitBook
On this page
  • Slack bot and obtain an API token
  • Add Bot/App to Slack Channel
  • Slack Channel Id

Was this helpful?

  1. Extensions
  2. External Notifier

Slack Setup

PreviousExternal NotifierNextTelegram Setup

Last updated 8 months ago

Was this helpful?

Slack bot and obtain an API token

To generate a Slack bot and obtain an API token, follow these steps:

  1. Go to the Slack API website:

  2. Click on the "Create New App" button to create a new Slack app.

  3. Provide a name for your app and select the Slack workspace where you want to install the app. Click on the "Create App" button.

  4. Once your app is created, you'll be redirected to the app's settings page. In the left sidebar, under "Settings," click on "OAuth & Permissions".

  5. Scroll down to the "Scopes" section and locate the "Bot Token Scopes" section. Here, you can specify the permissions and access levels your bot will have. Select the required scopes based on the functionality you need for your bot.

  6. Add the following permissions: i. ii. iii. iv. v.

  7. After selecting the necessary scopes, scroll back up to the top of the page and click on the "Install App" menu under the "Settings" menu in the left sidebar.

  8. Review the permissions requested by your app and click on the "Allow" button to install the app in your workspace.

  9. Once installed, you will be redirected back to the app's settings page. Scroll down to the "OAuth Tokens & Redirect URLs" section. You will find your bot's API token under the "Bot User OAuth Token" field. This token is used to authenticate requests made on behalf of your bot.

Make sure to keep your API token secure, as it grants access to your bot and associated permissions.

That's it! You now have a Slack bot and its corresponding API token. You can use this token to authenticate your bot's HTTP requests and interact with the Slack API.

Add Bot/App to Slack Channel

  1. Create a new channel or open an already create channel. This is the channel the bot will be sending all notifications to.

  2. On the channel page, right click the channel and click the "View channel details" menu

  3. On the channel details modal, click on the integration tab.

  4. On the integration tab, scroll to "Apps" section, then click on "Add apps" button

  5. You will be redirect to page with list of all created apps, search for the name you create from the step above. Click on "add" button beside the name.

  6. Then close the modal by click the "x" at the top of the page.

  7. Now the bot/app is added to the channel, you can then proceed to the next steps below

Slack Channel Id

To obtain the Slack Channel ID, you can follow these steps:

  1. Open Slack and navigate to the workspace where the channel is located.

  2. Right-click on the channel name in the left sidebar.

  3. From the context menu that appears, select "Copy Link" or "Copy Link Address" (the exact option may vary depending on your operating system and browser).

  4. Paste the copied link into a text editor or any other suitable location.

  5. Look for a section in the link that resembles C12345678. The alphanumeric code starting with the "C" is the Channel ID.

Alternatively, you can also retrieve the Channel ID programmatically using the Slack API. Here's an example using cURL:

curl -X GET -H 'Authorization: Bearer YOUR_API_TOKEN' https://slack.com/api/conversations.list

Replace YOUR_API_TOKEN with your actual API token. This request will retrieve a list of channels and conversations in your workspace, along with their corresponding IDs. Look for the specific channel you're interested in and note down its ID.

Remember that your API token needs the necessary permissions (e.g., channels:read) to access this information.

By following either of these methods, you can obtain the Channel ID of a Slack channel.

https://api.slack.com/apps
chat:write
channels:read
groups:read
mpim:read
im:read