# Setting Input and Output Parameters in Project Properties

## Input Parameters <a href="#docs-internal-guid-d38c9f78-7fff-61cd-927f-7bb762959528" id="docs-internal-guid-d38c9f78-7fff-61cd-927f-7bb762959528"></a>

To work with input parameters, you need to follow these steps:

### 1. Open Project Properties

Go to the Project tab, right-click on the project folder, and select "Project Properties" from the context menu:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdI6Da9OMLtq8-aTZFBIIBHRSYPbpNR-Uhl_00QK-RfaDZaaO4iLvHaorRMgdf1JajuRGWFxMpf-GH5_fYWQgF-pftxZzNdiVvQRnDml2QtVBGr2CrCQ_PBXKtg7gaJrFrgGmQXlQ?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

### 2. Create a JSON File

In the opened Project Properties window, click on the "Create Argument File" button.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdgzdxEXGK1wEYzmWWZmouzRiUJZQxZa8I4eMfI7frnfy-hbOympgfhjIpF8Rd2uBbmFgEn0zaMWIje1Frrx24TCr-JkCX2_JlqRd6qTOpLfso6pzQOuqCjFjgdz5z5YA_BZo-d_Q?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Select a directory for the JSON file that will be used to pass parameters to the Robot, enter its name, and click the Save button:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd6BtEDE038r-n21pF537e2tkRe0d8mcBI--mxJIyBazsiB2nxjvArHR42xM6kNdD98azmIVY_Xo-5wOTn_YDHz-GQ5LN3egATAPYECXLjPnfYlC_QtNmZ4FHNfHRKz-bjW8lhF?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Review the warning from Sherpa Designer and click OK.

### 3. Specify Input Parameters

Click on the "Add Parameter" button:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfZVUReqGZEfKdQCA3Ag5_JUKkZIvM3cTTBDLLHi61RmbhPGtxNSeUG4FgSh0XFb0-z5qe-UGHAzd406HNjjeU249W2eg0zIKcHcWectfU7j2S0eiXLN4bOG3y4DVn5W9J5FbMB?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Click on the Name field and select the desired parameter:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfEsBt3mbMTHqiNuISR5txPcy5UucwL-wqvT7y1UtOxwIVMR22e23GVzY6NB86T7_1-AOmEj2rYfMD9vAWkbAz5M5LOcxPwt-j3pAYDxcOhmGfxXeJMMFDgzx8VCb6M4oPFGY6mIQ?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Click the OK button.

### 4. Add Arguments to the JSON File

Open the created JSON file from Step 2 in the selected directory.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfh2Kk-u_5Emb6kNiKbBrkBbl3AKi7PAQBd3HQfOOKNcBeJ_TxReo5MUVRFEGTPgZoGRUz9Ss_05VTa6jdQQWrmSoZa40DL_gbrJu_xh8vYTwMfY6qq6uhFs6WzLiOwO5tR8mKfgg?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Specify the arguments you want to pass in your script. For example,

`[{"Name":"file_name","Type":"Text","Direction":"In","Value":"file_name"}]`

### 5. Run the Robot

Open the Command Prompt, enter the path to the `ProcessAgent.exe` file, and then the command:

`ProcessAgent.exe -args "path to argument file" "path to .robot file"`

where:

* `-args` — command line key (parameters from the JSON file).
* `"path to argument file"` — the full path to the JSON file created in Step 2.
* `"path to .robot file"` — the path to the Robot script file.

For example,

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXei8e-0DW_8LsrQJBy8a4LvqoR12_okO25YUyjPwO-iqiIAWXpB6Zze78znS9UVZkFwYKhRCsPqMDJCRAYq7QWcxv29eB6zjkpo6c2eoA0JTiJnITbgP_jyaVDSD2B6HvHZqNej?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="53"></th><th></th></tr></thead><tbody><tr><td><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcyRBTAi8cYOivyW1IKyutwXs8k36sklbv8f3Ax3odSnRS2QNq3FlcOsE1Zd3BsvKT4sTmg1RsG6bmq2_WxXsGaNyroCVc5KGsVRPQnniPgPH10HA0_jAor6Z1GnDyaPviGl7JO5Q?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt="" data-size="line"></td><td>The path to the <code>ProcessAgent.exe</code> file can be found by right-clicking the Sherpa Assistant shortcut on the desktop and selecting "Open file location".</td></tr></tbody></table>

