Préférences de cookies

Choisissez ce que nous pouvons utiliser. Les cookies strictement nécessaires maintiennent votre session et ne peuvent pas être désactivés ; tout le reste relève de votre choix et ne change rien au fonctionnement du site. Vous pouvez changer d’avis à tout moment depuis le pied de page.

A man in a dark suit and tie reads printed documents at a wooden desk with a pen in hand, an open laptop showing a spreadsheet beside him.

Export deals from HubSpot: how to get closed won deals into a CSV with the contact's phone and email

Photo by RDNE Stock project (opens in a new tab) on Pexels

HubSpot exports deals from any saved view, but the file carries the associated contact's ID and name, not their phone number or email. Here is how to set up the view, the export settings that matter, the second export that fills in the contact details, and the checks that tell you the file is complete.

Contents
  1. How HubSpot's deal export works
  2. Build the view: closed won deals, by close date
  3. The export settings that matter
  4. Add each contact's phone and email with a second export
  5. Check the file before anyone uses it
  6. What the file is for

To get closed won deals out of HubSpot with each customer's phone and email, export twice: a saved view of closed won deals with the contact association, then your contacts with Record ID, phone and email. Join them on the contact ID. The deal export alone has only the contact's name and ID, which a call log can't match.

HubSpot's deal export is easy to find and easy to run. The trouble shows up later, when you try to do something with the file. You wanted a list of the deals you won, what each was worth and who the customer was, so you could match them against your call tracking or your form leads and see which marketing paid for itself. What you get has the deal and its amount, and a column of contact names and long numeric IDs. There's no phone number on the row, and phone numbers are what a call log has.

That isn't a bug. It's how HubSpot builds the file, and its knowledge base says so. Once you know, the fix is one more export and one lookup formula. This post goes through the view to export, the settings in the export dialog that matter, the second export that fills in the contact details, and the checks that tell you the file is complete. Everything about HubSpot's behavior comes from its knowledge base article on exporting records, last updated 12 November 2026. For what HubSpot's source fields mean once they're in the file, see our post on HubSpot original source.

How HubSpot's deal export works

HubSpot exports the deals in a view, with that view's properties and associations, from View settings, then Sharing, then Export. Associations come out as record IDs plus the associated record's name. The download link arrives by email and expires after 30 days. Anyone exporting needs export permission.

Three things in that description shape everything else. First, the export is of a view, so the view is where you decide which deals and which columns. Second, it exports current values: if a deal's amount was edited last week, the file has the new amount, and last quarter's report may not match this quarter's export of the same deals. Third, an association column is a pointer to another record, not a copy of it. The deal row says "this deal belongs to contact 51234, Jane Ortiz". It doesn't say Jane's phone number.

Build the view: closed won deals, by close date

Create a deals view in the right pipeline, filtered to the closed won stage and a close date inside your reporting period, and save it. Add the columns the report needs to the view itself, because by default the export carries only what the view shows.

In CRM, then Deals, pick the pipeline from the dropdown in the upper right. If you run more than one pipeline, say one for new customers and one for renewals, decide which belongs in a marketing report before you start; renewals usually don't. Then add filters: deal stage is closed won, and close date is within the period you're reporting on. Save it as a view with a plain name, such as "Closed won, last quarter".

Close date is the field that matches money arriving. Create date puts a deal won in September into June, when the deal was opened. A filter on last activity or last modified date drifts every time a rep touches an old deal. Close date, on a deal that's actually closed won, is the date the revenue counts.

Then set the columns. The view decides the file's columns and their order, so it's worth getting right once.

Columns to show in the closed won view before exporting
ColumnWhy it's in the file
Record IDA unique key for the deal, so you can find it again and spot duplicates
Deal nameSo a person can read the file
AmountThe revenue
Close dateThe date the money counts
Deal stageA check that every row really is closed won
Associated contactThe contact ID you'll use to look up phone and email
Deal ownerOptional: who to ask about deals with no contact

If your account uses more than one currency, add the deal's currency as well, and never sum amounts across currencies. And leave out what the report doesn't need: notes, descriptions and custom fields full of call summaries don't belong in a file that will sit in a downloads folder. Our post on exporting CRM data goes into what to drop and why.

The export settings that matter

In the export dialog, choose CSV, keep column headers in one language every month, and leave the properties option on the view's properties. Keep the associated record name if a person will read the file. CSV avoids Excel's column limits; a fixed header language keeps your spreadsheet formulas working.

  • File format: CSV. HubSpot recommends CSV for exports with many columns, because XLS stops at 256 columns and XLSX at 16,384, and anything beyond is dropped. CSV has no limit, and it's what other tools import most reliably.
  • Language of column headers: pick one and keep it. HubSpot translates the default property headers into the language you choose, while the values stay as they are. If one person exports in English and another in Spanish, the same column has two names, and any formula or import mapping built on the header breaks.
  • Properties included: the ones in your view. The other options, all properties with or without associations, put columns in alphabetical order with Record ID first, which gives you a much wider file to clean.
  • Associations: the default is fine. Up to 1,000 associated records per column covers any normal deal. The associated record name helps a person reading the file; HubSpot notes that clearing it can make exports quicker.

Then click Export. The file doesn't download straight away; HubSpot emails a link. Large exports can take a few hours, and a CSV over 2MB arrives zipped. Download it within 30 days, because the link expires after that.

Add each contact's phone and email with a second export

Export your contacts with Record ID, phone number, mobile phone number and email. In the deal file, look up each deal's associated contact ID in the contact file and bring back the phone and email. A deal with two contacts gets both, or the one your rule picks.

Open CRM, then Contacts, and make a view with Record ID, email, phone number and mobile phone number. You can narrow it to contacts associated with closed won deals if your account makes that easy; otherwise export all contacts and let the lookup do the narrowing. Export it as CSV, the same way.

