# Add Related Doc

When starting a workflow, you may wish to create relationships between document upfront. To begin, click "Actions" and then "Add Related Doc":

<figure><img src="/files/IXdsdMepXDrJnl1Wnlbt" alt=""><figcaption></figcaption></figure>

In this example, we will look at creating a relationship between a Master Services Agreement (the parent document) and a Statement of Work (the child document). Begin with a keyword search to locate the relevant Master Services Agreement:

<figure><img src="/files/rYxpD5r5fxUePzcbxmBo" alt=""><figcaption></figcaption></figure>

Once you select the relevant agreement, you have the option of copying metadata values from the Master Services Agreement to the Statement of Work. Here, we copy the "Counterparty" value:

<figure><img src="/files/idJkKq1J3wyIJMwErVjk" alt=""><figcaption></figcaption></figure>

Copying applicable values will save time and avoid typographical errors compared to manually typing the data.

<figure><img src="/files/JcDF89YiEQ0EriLjqVAn" alt=""><figcaption></figcaption></figure>

Once the workflow is completed, the relationship will automatically be established in your contract repository. This relationship can be visualised from the [Documents](https://userguides.aerofiler.com/documents/related-documents) page.

{% hint style="info" %}
For more information about related documents, click [here](https://support.aerofiler.com/hc/en-us/articles/360033723914-Related-Documents)
{% endhint %}


---

# 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://userguidesgitbook.aerofiler.com.au/workflows/create-workflow/add-related-doc.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.
