Suivez votre progression
Accueil Trailhead
Accueil Trailhead

Send Messages and Disconnect Your Account

In Integrate Salesforce with Slack, you send a Salesforce record to Slack to kick off collaboration. Here, you learn how to send a Slack message to kick off a task. In this step you use both your connected Trailhead Playground and Slack workspace. Make sure you have both ready. Let’s start in your Trailhead Playground.

Send Messages to Salesforce

Your team is planning and budgeting for an upcoming deal. You want to make sure the conversation is added to Salesforce so that anyone viewing the record has all the context they need. You can use the Add to Salesforce message shortcut to attach a Slack message to any record in Salesforce.

Add the Message Viewer to Your Playground

Head to the Slack Setup app in your Trailhead Playground. 

  1. Next to Org Configuration, click Edit.
  2. Then, click Next to head to the Add Slack Message Viewer Components to Pages section.
  3. Check the box next to the Classic Salesforce Environment.
  4. Click Add Component to Pages.
  5. Click Finish.

Now, head back to your Slack workspace.

Send a Message to the Account Record

  1. Find the message you posted congratulating your team.
  2. Hover over the message and click the more actions, then click Add to Salesforce.
  3. Enter united oil in the search field. Add to Salesforce prompt with united oil in the search field and United Oil & Gas Corp. account highlighted
  4. Select the United Oil & Gas Corp. account.
  5. Then, click Add. You get a message in Slack that the message was sent back to Salesforce.

See the Message in Salesforce

Head to Salesforce to see the message. 

  1. In your Trailhead Playground, click App Launcher  to open the App Launcher.
  2. Search for and find Sales.
  3. Click Accounts.
  4. Find and click the United Oil & Gas Corp. account.
  5. Click Details, then scroll to the bottom.
  6. There, you find the new Slack Message Viewer and the message you just sent back to the account.
    Slack Message Viewer on the account record

Now, all important conversations can be tracked, no matter where they happen.

Disconnect Your Account

There may come a time when you want to disconnect your account. For example, perhaps you change roles and no longer have Salesforce access, or no longer needs access to all the Salesforce records as you previously did. 

  1. In Slack, click Apps in the left sidebar.
  2. Search for and select Salesforce to open the application.
  3. Click Disconnect account.

That’s it!

Sum It Up

Congratulations, you’re now an expert at using the Salesforce for Slack integration to speed up collaboration and improve productivity across your sales teams. 

Resources