List recent Salesforce Opportunities for an Account from Slack

BotsArtificial IntelligenceSales EnablementCRMMarketing

What it does

When someone runs a command in Slack, this automation searches Salesforce for an account. It then finds recent opportunities linked to that account and replies in Slack with the results.

Who it's for

Sales teams who need to view recent opportunities for an account without leaving Slack.

How teams use this

Check opportunities before a call

Run the command in Slack to see recent opportunities for an account before calling the customer. The team stays in Slack and does not need to open Salesforce.

Route deals to the right owner

Use the opportunity list in Slack to identify which deals belong to an account and route them to the correct sales rep. This automation stays the same and only the routing logic changes.

Filter opportunities by stage

Add a condition to show only opportunities in a specific stage, such as negotiation or closed won. The command stays the same and only the search filter changes.

How it works

  1. Run the opportunity lookup command. Type the command in Slack with an account name so this automation can search Salesforce for that account and its opportunities.
  2. Search for the account in Salesforce. Search Salesforce for an account that matches the name provided in the Slack command so the automation can find linked opportunities.
  3. Find recent opportunities for that account. Search Salesforce for opportunities linked to the account so the list can be sent back to Slack with current deal information.
  4. Reply with the opportunity list. Post the opportunities in Slack so the channel sees the results, or confirm that no opportunities exist for that account.