Sales cycle length
“show every closed-won hubspot deal from the last 6 months by rep and source, with days from create to close; status Agrees when the deal is unique and the source is mapped, otherwise Duplicate or Unmapped”
show every closed-won HubSpot deals export from the last 6 months by rep and source, with days from create to close; status Agrees when the deal is unique and the source is mapped, otherwise Duplicate or Unmapped
What the agent built
1 step, each one an ordinary Mammoth step you can open and change.
- FileHubSpot deals exportCSV export · 18 rows
- StepFilter and flag dealsStep 1
- ResultClosed-won deals18 rows · 1 flagged
- ScheduleRuns when you sayProposed
Checked on the sample files: every step ran, 18 rows came out.
- Download HubSpot deals export sample (18 rows)HubSpot: Sales > Deals > Export view (columns: Deal ID, Deal name, Create date, Close date, Deal owner, Deal stage, Original source)
What you get back
The result of that run, the rows to look at first.
| Deal ID | Deal owner | Original source | Create date | Close date | Days from create to close | Status |
|---|---|---|---|---|---|---|
| 5,016 | Sofia Alvarez | Unknown | 2026-10-07 | 2026-10-25 | 18 | Unmapped |
| 5,013 | Jordan Patel | Direct Traffic | 2026-10-01 | 2026-10-21 | 20 | Agrees |
| 5,008 | Jordan Patel | Organic Search | 2026-09-20 | 2026-10-16 | 26 | Agrees |
| 5,018 | Jordan Patel | Organic Search | 2026-10-11 | 2026-10-28 | 17 | Agrees |
| 5,002 | Jordan Patel | Paid Search | 2026-09-05 | 2026-09-22 | 17 | Agrees |
| 5,001 | Maya Chen | Organic Search | 2026-09-02 | 2026-09-26 | 24 | Agrees |
| 5,011 | Maya Chen | Organic Search | 2026-09-02 | 2026-09-26 | 24 | Agrees |
| 5,007 | Maya Chen | Paid Search | 2026-09-18 | 2026-10-14 | 26 | Agrees |
| 5,015 | Maya Chen | Paid Search | 2026-10-05 | 2026-10-24 | 19 | Agrees |
| 5,003 | Maya Chen | Referral | 2026-09-08 | 2026-10-01 | 23 | Agrees |
| 5,006 | Noah Bennett | Direct Traffic | 2026-09-15 | 2026-10-10 | 25 | Agrees |
| 5,017 | Noah Bennett | Direct Traffic | 2026-10-09 | 2026-10-27 | 18 | Agrees |
How do you measure sales cycle length by rep and source?
Export your HubSpot deals data, then filter to closed-won deals from the last 6 months. Group the rows by rep and source, and calculate days from deal created to closed won for each deal. Mammoth flags each row as Agrees when the deal is unique and the source is mapped, or as Duplicate or Unmapped when it is not.
How it works
How to use the Closed-won deals workflow
- 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.
- 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
- 3Change it in words, then turn it onSay what to change and see the new result before anything saves. Then choose when it runs.
Closed-won deals: questions
Which export should you use?
What happens to rows that do not match?
How do you change the rules?
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.
Workflows like this
Measure how fast the pipeline turns into revenue, and where people drop out of your funnel.
- Pipeline velocityExport HubSpot deals and review pipeline velocity by month using your chosen rule for open deals, win rate, deal size and cycle days.See the workflow Built by the agent
- Sales pipeline reportBuild a weekly sales pipeline report from Salesforce exports, grouped by rep and stage, with stage changes and past-due deals.See the workflow Built by the agent
- Lead scoringScore HubSpot contacts by company size, job title, and pages viewed from your points table, then list the leads that match.See the workflow Built by the agent
- Win rate by rep and sourceCalculate win rate from a Salesforce opportunities export by rep and lead source for the last two quarters.See the workflow Built by the agent
- HubSpot deals vs Stripe invoicesCheck closed won HubSpot deals against Stripe invoices by amount, and list the ones that do not match.See the workflow Built by the agent
- Sales velocityEach rep's open deals, win rate, deal size, sales cycle and velocity, and the team'sSee the workflow Template