Notify Slack when a Salesforce opportunity closes won

CRMMarketingRecipe ToolsCollaboration

What it does

When a Salesforce opportunity closes won, this automation searches for the opportunity owner, account owner, and solutions engineer. It posts their names and opportunity details to a Slack channel, then marks the opportunity as processed.

Who it's for

Sales operations teams who need visibility into closed won opportunities across Slack without checking Salesforce.

Apps used

How teams use this

Alert the team to closed won deals

Post closed won opportunities to Slack with owner and solutions engineer names so the sales operations team stays informed without logging into Salesforce.

Route notifications to different channels

Change the Slack channel from client-services-ops to a different channel so each region or business unit sees only their closed won opportunities.

Include deal value and close date

Add the opportunity amount and close date to the Slack message so the team sees financial impact and timing without opening Salesforce. Only include opportunities above a minimum deal size.

How it works

  1. Search for closed won opportunities. A scheduled search runs a Salesforce query to find opportunities with a closed won status that have not yet been processed.
  2. Look up owner and engineer names. For each opportunity, search Salesforce for the opportunity owner name, account owner name, and solutions engineer name using their stored user IDs.
  3. Post details to Slack channel. Post a message to the client-services-ops Slack channel with the opportunity information, owner names, and solutions engineer name so the team sees the closed won deal.
  4. Mark opportunity as processed. Update the opportunity record in Salesforce to set the processed flag to true so this automation does not post the same opportunity again.