Skip to content
Workflow · Track and forecast · Opening soon

Sales cycle length

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.

Early access opens shortly. Check back soon.

Someone typed

“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”

The agent read it as

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.

  1. File
    HubSpot deals export
    CSV export · 18 rows
  2. Step
    Filter and flag deals
    Step 1
  3. Result
    Closed-won deals
    18 rows · 1 flagged
  4. Schedule
    Runs when you say
    Proposed

On the sample files, every step runs and the result has 18 rows.

What you get back

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

Closed-won dealsSample data18 rows
17 agrees1 unmapped
Deal IDDeal ownerOriginal sourceCreate dateClose dateDays from create to closeStatus
5016Sofia AlvarezUnknown2026-10-072026-10-2518Unmapped
5013Jordan PatelDirect Traffic2026-10-012026-10-2120Agrees
5008Jordan PatelOrganic Search2026-09-202026-10-1626Agrees
5018Jordan PatelOrganic Search2026-10-112026-10-2817Agrees
5002Jordan PatelPaid Search2026-09-052026-09-2217Agrees
5001Maya ChenOrganic Search2026-09-022026-09-2624Agrees
5011Maya ChenOrganic Search2026-09-022026-09-2624Agrees
5007Maya ChenPaid Search2026-09-182026-10-1426Agrees
5015Maya ChenPaid Search2026-10-052026-10-2419Agrees
5003Maya ChenReferral2026-09-082026-10-0123Agrees
5006Noah BennettDirect Traffic2026-09-152026-10-1025Agrees
5017Noah BennettDirect Traffic2026-10-092026-10-2718Agrees
18 rows in the result · 12 shown, problems first. Sample data: illustrative figures, not business results.

How it works

How to use the Closed-won deals workflow

  1. 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and working on 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.

Closed-won deals: questions

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.
Which export should you use?
Use a HubSpot deals export with deal created date, closed date, deal owner or rep, deal source, and deal ID or another unique deal key.
What happens to rows that do not match?
Rows that do not match the rules are not counted as Agrees. They are marked Duplicate if the deal appears more than once, or Unmapped if the source value does not match the source rules.
How do you change the rules?
Change the rules in words by updating the filters, the required columns, and the mapping for source values. For example, you can switch the date range, add or remove fields, or rename the source 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.

Early access opens shortly. Check back soon.

Workflows like this

The number you report every month, rebuilt from the latest export, plus the forecast that follows from it.

All track and forecast workflows →