# How to export Pipedrive deals with emails and notes

Canonical: https://refer.sourcex.si/guides/pipedrive-export-all-activities-notes-emails-of-a-deal
Last updated: 2026-11-03

Pipedrive's list exports cover deal and activity metadata, but email bodies and files generally need the API or the mailbox provider. Export entity by entity, keep IDs, include lost deals, and verify against the live account. Check Pipedrive's current documentation, and do any export work only for the company, within its own systems.

## Can you export all activities, notes and emails of a Pipedrive deal?

Partly, and the route depends on the record type. List-view exports cover deal, person, organization and activity fields as metadata. Email message bodies and attached files are generally not part of those exports, which is why community threads keep asking the same question. The practical routes are the API for linked mail and files, and the mailbox provider (Google or Microsoft) for the message bodies themselves. Confirm current behavior in Pipedrive's own documentation, since features change.

This guide is for RevOps consultants who inherit Pipedrive instances and get asked for a complete deal history. It also explains why a long-running instance may be worth a conversation, and why the export work itself belongs after an agreement, not before.

## What are you actually trying to get?

| Record type | Where it lives | Typical route to retrieve it |
|---|---|---|
| Deal fields and stage history | Pipedrive | Filtered list export, or API |
| Activities (calls, meetings, tasks) | Pipedrive | Activity list export, or API |
| Notes | Pipedrive | API; check whether a list export includes them in your plan |
| Linked email metadata | Pipedrive | API |
| Email bodies | Mailbox provider, or Pipedrive if the Smart Email BCC or sync was used | Mailbox export, or API where available |
| Files and attachments | Pipedrive file store, or mailbox | API for files; mailbox for attachments |
| Call recordings and transcripts | Telephony or conversation tool | That tool's own export; see [Salesloft call and email histories](/systems/salesloft-data-export) |

Plan retrieval by record type rather than looking for one button that does everything.

## How do you export a deal history step by step?

1. **Define the scope with the admin.** Decide which date range, pipelines and deal statuses (open, won, lost) are included. Lost deals matter because outcomes are mixed.
2. **Run the list exports first.** Export deals, activities, people and organizations as separate files with consistent IDs so they can be joined later.
3. **Use the API for what the lists omit.** Pull notes, linked mail metadata and files by deal ID. Respect rate limits and use a token tied to an admin account the company controls.
4. **Pull email bodies from the mailbox provider.** Match messages to deals by sender, recipient and date range using the metadata. Do this with the mailbox owner's authorization.
5. **Check completeness.** Compare deal counts, activity counts and stage changes between the export and the live account. Log gaps.
6. **Store the output in a company-controlled location.** Record where it lives, who owns it and the retention period.

Do this only on the company's instructions, within its own systems. The related systems [Outreach](/systems/outreach-io-export-data), [GitLab](/systems/gitlab-export-project-with-history) and [Azure DevOps](/systems/azure-devops-export-work-items-history) have their own exports and pages.

## What mistakes cause incomplete exports?

| Mistake | Why it hurts | Fix |
|---|---|---|
| Exporting only open deals | Drops lost deals and the outcome signal | Include won, lost and deleted-status as permitted |
| One flat file for everything | Notes and activities collapse into unreadable rows | Export entity by entity and keep IDs |
| Assuming email bodies are included | The file looks complete but has no message text | Verify against the live deal before sign-off |
| Exporting with a personal user token | Access ends when the person leaves | Use an admin-controlled credential |
| Exporting after cancelling the subscription | Access may lapse or data may be removed on a schedule set by the vendor | Take exports before the cancel date; confirm vendor terms |
| Ignoring privacy limits | Contact data and call content carry privacy obligations | Agree redaction and exclusions first |

## Why would a Pipedrive history matter beyond reporting?

A deal record with stage changes, activities, notes, linked email and a final outcome is a sequence of actions and results. Five or more years of such pipeline-to-outcome records across hundreds or thousands of deals can show how a sales team really works: which follow-ups preceded wins and which did not. AI developers training and evaluating agents that perform business tasks look for exactly that kind of connected record, because it is scarce outside companies.

Pipedrive alone rarely makes a company qualify. Strong companies keep records across many systems, often 10 to 15 or more, so look for email, chat, finance, support and engineering history alongside the CRM. The [data inventory builder](/tools/data-inventory-builder) lists systems and years without describing record contents.

## Illustrative example

Illustrative: a fictional 90-person logistics software firm has run Pipedrive for seven years and its sales team also keeps Slack channels, a finance system and a support desk. The RevOps consultant, asked for a deal-history export for a CRM migration, notes the seven-year span and asks the CFO to preserve the export. The consultant then mentions that some companies license operational records to SourceX. The consultant does not look at the data; the CFO decides whether to talk to SourceX.

## What should a RevOps consultant check before introducing a client?

- [ ] The client is a company in the U.S., Canada, the EU, the UK, Australia, New Zealand, India, Singapore, South Africa, Latin America, the UAE or Saudi Arabia (outside the U.S., Canada and the EU, at least 70% of the data must be in English) with 50+ full-time employees at peak (contractors excluded) and several years of documented operations.
- [ ] The client owns the records and its customer contracts and privacy notices do not block licensing.
- [ ] An owner, CEO, CFO or authorized representative can decide.
- [ ] Your own consulting agreement does not restrict you from making the introduction.
- [ ] You have not been given, and will not request, any record contents.

## What does a good handoff note to the client contain?

A RevOps consultant can leave the client with a one-page note that supports both a CRM migration and any later licensing conversation. It should list the instance's creation date, the pipelines and their active years, the number of deals by status, the connected email and calendar accounts, and the admin credentials owner. It should not contain deal contents.

Add the answers to three questions: where do exports live, who may open them, and how long will they be kept. Many instances lose their history not through a vendor decision but because the one person who knew how the API token worked left the company. Write the note so that a successor can rerun the export.

Finally, include the other systems the sales team used around Pipedrive, such as sequencing tools, call recorders, e-signature and proposal tools. Together they show whether the pipeline records connect to the rest of the business.

## How do partner rewards work?

Partners earn the greater of $50,000 plus 5% and 15% of the compensation SourceX actually pays the company you refer, with no cap. A reward becomes payable after SourceX has paid the referred company under its signed agreement and the payout conditions in the program terms are met, including finance approval and your tax and payment details. It is calculated on the actual supplier payout and is never deducted from what the company receives. See the [RevOps consultant page](/for/revops-consultants) for the role overview and the [program terms](/terms) for the current details.

## Next step

Finish the export plan for your client and flag any system with several years of history. If the company fits, [register as a partner](/register) and send the introduction, or have the client apply at [sourcex.si/apply](https://sourcex.si/apply). The earlier note on [Xero records after a business ceases](/guides/keep-records-on-xero-after-business-ceases) shows how the same preservation habit helps in a wind-down.
