LeanData NotifyPlus Slack Integration

Have more questions? Submit a request

Contents:

 

Overview

With LeanData's NotifyPlus capability, organizations that utilize both LeanData and Slack can incorporate custom buttons within Slack messages for their reps to directly take action. Use the Send Slack Action Notification Node in FlowBuilder to send Slack notifications that enable the recipients to create new records or update any routed or matched record, from directly within the notification. You can also create new Slack Channels or manage existing Slack channels and associate them with Salesforce records.

Screenshot 2024-04-27 at 2.03.12 AM.png   create slack channel.png   manage Slack channel.png

 

Features

  • Custom Buttons in Slack Notifications: Prescribe necessary and prompt action for your reps with context. Define which actions a team member needs to complete, from creating a new record or updating an existing record in Salesforce.
  • SLA Tracking: Set expiration times and auto-tracking completion for each action sent in a notification. Easily hold team members accountable to taking action in a timely manner.
  • Suggested Inputs: Accelerate updates and keep Salesforce data accurate by suggesting values or enabling reps to provide their own values used to create or update records.
  • Continued Processing: Automate next steps based on inputs or SLA compliance. Whether next steps are conditional on action taken, inputs provided, or timely action taken, continue to automate updates, merges, or even initiating engagement sequences. Seamlessly incorporate manual input as part of one entire process.

 

Setting up the LeanData-Slack Integration

In order to use the Slack integration you must be a joint customer of LeanData and Slack.

Authorizing Slack in LeanData

A Slack Administrator must complete the instructions outlined below:

  • To use Slack with LeanData, ensure the appropriate remote site setting is configured in Salesforce. For more information, LeanData Admin - Adding the LeanData Remote Site Setting.
  • From the LeanData App, navigate to Integrations > Routing and click the Get Started button on the Slack tile.

Screenshot 2024-04-11 at 4.02.15 PM.png

  • Specify the correct User Field to help LeanData map Salesforce User Emails to Slack User Emails and direct notifications to the appropriate recipients. LeanData identifies Slack Users with the corresponding Salesforce Users by matching email addresses across both platforms, using the User field you select here.
  • To send Slack notifications to both public and private channels, check the Send Slack notifications to both public and private channels box and invite the App to private channels.
    • Note: If you do not invite the App to a private channel, that channel will not be selectable in FlowBuilder.

Screenshot 2024-04-11 at 4.03.09 PM.png

  • Please note: You must be either the owner or an admin of the Slack workspace to authorize the Slack integration with LeanData. If you need to change a Slack member's role, refer to the Change a member's role article.

Screenshot 2024-04-11 at 4.14.29 PM.png

Please Note: LeanData can only be authorized for one Slack workspace at a time. If you have multiple workspaces, ensure that LeanData is authorized for the workspace containing all relevant users.

 

NotifyPlus Salesforce Authorization Settings

When users take an action in Slack via NotifyPlus Action Notifications, the resulting action in Salesforce will be attributed as follows:

  • Actions will be assigned to the Primary/Secondary user tokens configured in the Authorization Tab in Admin Settings unless the user has connected their Salesforce account.
  • Actions taken by users who have connected their Salesforce accounts will be attributed directly to their Salesforce User instead of the token user.

Authorization Options

  1. Optional Salesforce Authorization:

    • Slack users can act on NotifyPlus Action Notifications in Slack without connecting their Salesforce accounts.
    • Actions by users who do not connect their accounts will be attributed to the Primary/Secondary user tokens configured in the Authorization Tab in Admin Settings.
  2. Required Salesforce Authorization:

    • Slack users must connect their Salesforce accounts to respond to NotifyPlus Action Notifications.
    • Users will be automatically prompted to connect their Salesforce account when first attempting to respond to a NotifyPlus Action Notification in Slack.

Screenshot 2024-12-31 at 3.10.31 PM.png

  • Invite Users to Connect their Salesforce Accounts

    • Click the Copy Link button to copy an invitation link.
    • Share this link with your users to prompt them to connect their Salesforce accounts.

 

Adding LeanData to a Slack Channel 

In Slack:

  • Navigate to the channel you wish to add LeanData to.
  • Click into the Members of the Channel. Under the Integrations tab, click Add an App in the Apps section.

Screenshot 2024-04-11 at 4.41.31 PM.png

  • Find LeanData in the list of Apps in your workspace and click Add.

Screenshot 2024-04-11 at 4.41.45 PM.png

 

Using the Send Slack Action Notification Node

To send Slack Action Notifications from your FlowBuilder graphs you must add the NotifyPlus for Slack Node to your graph. From the Node Bar on the upper right, go to NotifyPlus > Send Slack Action Notification, and drag the node onto your FlowBuilder graph.

Screenshot 2024-09-10 at 4.22.34 PM.png

 