## Output Parameters

To work with output parameters, you need to follow these steps:

### 1. Open Project Properties

Go to the Project tab, right-click on the project folder, and select "Project Properties" from the context menu:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdI6Da9OMLtq8-aTZFBIIBHRSYPbpNR-Uhl_00QK-RfaDZaaO4iLvHaorRMgdf1JajuRGWFxMpf-GH5_fYWQgF-pftxZzNdiVvQRnDml2QtVBGr2CrCQ_PBXKtg7gaJrFrgGmQXlQ?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

### 2. Create a JSON File

In the opened Project Properties window, click on the "Create Argument File" button.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdgzdxEXGK1wEYzmWWZmouzRiUJZQxZa8I4eMfI7frnfy-hbOympgfhjIpF8Rd2uBbmFgEn0zaMWIje1Frrx24TCr-JkCX2_JlqRd6qTOpLfso6pzQOuqCjFjgdz5z5YA_BZo-d_Q?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Select a directory for the JSON file that will be used to pass parameters to the Robot, enter its name, and click the Save button:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd6BtEDE038r-n21pF537e2tkRe0d8mcBI--mxJIyBazsiB2nxjvArHR42xM6kNdD98azmIVY_Xo-5wOTn_YDHz-GQ5LN3egATAPYECXLjPnfYlC_QtNmZ4FHNfHRKz-bjW8lhF?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Review the warning from Sherpa Designer and click OK.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd5u1WaTn4W-XnADYDLs1g9OzB5A7nUyODcJG6pWc4DDdz8I0n8aLC9bQ7rXwtx3T5AXMl5FamacZ7rTlKXWMgG5SmfSu1EFZ8O3EqvipRqbbgu51mDFlTvjZbcxw-Rl4B-NQc9Ww?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

### 3. Specify Output Parameters

Go to the Output Parameters tab. Click on the "Add Parameter" button. Click on the Name field and select the desired parameter:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdjTbvEK9S0s0W2b0-Q0TeTPVvb0KH4lGpFrNE6KIa6VlF8hruDZAhF6p78V-0kKdpCRLOu2sjUWWJ0zFiR5e6CHdSUFcsY35VwaXik1IYMx3eYouV-sa0CNTMlKu8ni4r85TC7?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Click the OK button.

### 4. Add Arguments to the JSON File

Open the created JSON file in the selected directory:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfh2Kk-u_5Emb6kNiKbBrkBbl3AKi7PAQBd3HQfOOKNcBeJ_TxReo5MUVRFEGTPgZoGRUz9Ss_05VTa6jdQQWrmSoZa40DL_gbrJu_xh8vYTwMfY6qq6uhFs6WzLiOwO5tR8mKfgg?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt=""><figcaption></figcaption></figure>

Specify the arguments you want to pass in your script. For example,

`[{"PathData":"14.03.2025","Type":"Text","Direction":"Out","Value":"PathData"}]`

### 5. Run the Robot

Open the Command Prompt, enter the path to the `ProcessAgent.exe` file, and then the command:

`ProcessAgent.exe -args "path to argument file" "path to .robot file"`

where:

* `-args` — command line key (parameters from the JSON file).
* `"path to argument file"` — the full path to the JSON file created in Step 2.
* `"path to .robot file"` — the path to the Robot script file.

<table data-header-hidden><thead><tr><th width="51"></th><th></th></tr></thead><tbody><tr><td><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcyRBTAi8cYOivyW1IKyutwXs8k36sklbv8f3Ax3odSnRS2QNq3FlcOsE1Zd3BsvKT4sTmg1RsG6bmq2_WxXsGaNyroCVc5KGsVRPQnniPgPH10HA0_jAor6Z1GnDyaPviGl7JO5Q?key=MVhelRPj_eaVLTQ0AIJ-sOAD" alt="" data-size="line"></td><td>The path to the <code>ProcessAgent.exe</code> file can be found by right-clicking the Sherpa Assistant shortcut on the desktop and selecting "Open file location".</td></tr></tbody></table>


---

# 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.sherparpa.ru/en/sherpa-rpa/sherpa-designer/sherpa-designer-otvety-na-chasto-zadavaemye-voprosy/nastroika-vkhodnykh-i-vykhodnykh-parametrov-v-svoistvakh-proekta.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.
