Update Salesforce opportunity to ClosedLost from Slack
BotsArtificial IntelligenceSales EnablementCRMMarketing
What it does
When someone runs the update opportunity ClosedLost command in Slack, this automation checks the lost reason. If it matches Alternative Solution, a modal opens; otherwise the opportunity updates to ClosedLost in Salesforce and Slack confirms the change.
Who it's for
Sales teams who need to mark opportunities as ClosedLost from Slack with conditional handling based on the reason.
Apps used
How teams use this
Mark lost deals without extra steps
Run the command with a lost reason that is not Alternative Solution, and the opportunity updates immediately in Salesforce with a confirmation in Slack. The team stays in the conversation.
Capture details for competitive losses
When the lost reason is Alternative Solution, a modal collects more information before the Salesforce update so the team has context on which competitor won the deal.
Route to management for review
Extend this automation to check if the opportunity value exceeds a threshold and route high-value losses to a manager for approval before the Salesforce update completes.
Log the reason to a data warehouse
Add a step to send the lost reason and opportunity details to a data warehouse so the team can analyze loss patterns by reason and competitor over time.
How it works
- Run the ClosedLost command. Type the update opportunity ClosedLost command in Slack with the lost reason so the automation can route it correctly.
- Open a modal for Alternative Solution. When the lost reason equals Alternative Solution, Slack opens a modal view to gather additional details before the Salesforce record updates.
- Update the opportunity status. Update the Salesforce opportunity to ClosedLost with the lost reason provided, whether or not the modal was shown to collect more details.
- Confirm the update in Slack. Post a message in the same Slack conversation so the channel knows the opportunity was marked ClosedLost in Salesforce.