Within the NotifyPlus for Slack Node, there are five main sections: Recipients, Message, Action Buttons, Expiration Time, and Advanced Settings.

Recipients

Here you will select the intended recipient of your Slack Action Notification. This will determine who will receive the Action Notification in Slack.

Screenshot 2024-09-10 at 4.47.49 PM.png

  • Owner: You can select from either the New Owner whom LeanData assigned the record to in a prior node or the Previous Owner who owned the record before any ownership changes.
  • Slack Channel: Will allow you to select a Slack channel in the connected Slack workspace. All public channels will be available, along with any private channels to which the LeanData App has been added. 
  • Slack User: Will allow you to select a recipient from a list of your Slack Users. 
  • Variable in Field: This option will allow you to select a User from other fields, including any Users on the routed record, related record, prior matched records, or any other Variables that have been defined in a previous node in the graph.
  • Slack Channel Associated with Record: This option will require you to select an Account, Opportunity, Case, or Custom Object Variable from your graph. The Slack Action notification will be sent to the channel associated with that record. Channels can be associated with records using the Create Slack Channel or Manage Slack Channel Nodes.

 

Message

Once you have selected your recipient, you can craft the content of the Slack message itself.

Screenshot 2024-04-12 at 1.31.30 PM.png

By using the dropdowns, you can insert mentions of Users and Channels, such as the New Owner, as well as insert Variables such as the record's name, a link to the record, or a link to the corresponding LeanData Audit Log.

 

Action Buttons

The Action Buttons section allows you to configure the actions you wish to incorporate within your Slack notification. By clicking the Add Action button, you can select from two options: Create Record and/or Update Record.

Screenshot 2024-04-12 at 1.37.28 PM.png

Clicking the Add Action button again will allow you to add more Action buttons to your Slack notification. You may add up to 5 Actions.

Please Note: Even though we allow up to 5 Actions to be listed in the Slack Action Notification, the recipient will only be able to complete one of the displayed Actions from within the notification.

  • Create Record: this option will give your Slack recipients a button to create a record in Salesforce, directly from Slack. 

Screenshot 2024-04-12 at 1.43.31 PM.png

    • What kind of record do you want to create?: Select from a list of your Salesforce objects to indicate what kind of record you want your Slack recipient to be able to create.
    • What text do you want on the action button?: Enter the text you want to appear on the Action button that will appear in the Slack notification.
    • Which Salesforce fields do you want to populate on this record?: Click Add Field to add a field you wish to populate on the newly created record. You can select any editable field on the Salesforce object you selected in the previous step. You can either enter a static value for this field, or you can dynamically insert values from any previously stored Variable by using the Insert button. For date fields, you can either enter a static date or insert a Relative Date (relative to today).
      • Toggling the Editable switch on will give the recipient the ability to edit the value before they take the associated action.
    • After you configure your field, you can add more fields by clicking Add Field.
  • Update Record: this option will give your Slack recipients a button to update a record in Salesforce, directly from Slack. 

Screenshot 2024-04-27 at 2.07.24 AM.png

    • Which record do you want to update?: Select either the routed record or a related record, matched record, or other record stored in a Variable earlier in the graph.
    • What text do you want on the action button?: Enter the text you want to appear on the Action button that will appear in the Slack notification.
    • Which Salesforce fields do you want to update on this record?: Click Add Field to add a field you wish to update on the newly created record. You can select any editable field on the Salesforce object you selected in the previous step. You can either enter a static value for this field, or you can dynamically insert values from any previously stored Variable by using the Insert button. For date fields, you can either enter a static date or insert a Relative Date (relative to today).
      • Toggling the Editable switch on will give the recipient the ability to edit the value before they take the associated action.
    • After you configure your field, you can add more fields by clicking Add Field.

 

Expiration Time

Under the Expiration Time section, define a time frame using the dropdowns. LeanData will follow the Time Expired edge if the selected time elapses and none of the previously defined Actions have been taken by the Slack recipient. Currently, the default is 5 minutes with a max of 180 days as the longest time frame. 

If one of the previously defined Actions are taken within the allotted time frame, the record will exit through the SLA Met edge.

Screenshot 2024-04-12 at 2.17.44 PM.png

Records that enter the NotifyPlus for Slack Node will automatically be tracked in the Time-to-Action Tracker Object. For more information on Time-to-Action Reporting, please see the Time-to-Action Reporting Guide.

 

Advanced Settings

A record will exit this node either when the recipient of the Slack Action Notification takes one of the Actions defined above or when the designated expiration time elapses, whichever happens first.

