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
On the sample files, every step runs and the result has 18 rows.
- 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 |
|---|---|---|---|---|---|---|
| 5016 | Sofia Alvarez | Unknown | 2026-10-07 | 2026-10-25 | 18 | Unmapped |
| 5013 | Jordan Patel | Direct Traffic | 2026-10-01 | 2026-10-21 | 20 | Agrees |
| 5008 | Jordan Patel | Organic Search | 2026-09-20 | 2026-10-16 | 26 | Agrees |
| 5018 | Jordan Patel | Organic Search | 2026-10-11 | 2026-10-28 | 17 | Agrees |
| 5002 | Jordan Patel | Paid Search | 2026-09-05 | 2026-09-22 | 17 | Agrees |
| 5001 | Maya Chen | Organic Search | 2026-09-02 | 2026-09-26 | 24 | Agrees |
| 5011 | Maya Chen | Organic Search | 2026-09-02 | 2026-09-26 | 24 | Agrees |
| 5007 | Maya Chen | Paid Search | 2026-09-18 | 2026-10-14 | 26 | Agrees |
| 5015 | Maya Chen | Paid Search | 2026-10-05 | 2026-10-24 | 19 | Agrees |
| 5003 | Maya Chen | Referral | 2026-09-08 | 2026-10-01 | 23 | Agrees |
| 5006 | Noah Bennett | Direct Traffic | 2026-09-15 | 2026-10-10 | 25 | Agrees |
| 5017 | Noah Bennett | Direct Traffic | 2026-10-09 | 2026-10-27 | 18 | Agrees |
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 working on 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
How do you measure sales cycle length by rep and source?
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 opens already built and working on sample files. Swap in your own exports to see your result.
Workflows like this
The number you report every month, rebuilt from the latest export, plus the forecast that follows from it.
- Sales forecast from pipelineBuild a quarterly sales forecast from exported deals, with won deals counted in full and open deals weighted by stage probability.See the workflow Built by the agent
- 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
- 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
- Customer lifetime value by cohortWork out customer lifetime value by signup month cohort from Shopify customers and orders exports, with revenue per customer and average order count.See the workflow Built by the agent
- Profit and loss by monthBuild a monthly profit and loss statement from a QuickBooks general ledger export, with revenue, COGS, gross profit, expenses, and net income.See the workflow Built by the agent