# Get from Clipboard

This is a pre-built Action located under the **@Generic Element**. The functionality of this action in Avo Assure is to fetch the most recent data available on the clipboard. The result is stored in the given dynamic variable for further use during test execution.

## **Syntax**

**Input Value**: `N/A` &#x20;

{% hint style="info" %}
**Note**: This action retrieves only the most recent data available on the system clipboard.
{% endhint %}

| Argument | Description    |
| -------- | -------------- |
| N/A      | Not Applicable |

**Output Value**: `<Dynamic Variable>;<Dynamic Variable>(Optional)`&#x20;

| Argument                                  | Description                                                          |
| ----------------------------------------- | -------------------------------------------------------------------- |
| <p>\<Dynamic Variable><br>(Required)</p>  | This dynamic variable stores the value retrieved from the clipboard. |
| <p>\<Dynamic Variable><br>(Optional) </p> | This dynamic variable stores the status as **True** or **False**.    |

### **Example: Retrieving Data from the System Clipboard**

In this example, we explain how to fetch the most recently copied data from the system clipboard.

* **Action**: Get from Clipboard
* **Input Value**: N/A
  * This action does not require any input value. It directly retrieves the latest data stored in the system clipboard.
* **Output Value**: {Data}
  * The retrieved clipboard content (Invoice 3457) is stored in the **{Data}** dynamic variable.
  * If a second output variable is defined, it stores the action status with the following possible values:
    * **True**: If the data is successfully retrieved from the clipboard.
    * **False**: If the retrieval fails or an error occurs.
* **Logical Explanation**: The **Get from Clipboard** action does not require any input value. It accesses recently stores data from the system clipboard and retrieves data. The fetched value (Invoice 3457) is saved in the **{Data}** variable.

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


---

# 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.avoautomation.com/avo-assure/actions/generic/other-operations/get-from-clipboard.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.
