# Export data

With generic flat file integrations, your data can automatically be exported from Fairmarkit to a CSV file when specific events happen. Once the data is exported, you will be alerted and can download the file to import into your purchasing application.

Important: You will need to work with Fairmarkit to set up and configure the process to import your data into your purchasing application. For more information, see Prerequisites for flat file integration.

<figure><img src="https://1711751134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F95QWDcOsKn95Me8sE2RP%2Fuploads%2FPOw6Q7lbDivdjnLgtXzI%2Fexport_thumb_0_0.png?alt=media&#x26;token=f3b2e96c-00fb-4737-88f1-7b3d7a9a9c92" alt=""><figcaption></figcaption></figure>

### 1. Events flagged by status <a href="#id-1eventsflaggedbystatus" id="id-1eventsflaggedbystatus"></a>

Fairmarkit monitors the activity of your events in Fairmarkit on a schedule. When an event moves to a flagged status (e.g., a request for quote event is awarded), the event will be exported to a CSV flat file.

Note: The available statutes depend on the type of event and what has been configured for your company.

### 2. Export file <a href="#id-2exportfile" id="id-2exportfile"></a>

Once an event is flagged, Fairmarkit exports the CSV flat file. Depending on how you setup your exports with Fairmarkit, you could receive your exported file in one of the following ways:

* **SFTP**: The file is sent to your from\_fairmarkit folder (e.g., production/from\_fairmarkit/).
* **Email**: Fairmarkit will email the exported file to your email.

For more information on each type of export file, see:

* [Export requests for quote](https://docs.fairmarkit.com/buyers/integrations/flat-file-integration/export-data/export-requests-for-quote)

### 3. Import file <a href="#id-3importfile" id="id-3importfile"></a>

Finally, you will need to import your data into your purchasing application. For information on how to upload files, consult the documentation for your purchasing application.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fairmarkit.com/buyers/integrations/flat-file-integration/export-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
