InformationTitleLeanData - Slack Integration Permissions and ScopesURL NameLeanData-Slack-Integration-Permissions-and-ScopesStep-by-StepContents: OverviewUse CasesPermissions the LeanData App RequestsPermissions by FeatureReviewing and Approving the LeanData AppUpdating an Existing InstallationFAQsSummary Overview The LeanData Slack app delivers the notifications you set up in your routing graphs, such as a direct message to the rep who owns a new Lead or a post in a team channel. This article lists every Slack permission (scope) the app requests and what it is used for, so your Slack admins and security team can review the app before approving it. Bot token only. The app acts as its own Slack user, @LeanData, and never on behalf of an employee. The token is not tied to the person who installed the app, so deactivating that person does not change what the app can do, and the app has no access to their conversations.11 scopes, all required. Each one supports a specific feature, listed below.No access to message content or files. None of the scopes let the app read messages or files in your workspace.Only the recipients you configure. The app messages only the people and channels named in your graphs. Definitions Scope: A permission Slack grants to an app. Admins see the full list of scopes when they approve or install an app.Bot token: A credential that belongs to the app itself rather than to a person in your workspace. Use Cases Your Slack Org Owner or security team needs a functional reason for each scope before approving the LeanData app.You are setting up the Slack integration and want to know what the Slack authorization screen will ask for.The LeanData app in your workspace lists scopes that are not on this page, and you want to reduce it to the current set. Permissions the LeanData App Requests ScopeWhat LeanData uses it forchannels:joinSlack Action Notifications. When a rep completes an action in a public channel LeanData has not joined, LeanData joins the channel to add a check mark to its message. Without this scope, the rep sees an error even though Salesforce was updated.channels:readLists public channels so you can choose where notifications go.chat:writePosts Slack notifications, updates LeanData's message after a rep acts on it, and posts errors as a thread reply.chat:write.publicPosts to any public channel without first adding LeanData to that channel.groups:readLists the private channels LeanData has been added to, so you can choose them. It does not give access to their messages.im:writeOpens a direct message with the rep who owns a record.mpim:writeOpens a group direct message to notify several people, such as a rep and their manager.reactions:writeSlack Action Notifications. Adds a check mark to LeanData's message after a rep completes the action.users:readLoads Slack users into the user picker, identifies who each notification goes to, and shows who created each private channel in the channel picker.users:read.emailMatches each Salesforce user to their Slack account by email address.chat:write.customizeBranding only. Shows the sender as LeanData, with the LeanData logo. For Slack's definition of every scope, see the Slack scopes reference. Permissions by Feature users:read and users:read.email support every feature, because they match each Salesforce user to a Slack user. FeatureScopesDirect message to a repim:write, chat:writeGroup direct messagempim:write, chat:writePost to a channel LeanData has been added tochat:write, plus channels:read (public channels) and groups:read (private channels) for the channel pickerPost to a public channel LeanData has not been added tochat:write.public, chat:writeSlack Action Notificationschannels:join, reactions:write, chat:write, plus the scopes for the recipient type aboveSender name and logochat:write.customize LeanData cannot post to a private channel unless someone adds @LeanData to it. No scope grants that access. Reviewing and Approving the LeanData App On Slack Enterprise plans, app approval is turned on by default. Approving the LeanData app approves the exact scopes listed above. The app is approved once for your organization and is not provisioned to individual employees. For more on how approval works, see Slack's Manage app approval for your workspace. Share this article with your Slack admin or security reviewer.If your organization requires app approval, have a Slack Org Owner or Admin approve the LeanData app.Authorize Slack in LeanData by following Authorizing Slack in LeanData. The person authorizing must be a Slack workspace owner or admin and have the LeanData Custom Objects Full Access permission set in Salesforce.On the Slack authorization screen, check that the permissions listed match the table above, then click Allow. Add @LeanData to any private channels you want to send notifications to. Updating an Existing Installation If the LeanData app in your workspace lists scopes that are not on this page, your workspace still holds permissions granted by an earlier installation. Reauthorizing on its own does not remove scopes your workspace already granted. To reduce the app to the current set: In Slack, open the LeanData app's App Details, then click Configuration.Scroll to the bottom and click Remove App. In LeanData, go to Integrations > Routing and click Disable Authorization on the Slack tile. Click into the Slack tile and authorize again by following Authorizing Slack in LeanData.Add @LeanData back to any private channels it was in. Older installations may show any of these scopes, which the LeanData app does not use: bookmarks:write, channels:history, channels:manage, files:read, files:write, groups:history, groups:write, im:history, im:read, mpim:history, mpim:read, reactions:read. For the reauthorization steps for every LeanData integration, see the Integration Reauthorization Guide. FAQs Does the LeanData app use bot token scopes or user token scopes? Bot token scopes only. The app acts as its own bot user, @LeanData, and does not act on behalf of any employee. Is the LeanData app added to every employee in our Sales org? No. Your Slack admins approve the app once. LeanData reads the workspace member list and email addresses to match Salesforce users to Slack users, then messages only the people and channels your graphs name. Can the LeanData app read our messages or files? No. None of the 11 scopes allow it. Can we approve only some of these scopes? The app requests the same set of scopes for every customer, and each scope supports a feature listed in Permissions by Feature. Summary This article covered the Slack scopes the LeanData app requests, the feature each one supports, and how to reduce an older installation to the current set. For setup and node configuration, see Routing - LeanData - Slack FlowBuilder Integration and LeanData-Slack Integration - Send Action Notification Node. For questions or additional assistance, please contact LeanData Support.