Send recent Salesforce opportunities to Teams

CRMMarketing

What it does

When someone runs the list_recent_opportunities command in Teams, this automation fetches recent opportunities from Salesforce. It posts the opportunity details back in the same conversation so the team sees them instantly.

Who it's for

Sales teams who need to view recent opportunities from Salesforce without leaving Teams.

How teams use this

Check pipeline from Teams daily

Sales reps run the list_recent_opportunities command each morning to see what deals moved forward without switching to Salesforce. The team stays in their workflow.

Share opportunities with leadership

Run the command in an executive channel so managers see recent pipeline activity posted directly in Teams. Only the channel audience changes.

Filter by opportunity stage

Add a stage parameter to the command so someone can request only opportunities in a specific stage like Proposal or Negotiation. The automation filters results before posting.

How it works

  1. Run the list command in Teams. Type the list_recent_opportunities command in a Teams channel or direct message to fetch opportunities from Salesforce.
  2. Fetch recent opportunities. Search Salesforce for recent opportunities and retrieve their details including name, stage, and amount.
  3. Post the opportunity list. Reply in Teams with the opportunity details so the channel sees the results from Salesforce right away.