Skip to content
Workflow · Customers · Opening soon

Discount analysis by rep

Export your Salesforce opportunities and opportunity line items. Then compare average discount percent by rep and product on closed won deals.

Early access opens shortly. Check back soon.

Someone typed

“match salesforce opportunities to line items for won deals, calculate average discount by rep and product, and show Agrees if discount is 5% to 14%, High discount above 14%, Low discount below 5%”

The agent read it as

match Salesforce Opportunities to Salesforce Opportunity Line Items for won deals, calculate average discount by rep and product, and show Agrees if discount is 5% to 14%, High discount above 14%, Low discount below 5%

What the agent built

3 steps, each one an ordinary Mammoth step you can open and change.

  1. File
    Salesforce Opportunities
    CSV export · 18 rows
  2. File
    Salesforce Opportunity Line Items
    CSV export · 32 rows
  3. Step
    Keep won opportunities
    Step 1
  4. Join
    Match won deals
    32 of 32 paired
  5. Step
    Average discount by rep and product
    Step 3
  6. Result
    Won Deal Discount Summary
    25 rows
  7. Schedule
    Runs when you say
    Proposed

Checked on the sample files: every step ran, 25 rows came out, and the join paired 32 of 32 rows.

What you get back

The result of that run, the rows to look at first.

Won Deal Discount SummarySample data25 rows
RepProductAverage Discount (%)Discount Status
Diego RamirezCloudShield Core17.5High discount
Diego RamirezDataVault Plus19High discount
Diego RamirezRouteSync15High discount
Diego RamirezSignalStack20High discount
Diego RamirezWorkBoard Pro17High discount
Evan BrooksCloudShield Core42High discount
Evan BrooksSignalStack38High discount
Tessa MorganRouteSync17High discount
Tessa MorganWorkBoard Pro16High discount
Evan BrooksDataVault Plus11Agrees
Evan BrooksRouteSync10Agrees
Jordan LeeCloudShield Core9Agrees
25 rows in the result · 12 shown, problems first. Sample data: illustrative figures, not business results.

How do you compare average discount percent by sales rep and product name on closed won deals?

Export Salesforce Opportunities and Salesforce Opportunity Line Items. Keep won opportunities, match them to line items, then average discount percent by rep and product name. The result shows Agrees for 5% to 14%, High discount above 14%, and Low discount below 5%.

How it works

How to use the Won Deal Discount Summary workflow

  1. 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and checked on the sample files.
  2. 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
  3. 3Change it in words, then turn it onSay what to change and see the new result before anything saves. Then choose when it runs.

Won Deal Discount Summary: questions

What export should you use?
Use the exported files that contain the rows you want to compare. For this workflow, that means opportunities and opportunity line items from Salesforce.
What happens to rows that do not match?
Only rows that match the workflow rules move forward. Rows that do not match are left out of the result.
How do you change the rules?
Change the rule text for the rows, fields, and thresholds you want to use. For example, you can change which rows stay in the set, how rows are matched, and which ranges define each label.

Get early access to this workflow

It will open already built and checked on the sample files. Swap in your own exports and see your result.

Early access opens shortly. Check back soon.