Sales Win Wire Automation with Microsoft Flow
How does your organization communicate important sales wins?
All companies I have worked for have all had some kind of Sales Win Wire procedure in place to make the organization aware of important sales wins…. but… those Win Wires have always been weeks or month underway before made. Usually sellers down prioritize creating Win Wires as they already are focused on to the next sale rather than looking back and reflect.
Let’s Automate Win Wires
Why not do a post to Microsoft Teams with a simple Win Wire information every time an Opportunity in a Model Drivel Powerapp/Dynamics 365 are set as “Won”.
Lets go through a step by step guide on how to set this up with no code through Microsoft Flow.
Trigger a Flow to run when a Sales Opportunity is Closed
- Create a new Microsoft Flow “Create from Blank”
- Give you flow a good name like “Sales WinWire with Microsoft Flow”
- Search for connector “Common Data Service” and select
- Select Trigger “When a record is updated”
- Set Environment
- Set Entity name = Opportunities
- Set Scope = User
- Expand “Advanced Options”
- Set “attribute Filters item” = “ActualCloseDate”
Last step “attribute filters item” are really important as this tells the Flow only to trigger when a new value are saved to the Opportunities field “Actual close Data” so we do not get the Flow trigged on every updated to the opportunity
Get Account/Client/Customer data
- Add a new step
- Search for connector “Common Data Service” and select
- Choose Action “Get Record”
- Set Environment
- Select Entity containing Customer data (name is normally Account, but I have changed mine to “Client”)
- In “Item identifier” select “Account”
- Press “…” and select “Rename” and set flow step name = “Get Client”
Renaming a flow step make it easier in later flow steps to find and use parameters.
Design an Adaptive Win Wire Card
User one of the sample adaptive cards here https://adaptivecards.io/samples or create your own as I have done with this free designer https://adaptivecards.io/designer/
After finished designing the adaptive card press “Copy JSON” to be ready to use it in next step.
Source: https://adaptivecards.io/designer/
Create Post for Adaptive Card Win Wire to Teams
Create a new StepSearch and select “Microsoft Teams”
Select Action “Post your own adaptive Card…”
Select which Teams site and Channel to post in
Paste copied JSON from “Step 3 – Design Adaptive Card” info field “Message”
Set Curser in Message window where values from previous steps should be inserted and scroll down below the Message Window to insert parameters/values from Opportunity or Account/Client/Customer.
Example of placement of parameter “actual Revenue” from Opportunity in JSON
Save it and try it out.
Result
Below is a demo of the Adaptive Card posted to a Teams channel with a Win Wire information every time an Opportunity in a Model Drivel Powerapp/Dynamics 365 are set as “Won” (clicking action “Close as Won”).
Try it
Next step should be to try this in your organization.