> For the complete documentation index, see [llms.txt](https://docs.fairmarkit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fairmarkit.com/buyers/integrations/flat-file-integration.md).

# Flat file integration

Fairmarkit's generic flat-file integration allows you to sync data between Fairmarkit and your ERP/P2P purchasing application. You can import data from your purchasing application to Fairmarkit using SFTP or email. Fairmarkit also supports sending back purchase requisition events (closed, awarded, canceled, and archived) to your purchasing applications--either via our generic flat-file export, webhook, or API integration.

Important: Before you can use flat file integration, there are some steps that you'll need to complete the prerequisite setup. [For more information, see Prerequisites for flat file integration.](/buyers/integrations/flat-file-integration/prerequisites-for-flat-file-integration.md)

<figure><img src="/files/3lJmAk5PXftLuGj4frtg" alt=""><figcaption></figcaption></figure>

You can move data between your purchasing application and Fairmarkit in the following ways:

* [Import data](/buyers/integrations/flat-file-integration/import-data.md)
  * [Import categories](/buyers/integrations/flat-file-integration/import-data/import-categories.md)
  * [Import purchase orders](/buyers/integrations/flat-file-integration/import-data/import-purchase-orders.md)
  * [Import purchase requisitions](/buyers/integrations/flat-file-integration/import-data/import-purchase-requisitions.md)
  * [Import requests for propsal or information](/buyers/integrations/flat-file-integration/import-data/import-requests-for-proposal-rfp-or-information-rfi.md)
  * [Import suppliers](/buyers/integrations/flat-file-integration/import-data/import-suppliers.md)
* Export data
  * [Export requests for quote](/buyers/integrations/flat-file-integration/export-data/export-requests-for-quote.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