Now there are two files: deals with a contact ID, and contacts with a Record ID. In a spreadsheet, add columns to the deal file that look up the contact ID in the contact file and return the phone and email. In Google Sheets or current Excel, XLOOKUP does it in one formula per column. Our post on attribution in a spreadsheet walks through the lookups and the pivot that follows.

Two details to settle before you trust the result. A deal can have more than one associated contact, and then the association cell holds more than one ID. Decide a rule, usually the primary contact or the first one listed, and apply it the same way every time. And a contact can have both a phone number and a mobile phone number filled. Customers usually call from their mobile, so bring back both and match on either.

Here's an invented example with round numbers. A home services company exports 180 closed won deals for the quarter, worth $468,000. After the lookup, the deals sort into four groups.

Invented example: 180 closed won deals after looking up each contact
What the lookup foundDealsAmount
A contact with a phone number131$352,000
A contact with an email only27$61,000
A contact with neither9$21,000
No associated contact at all13$34,000
Total180$468,000

Check the arithmetic: 131 + 27 + 9 + 13 = 180 deals, and $352,000 + $61,000 + $21,000 + $34,000 = $468,000. The first group, $352,000, can be matched to a call log. The second, $61,000, can be matched to form leads on the email. The last two groups, 22 deals and $55,000, can't be matched to anything and will stay unknown. That's not a failure of the method; it's a measure of how often a deal gets created without the contact details marketing needs. The 13 deals with no contact at all are worth a conversation with whoever creates deals.

Check the file before anyone uses it

Four checks: the row count and the amount total against a HubSpot report of closed won deals for the same dates, the share of deals with a phone or email after the lookup, and a scan for duplicates. Write the numbers next to the file name so the next person can check it too.

  1. Count the rows and compare them with a closed won report in HubSpot for the same pipeline and dates. A difference usually means a filter on the wrong date field or the wrong pipeline.
  2. Sum the amount column, one currency at a time, and compare. HubSpot exports current values, so a deal edited since the last report changes the total; that's expected, but you should know which deals moved.
  3. Count deals with no phone and no email after the lookup. Those can't be matched, and the count tells you how much revenue will stay unknown before you start.
  4. Sort by phone and by email and look for repeats. A customer who filled in a form and later called can exist as two contacts; our post on duplicate leads covers which one should keep the credit.

And open the CSV with an import rather than a double-click, setting the phone columns to text. A spreadsheet that guesses column types strips the plus sign from +1 numbers, turns long numbers into scientific notation and drops leading zeros. Our post on phone number normalization covers why numbers that look different are the most common reason a match comes up short.

What the file is for

With amount, close date, phone and email on every row, the file can be matched against a call log and a list of form leads to find which channel each customer came from. HubSpot's own source fields record the website session that created the contact, which for a customer who phoned is often nothing useful.

HubSpot already has source properties on contacts and deals, and if most of your customers arrive through forms on your website, they may tell you enough. For a business that sells by phone they usually don't. A customer who saw an ad, called the tracking number and was entered by a rep shows up as an offline source in HubSpot, because no website session created them. The call tracker knows which number they called and which ad that number belongs to. The export is what lets you join the two: the deal's phone number against the call log's caller number, the deal's email against the form leads.

Whatever doesn't match stays unknown. Spreading it across channels in proportion to the rest makes a report that looks complete and is wrong in a way nobody can check. Keep the unknown bucket in the report and try to shrink it next quarter, by asking every caller how they first heard of you and putting the answer in the CRM. If HubSpot sits alongside a call tracker in your stack, the HubSpot integration page shows how the exports fit together.

CloseRev reads two CSV files you export, closed sales and leads, so a HubSpot export of closed won deals with each contact's phone and email, plus a call log or lead list, will do. It matches each sale to leads on normalized phone and email and, by default, credits the source of the earliest matched lead; last touch is an option. Only high-confidence matches count automatically; medium- and low-confidence ones stay reviewable, and sales with no match stay in Direct / Unknown. It does not connect to HubSpot or read ad spend.

Questions people actually ask

How do I export deals from HubSpot?
Go to CRM, then Deals, pick the pipeline, and open the view you want to export, such as a saved view of closed won deals. Click the view configuration icon to open View settings, choose Export under Sharing, pick the file format, and click Export. HubSpot emails you a download link, which expires after 30 days.
Does a HubSpot deal export include the contact's phone number?
Not by default. HubSpot's knowledge base says association columns carry the associated record IDs and the associated record name. To get a phone number or email next to each deal, export the contacts too, with their Record ID, and look them up in a spreadsheet by the contact ID in the deal file.
How do I export only closed won deals in HubSpot?
Create a view of the deals in your pipeline filtered to the closed won stage, with the close date inside your reporting period, and save it. Then export that view. By default only the properties and associations shown in the view go into the file, so add the columns you need to the view first.
Why did my HubSpot export arrive as a zip file?
HubSpot zips a CSV export automatically when the file is larger than 2MB. Very large exports, over a million rows for CSV or XLSX, arrive as several files in one zip. Unzip it before opening; the data is the same.
Should I export HubSpot data as CSV or Excel?
CSV for anything you'll match or import elsewhere. HubSpot recommends CSV for wide exports because XLSX and XLS have column limits and extra columns are dropped. Open the CSV with an import, setting phone columns to text, so a spreadsheet doesn't strip leading plus signs or zeros.

See it on your own numbers.

Two exports and a few minutes. 14 days free, no credit card required, nothing to install.

Que souhaitez-vous savoir ?

Interrogez votre assistant IA sur CloseRev. Choisissez une question ou écrivez la vôtre, puis choisissez où la poser.