# Create Input, Mediation and Output contracts

Let's go back to our first [example scenario](/data-mover-1.21/contracts/business-scenarios.md#scenario-1-input-mediation-and-output-contracts) with the organization that needs to receive a zip file containing all the invoices issued by its branches throughout the country. Data Mover accesses each branch repository every hour, retrieves the invoices issued in the last hour, creates the zip file, and sends it to the head office along with an email confirmation to a specific user.

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

We need 3 contracts:

* [Input contract](/data-mover-1.21/contracts/business-scenarios/create-input-mediation-and-output-contracts/create-the-input-contract.md): every hour, Data Mover connects to each branch repository (data producers) to get the files.
* [Mediation contract](/data-mover-1.21/contracts/business-scenarios/create-input-mediation-and-output-contracts/create-the-mediation-contract.md): Data Mover zips the files.
* [Output contract](/data-mover-1.21/contracts/business-scenarios/create-input-mediation-and-output-contracts/create-the-output-contract.md): Data Mover sends the zip files to the head office (data consumer) and a confirmation via email to a user.&#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-input-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.
