How to Integrate Slack with Salesforce
In this article
You can connect Slack to Salesforce using the official Salesforce app for Slack (also called Salesforce for Slack), which lets you view and update Salesforce records without leaving Slack. The setup requires a Salesforce account with admin rights and a Slack workspace where you can install apps. Once connected, you can search Salesforce records, share them in channels, and receive notifications about changes. The exact menu labels may vary slightly by Salesforce edition, Slack plan, or region, but the core steps are consistent.
What You'll Need
- A Salesforce account with system administrator permissions (or help from your Salesforce admin).
- A Slack workspace where you have permission to install apps (typically a workspace owner or admin).
- The Salesforce app for Slack, available from the Slack App Directory.
- Your Salesforce login credentials.
Step-by-Step
- Install the Salesforce app in Slack. Open Slack and go to the Apps section in the sidebar (or click the plus icon next to Apps). Search for “Salesforce” and select the official app from Slack. Click “Add to Slack” and choose the workspace where you want to install it. Review the permissions and click “Allow” to authorize the app.
- Connect your Salesforce account. After installation, Slack will prompt you to connect your Salesforce account. Click “Connect” and sign in to Salesforce with your credentials. If you are not prompted, you can trigger the connection by typing
/salesforce loginin any Slack channel or direct message. Follow the on-screen instructions to authorize the connection. - Configure notifications (optional). To receive Salesforce notifications in Slack, you can set up alerts for specific records or objects. Use the Salesforce app’s home tab in Slack to configure which notifications you want, such as when a opportunity stage changes or a case is updated. You can also use the
/salesforcecommand to manage settings. - Use the app to search and share records. In any Slack channel, type
/salesforce searchfollowed by a keyword to find Salesforce records. You can also use the message actions menu (the three dots on a message) to share a message to Salesforce as a new record or add it to an existing record. The app also allows you to view record details directly in Slack. - Set up Slack notifications in Salesforce (optional). If you want Salesforce to send notifications to Slack, you can configure this from Salesforce setup. Go to Setup > Slack > Slack Notifications (or similar path depending on your Salesforce edition) and follow the prompts to connect your Slack workspace. This allows you to send records or alerts to Slack channels.
- Test the integration. After setup, test by searching for a record, sharing a message to Salesforce, and checking that notifications appear as expected. If something doesn’t work, see the troubleshooting section below.
Common Mistakes
- Installing the app without admin approval: In many Slack workspaces, only admins can install apps. If you don’t see the option, ask your workspace owner to install it.
- Using a Salesforce account without proper permissions: The integration requires access to the records you want to view or edit. If you can’t see certain records, check with your Salesforce admin.
- Forgetting to authorize both sides: The connection requires authorization in both Slack and Salesforce. If you skip a step, the app won’t work.
- Assuming all Salesforce features are available: The Slack app supports common objects like accounts, contacts, opportunities, and cases, but not every custom object or feature may be supported. Check the app’s documentation for limitations.
Tips
- Use the
/salesforceslash command to quickly access help and commands. - Pin important Salesforce records to channels for easy reference.
- Set up notifications for critical updates to stay informed without switching apps.
- Encourage team members to connect their own Salesforce accounts for personalized search results.
Troubleshooting
If the integration doesn’t work as expected, try these steps in order:
- Check your connection status: In Slack, go to the Salesforce app’s home tab and verify that your account is connected. If not, reconnect using
/salesforce login. - Verify permissions: Ensure you have the necessary permissions in both Slack and Salesforce. In Slack, check that the app is allowed to post messages and access channels. In Salesforce, confirm your user profile has API access enabled.
- Restart Slack: Close and reopen Slack to refresh the app.
- Reinstall the app: If problems persist, remove the Salesforce app from Slack and reinstall it. Note that this will require reauthorization and may reset your notification settings.
- Contact support: If none of the above works, reach out to Slack support or your Salesforce admin for further assistance.
Frequently Asked Questions
Do I need a paid Slack plan to use the Salesforce integration?
The Salesforce app for Slack is available on all Slack plans, but some features like unlimited message history or advanced app integrations may require a paid plan. Check Slack’s pricing page for details.
Can I use the integration with Salesforce Essentials or Professional Edition?
The app works with most Salesforce editions, but some features may be limited. Essentials and Professional editions support the core functionality, but advanced features like custom objects may require higher editions.
How do I stop receiving Salesforce notifications in Slack?
You can manage notifications from the Salesforce app’s home tab in Slack. Go to the app’s settings and adjust or disable notifications for specific objects or records.
Is the integration secure?
Yes, the app uses OAuth for authentication and respects Salesforce’s sharing rules and permissions. Data is encrypted in transit.
Can I share Slack messages to Salesforce?
Yes, you can use the message actions menu to share a Slack message to Salesforce as a new record or add it to an existing record, provided you have the necessary permissions.
What if I can’t find the Salesforce app in the Slack App Directory?
Ensure you are searching for “Salesforce” and not a third-party app. If it’s not visible, your Slack admin may have restricted app installations. Contact your workspace owner.