> ## Documentation Index
> Fetch the complete documentation index at: https://docs.royaltyport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Exports

> Export your contract data as CSV and receive it by email

## Overview

Export your contract data to CSV format for use in spreadsheets, reporting tools, or other systems. Exports are based on [custom views](/projects/contracts/drive/views), allowing you to control exactly which columns are included.

When you trigger an export, it runs as a background task. Once the file is ready, it is sent to your email address as an attachment.

The Exports panel shows a full history of all exports created for the project, including who created each export, which view was used, what fields were included, and when it was run.

***

## Creating an Export

<Steps>
  <Step title="Filter Contracts (Optional)">
    Apply [filters](/projects/contracts/drive/filters) or status filters to narrow down which contracts to export. Skip this step to export all contracts.
  </Step>

  <Step title="Open the Exports Panel">
    Click **Actions** in the toolbar, then select **Exports**. The panel shows your project's export history.
  </Step>

  <Step title="Create a New Export">
    Click the **Export** button (top-right, or in the empty state). The **Create Export** dialog opens.
  </Step>

  <Step title="Select a Custom View">
    Choose which custom view to export. The view's columns determine what data is included.
  </Step>

  <Step title="Select a File Type">
    Choose a file type. Currently, **CSV** is supported.
  </Step>

  <Step title="Submit the Export">
    Click **Export** to start the export. You will receive an email with the CSV file attached when it is ready.
  </Step>
</Steps>

<Note>
  You must have at least one [custom view](/projects/contracts/drive/views) created to use exports.
</Note>

<Info>
  Exports run in the background. Check your email for a message from Royaltyport with the exported file attached.
</Info>

***

## Export History

Every export is recorded in the Exports panel. Each row shows:

| Column     | Description                               |
| ---------- | ----------------------------------------- |
| **User**   | The team member who ran the export        |
| **View**   | The custom view used for the export       |
| **Fields** | The columns included in the exported file |
| **Date**   | When the export was created               |

***

## What's Included

The exported file includes:

* **All columns** from the selected custom view
* **All contracts** matching your current filters and status filter
* **Current sort order** applied to the data

***

## Best Practices

<AccordionGroup>
  <Accordion title="Create views for specific exports">
    Build custom views with the exact columns you need for reporting, then use those views for consistent exports.
  </Accordion>

  <Accordion title="Apply filters before exporting">
    Use [filters](/projects/contracts/drive/filters) to narrow down contracts before exporting to get exactly the data you need.
  </Accordion>
</AccordionGroup>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Views" icon="table-columns" href="/projects/contracts/drive/views">
    Create custom views to control export columns.
  </Card>

  <Card title="Filters" icon="filter" href="/projects/contracts/drive/filters">
    Filter contracts before exporting.
  </Card>
</CardGroup>
