# Create Connection, Mediation and Output contracts

Let's go back to our [example scenario](/data-mover-1.21/contracts/business-scenarios.md#scenario-3-connection-mediation-and-output-contracts) with the insurance company that must receive all policies issued by agencies nationwide by the end of the day. Files must be received in a specific format. Data Mover can receive these files from each agency, encrypt them, and create a zip file for each agency. Then, it can send the zip files to the insurance company.

<figure><img src="/files/3dvsEumWBoNobVMcw2BI" alt="" width="563"><figcaption></figcaption></figure>

We need 3 contracts:

* [Connection contract](/data-mover-1.21/contracts/business-scenarios/create-connection-mediation-and-output-contracts/create-the-connection-contract.md): the agency (data producer) connects to Data Mover to send the files.
* [Mediation contract](/data-mover-1.21/contracts/business-scenarios/create-connection-mediation-and-output-contracts/create-the-mediation-contract.md): Data Mover encrypts and zips the files.
* [Output contract](/data-mover-1.21/contracts/business-scenarios/create-connection-mediation-and-output-contracts/create-the-output-contract.md): Data Mover sends the zip files to the insurance company (data consumer).&#x20;


---

# 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.primeur.com/data-mover-1.21/contracts/business-scenarios/create-connection-mediation-and-output-contracts.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.
