> For the complete documentation index, see [llms.txt](https://help.nightfall.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.nightfall.ai/data-exfiltration-prevention/exfiltration_endpoint/policies/trigger/clipboard-paste.md).

# Clipboard Paste

In this option, you can choose to monitor the copy/paste actions performed by end-users. If end-users copy some data and paste it to unsanctioned locations.&#x20;

Apart from text data, Nightfall can also detect non-text clipboard content, including images and screenshots. Clipboard Paste trigger uses the optical character recognition (OCR) technology in combination with Nightfall [detectors](https://help.nightfall.ai/detection_platform/detectors) to prevent the exfiltration of sensitive data present in visuals like copied screenshots, scanned documents, or copied images from web browsers. &#x20;

**Use cases**

* A typical example of this trigger can be a scenario in which an end-user copies an API key and pastes it in a prompt in ChatGPT/Deepseek or any other Gen AI apps while attempting to generate a piece of code.&#x20;
* An employee attempting to capture a screenshot of dashboards, reports, or customer data from sensitive SaaS apps into unsanctioned destinations.

To enable the Clipboard Paste trigger:

1. Select the **Paste To** option.
2. Select one of the following options.
   1. **Any Domain**: If you select this option, Nightfall monitors your paste actions performed on any domain on the Internet.&#x20;
   2. **Domain in**: If you select this option, you must additionally also select the domain collections created in the [domain collections](/data-exfiltration-prevention/exfiltration_endpoint/policies.md#create-domain-collections) section. Nightfall monitors the uploads done to all the domains that belong to the selected domain collections. The process of domain selection remains the same as demonstrated in the case of the[#browser-uploads](#browser-uploads "mention") section.
   3. **Domain Not in**: If you select this option, you must additionally also select the domain collections created in the [domain collections](/data-exfiltration-prevention/exfiltration_endpoint/policies.md#create-domain-collections) section. Nightfall does not monitor the uploads done to all the domains that belong to the selected domain collections.

Once you select a domain collection from the drop-down menu, it is displayed on the screen and grayed out from the drop-down menu. You can use the drop-down menu to select additional domain collections.&#x20;

{% hint style="info" %}
If end-users attempt to paste content, once you enable the Clipboard Paste trigger, they receive an error message as shown in the following image.
{% endhint %}

<figure><img src="https://3764378997-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZeqNSdo8J8cLJPU3Gs5M%2Fuploads%2Fd12MpUj3jUkByT2MnQ1A%2Fimage.png?alt=media&amp;token=a8df43d2-9df4-4732-beb8-a7cd717b106f" alt="" width="356"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.nightfall.ai/data-exfiltration-prevention/exfiltration_endpoint/policies/trigger/clipboard-paste.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