Screenshot 2024-04-12 at 2.22.35 PM.png

  • Action Completed: Records will follow this edge if a rep takes one of the actions defined in the Slack Actions within the designated time frame. If you do not wish for any further processing or actions to take place, set this edge to End of Flow.
    • When a record proceeds through this edge, the original Slack Action notification will be modified to remove the Action button and will indicate that the SLA has been met.
  • Time Expired: Records will follow this edge if the designated time frame elapses without a User taking one of the designated Slack actions above. You can assign the record to a different rep, send out a notification, or you can set this to End of Flow if you do not want any further action.
    • When a record proceeds through this edge, the original Slack Action notification will be modified to remove the Action button and will indicate that the time expired.

 

Action Notification Experience In Slack

The Action Notification sent in Slack will contain the message and Action Buttons as you configured it in the Send Action Notification Node.

Screenshot 2024-04-27 at 2.12.28 AM.png

When the recipient clicks one of the buttons, they will be taken to an interface to complete the fields you had specified within the node. Fields that you marked as editable can be updated by the Slack recipient. Field that you did not mark as editable will display the value that you defined.

Screenshot 2024-04-27 at 2.13.11 AM.png

If the Slack recipient completes one of the actions within the timeframe, the buttons in the Slack Notification will be replaced with an Action Completed indicator, and the record will follow the Action Completed edge from the Action Notification Node.

Screenshot 2024-05-02 at 9.46.19 AM.png

If the Slack recipient does not complete one of the actions within the timeframe, the buttons in the Slack Notification will be replaced with a Time Expired indicator, and the record will follow the Time Expired edge from the Action Notification Node.

Screenshot 2024-04-27 at 2.18.25 AM.png

 

Using the Create Slack Channel Node

Within Opportunity, Account, Case, and Any Object Routing, you can use the Create Slack Channel Node to create new Slack channels and add relevant team members. From within one of these Routers, from the Node Bar, hover over the NotifyPlus menu item, and drag a Create Slack Channel Node into your graph.

Screenshot 2024-09-10 at 10.38.38 PM.png

Within the Create Slack Channel Node, there are six main sections: Record Selection, Channel Name, Channel Members, Additional Channel Details, Record Bookmark Details, and Advanced Settings.

 

Record Selection

Under the Which record would you like to create a Channel for? section, select the variable for the record you wish to associate the new channel with. You will only be able to select variables that have been defined leading up to this point in your graph.

Screenshot 2024-09-10 at 10.46.52 PM.png

Associating Existing Channels with Records

The only way to associate Slack Channels with Salesforce records for LeanData routing purposes is to use this Create Slack Channel Node. If you need to associate pre-existing Slack Channels, or Slack Channels that were not created via this LeanData Node, you can use the Routing Scheduler tool to send the records you wish to associate through a Create Slack Channel Node. 

Please note: You must ensure that your Create Slack Channel Node uses an identical naming convention to your existing Slack Channels. When LeanData attempts to create a new Slack Channel with an identical name to an existing Slack channel, LeanData will associate the existing slack channel with the record you have selected here. If the name of the Slack Channel is not exactly the same as the existing channel, LeanData will create a new channel entirely.

This method for associating existing channels with records will fail if:

  1. The channel with the same name is a private channel that the LeanData bot isn't added into.
  2. The channel was created after the last time the channel mappings were refreshed.

 

Channel Name

In the Channel Name section, supply the name you wish to give your new Slack Channel. You can insert variables or relative dates into your channel name.

Screenshot 2024-09-10 at 10.51.52 PM.png

Channel Members

In the Channel Members section, click the Add Members button to select the members you would like to be added to your new Slack Channel. You can select from the New Owner of the routed record, Previous Owner of the routed record, some Additional Recipient found on the routed or Matched record, of you can select from a list of your Slack Users.

Screenshot 2024-09-10 at 10.56.23 PM.png

 

Additional Channel Details 

Optionally, you can add a Channel Topic and a Channel Description for your new Slack Channel. You can insert values from variables and relative dates into your Channel Topic and Channel Description if needed.

Screenshot 2024-09-10 at 11.03.42 PM.png

 

Bookmark Record

If you would like to include a Bookmark Link on the new channel to a record in Salesforce, select Record to Bookmark in the dropdown. You will only be able to select the routed record or any object variables you have defined up to this point in your graph.

Screenshot 2024-09-10 at 11.10.33 PM.png

Also enter the Bookmark Name you would like to include on your channel. You can insert values from variables or a relative date if needed.

 

Advanced Settings

Under Advanced Settings, you will see the fallback edges for this node. You are given a fallback edge to indicate what you would like to happen if there is no variable found to which to associate your new channel. 

Screenshot 2024-09-10 at 11.12.06 PM.png

You are also given a Next Node edge if you would like to continue processing records beyond this point in your graph.

 

Using the Manage Slack Channel Node

Within Opportunity, Account, Case, and Any Object Routing, you can use the Manage Slack Channel Node to manage existing Slack channels including archiving the channel or updating the channel. From within one of these Routers, from the Node Bar, hover over the NotifyPlus menu item, and drag a Manage Slack Channel Node into your graph.

