Update and notify Salesforce opportunity status in Teams
CRMMarketing
What it does
When someone invokes the reopen_opportunity command in Teams, this automation updates the opportunity status in Salesforce. It retrieves the opportunity and owner details, then posts the re-opened record to Teams so the team sees the current state.
Who it's for
Sales teams who need to re-open closed opportunities and confirm the change in their Teams channel.
How teams use this
Re-open a lost deal from Teams
Someone runs the reopen_opportunity command in Teams with the opportunity ID and picks a new stage. The automation updates Salesforce and posts the details back so the team can act on it without leaving Teams.
Mention the opportunity owner in Teams
Extend this automation to check the opportunity owner and mention them in the Teams message so they are notified right away that their deal is active again.
Re-open opportunities from sales operations channel
Use this automation in a dedicated sales operations channel instead of individual deal channels. The flow stays the same and only the Teams channel context changes.
How it works
- Invoke the re-open opportunity command. Run the reopen_opportunity command in Teams with the opportunity ID and select the stage for the re-opened opportunity.
- Update the opportunity status. Change the opportunity status in Salesforce to the selected stage so the record reflects the re-opened state.
- Retrieve opportunity details from Salesforce. Search Salesforce for the opportunity using the ID to fetch its current details, amount, close date, and other fields.
- Retrieve the opportunity owner from Salesforce. Search Salesforce for the owner user record using the Owner ID so their name and contact info appear in the notification.
- Post the re-opened opportunity to Teams. Send a message in Teams with the opportunity details and owner information so the channel knows the opportunity is active again.