Send a Salesforce opportunity picklist to Teams

CRMMarketing

What it does

When someone runs the select opportunity to update command in Teams, this automation searches Salesforce for all open opportunities. It posts a picklist in the same conversation so someone can choose which opportunity to update.

Who it's for

Sales teams who need to pick a Salesforce opportunity from Teams before making updates.

How teams use this

Pick an opportunity to update from Teams

Run the command and see all open opportunities with owner names in a picklist. Select one to move to the next step without leaving Teams.

Filter opportunities by owner or stage

Add a condition to the Salesforce search so the picklist only shows opportunities at a certain stage or owned by a specific person. The rest of the flow stays the same.

Route updates to different teams

Post the picklist to a sales channel instead of direct messages so multiple team members can see and select opportunities together.

How it works

  1. Run the select opportunity command. Type the select opportunity to update command in a Teams channel or direct message to start this automation.
  2. Find all open opportunities. Search Salesforce for every open opportunity so the picklist shows current records only.
  3. Get the opportunity owner details. Retrieve info about each opportunity owner using the Owner ID so the picklist shows who owns each record.
  4. Post the opportunity picklist. Reply in the same Teams conversation with a picklist of open opportunities so someone can select one to update.