Screenshot 2024-09-10 at 11.21.12 PM.png

Within the Manage Slack Channel Node, there are seven main sections: Record Selection, Action Type, Channel Name, Channel Members, Additional Channel Details, Record Bookmark Details, and Advanced Settings.

 

Record Selection

Under the Which record is associated with the Channel you want to manage? section, select the variable for the record whose channel you want to manage. You will only be able to select variables that have been defined leading up to this point in your graph.

Screenshot 2024-09-10 at 11.24.47 PM.png

 

Action Type

Under the What action do you want to perform for this Channel? section, select whether you would like to Update the Channel or Archive the Channel.

Screenshot 2024-09-10 at 11.27.59 PM.png

If you want to archive the channel, you can skip to the Advanced Settings section, as the the other sections deal with updates to the channel.

 

Channel Name

In the Channel Name section, supply the name you wish to give the Slack Channel. You can insert variables or relative dates into your channel name.

Screenshot 2024-09-10 at 10.51.52 PM.png

Channel Members

In the Add Channel Members section, click the Add Members button to select the members you would like to be added to your Slack Channel. You can select from the New Owner of the routed record, Previous Owner of the routed record, some Additional Recipient found on the routed or Matched record, of you can select from a list of your Slack Users.

Screenshot 2024-09-10 at 10.56.23 PM.png

 

Additional Channel Details 

Optionally, you can update the Channel Topic and a Channel Description for your Slack Channel. You can insert values from variables and relative dates into your Channel Topic and Channel Description if needed.

Screenshot 2024-09-10 at 11.33.35 PM.png

 

Bookmark Record

If you would like to update the Bookmark Link on the channel, select Record to Bookmark in the dropdown. You will only be able to select the routed record or any object variables you have defined up to this point in your graph.

Screenshot 2024-09-10 at 11.10.33 PM.png

Also enter the Bookmark Name you would like to include on your channel. You can insert values from variables or a relative date if needed.

 

Advanced Settings

Under Advanced Settings, you will see the fallback edges for this node. You are given a fallback edge to indicate what you would like to happen if there is no variable found to identify which channel to update. 

Screenshot 2024-09-10 at 11.12.06 PM.png

You are also given a Next Node edge if you would like to continue processing records beyond this point in your graph.

 

Troubleshooting and Monitoring

In addition to the reporting available in the Time-to-Action Tracker, LeanData will allow you to track records that are either pending or completed via a NotifyPlus Slack action in Routing Insights and Audit Logs. 

 

Routing Insights

Records that have not met specified rules and are currently waiting for expiration will be indicated by an orange counter on the Slack Action Notification node itself. This will detail how many records are still waiting to be qualified or expired via that node.

 

Screenshot 2025-01-27 at 12.56.50 PM.png

In order to see which records are currently held in this node, click on the orange circle and you will be taken to a Routing Insights Detail page that lists out these records. On this page, you can see the records that are pending processing, the processing time, and the expiration time.

Screenshot 2024-08-13 at 4.49.56 PM.png

Click the Abort button on the right to abort the pending hold on the record. LeanData will stop processing the record as if it followed an End of Flow edge.

 

Please note: The use of a Slack Action Notification node may create a situation where a record may enter via a particular version of your Router graph, but may not be finished evaluating until a subsequent version of your Router graph. Please note that this may cause some of the metrics for records processed in a particular deployment to appear higher than the number of records that entered that deployment.  

LeanData will always attempt to use the newest deployment as long as node names do not change.  If node names change, LeanData will abort the hold. 

 

Abort Reasons

In the case that any of the following occurs, LeanData will abort the hold on these records and mark the record status as “Aborted” in the Time-to-Action Tracker with an Abort Reason populated.

  • Lead Converted
  • Record Deleted or Merged
  • Hold Until Conflict 
  • Incompatible Graph Deployment
    • Node name changes or conditions are incompatible
  • Manual Abort by a User
  • Business Unit Changed
    • Only applicable for Multi-Graph customers

 

Audit Logs

The Send Slack Action Notification Node will create two audit logs. A parent log will be created when the initial notification is sent, and a child log will be created when the record exits the node via either edge and is completed.

Within the Audit Logs page, records that are still pending due to a Send Slack Action Notification Node will display as a Parent Log with a Pending status in the Path Column. 

Screenshot 2024-04-27 at 1.58.46 AM.png

When the time frame expires or when the record is actioned, another log will be generated as the child log, showing the routing outcome and detailing the path from the NotifyPlus Node onward. If you expand the More Info section, you will see a link to the Parent Log that triggered the initial routing process.

Screenshot 2024-04-27 at 1.31.22 AM.png

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share