> For the complete documentation index, see [llms.txt](https://doc.dastra.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.dastra.eu/en/features/generalites/ai-assistant/ai-assistant-use-cases.md).

# Use cases

{% hint style="warning" %}
**Note on generated content quality**: all content generated by the assistant is a proposal only. It must be reviewed and updated by a qualified person before use. Dastra makes no commitment as to the quality of the suggested information.
{% endhint %}

All generation features use the same window: describe the item to generate (or start from one of the suggested **Samples**), choose the generation language if needed, then click **Generate**. The proposal is displayed on a summary screen, to be reviewed before validation.

***

### Processing activities

#### Generate a processing activity

Quickly generate a processing activity in the format expected by Dastra from a short description. The assistant will suggest a name, one or more datasets with their fields, a retention period, security measures, recipients, and a description.

1. Click **Create data processing**, then select **AI Generated**
2. Enter a short description of your processing activity, or click one of the **Samples** shown below the input field to pre-fill the request
3. If needed, choose the generation language and enable the options you want:
   * **This activity is carried out as a processor**: generates the record for the processor register
   * **Use existing elements**: provides the assistant with the labels of the existing security measures, assets and data fields in your workspace, so that it reuses them in the generated record instead of creating duplicates. The relevant repositories are listed below the option
4. Click **Generate** and wait a few moments
5. On the summary screen, review the proposal and click **Validate**

<figure><img src="https://2697025545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvBxs22wUMicv9uWp6C-1972196547%2Fuploads%2Fgit-blob-f602b142de5155d92c155388e2e061d314785e4c%2Fregister-processing-create-ai-form.png?alt=media" alt="AI processing activity generation window: input field, language selector, samples and Use existing elements option"><figcaption><p>Generating a processing activity with the AI assistant: samples, generation language and reuse of existing elements</p></figcaption></figure>

#### Generate a dataset

1. Go to the **Datasets** page
2. Click **Create a dataset** > **Create with AI assistant**
3. Enter a short description of your dataset
4. Click **Next** and wait a few moments
5. On the summary screen, apply your corrections and click **Create**

#### Generate a privacy notice

1. Go to the editing page of a processing activity
2. In section **11. Documentation**, click **Generate a privacy notice**
3. Choose the desired format (you can customise the instructions by selecting **Custom**) and the **Notice language**; the interface language is offered by default
4. Click **Generate**: the preview lets you copy the text of each tab, or click **Export** to get a PDF, Word, HTML or Markdown file
5. In the **Export information notice** window, the **Add this file to the attachments of this data processing** option, enabled by default, adds the exported file to the attachments of the processing activity; each export creates a new attachment

<figure><img src="https://2697025545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvBxs22wUMicv9uWp6C-1972196547%2Fuploads%2Fgit-blob-b69233c5855781c7e30e83f6f878e02dbaa2a13a%2Fregister-processing-notice-export-modal.png?alt=media" alt="Privacy notice preview with the Export action"><figcaption><p>Exporting the AI-generated privacy notice</p></figcaption></figure>

<figure><img src="https://2697025545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvBxs22wUMicv9uWp6C-1972196547%2Fuploads%2Fgit-blob-95d795c746094bca92809217fa3e7c0c2abc1267%2Fregister-processing-notice-export-attachments-option.png?alt=media" alt="Export information notice window with the option to add the file to the attachments"><figcaption><p>Adding the exported notice to the attachments of the processing activity</p></figcaption></figure>

#### Generate a compliance analysis for a processing activity

The assistant can analyse an existing processing activity and produce an assessment of its compliance with GDPR documentation requirements.

{% hint style="info" %}
**Beta feature**: results may be less consistent than a stable feature and should be treated with extra care. This analysis is a decision-support tool, not legal advice.
{% endhint %}

Once the analysis is generated, click **Print analysis** to export the result as a PDF or send it directly to the printer. This document can be attached to your compliance file.

***

### Questionnaires (PIA, risk analysis…)

#### Generate an AI-assisted response

1. Go to the **Questionnaires** section and select the desired template (e.g. CNIL PIA)
2. Click **Schedule a questionnaire**
3. Select **AI-assisted response**
4. Specify the processing activity to use as a source, or enter custom instructions
5. Once the response is generated, apply your corrections directly in the questionnaire

{% hint style="info" %}
When an AI analysis has been performed on a questionnaire response or a PIA, a **Print analysis** button appears in the header of the analysis panel as soon as a result is available. The structured document includes the overall score (A to F), the general assessment, the assessed criteria with their score and justification, as well as the suggested tasks ranked by priority — without relying on screenshots.
{% endhint %}

#### Generate a questionnaire template

1. Go to the **Questionnaires** section and click to create a questionnaire template.
2. Select **Create from AI**
3. Provide a description of the questionnaire (300 words) and a type
4. Adjust the number of sections and questions
5. Click **Generate**

***

### Data subject rights requests

#### Generate a response to a request

Generate responses in multiple languages, with customisation options (length, formal or informal tone, etc.).

1. Open a rights request currently being processed
2. Fill in the information up to the **Communication / Transmission** step
3. Click **Generate with AI** — the assistant generates a response based on the following information:
   * First and last name of the requester
   * Request message
   * Language to use
   * Workspace name
   * Purposes of the relevant processing activity
   * Name of the request operator
   * Request date and number of days remaining
   * Request status and ID
4. Edit the proposed text or use the reformulation options (shorten, lengthen, change tone)
5. Click **Validate this message**, add any attachments, then click **Send**

{% hint style="info" %}
A limit on the number of calls per minute is in place for this feature.
{% endhint %}

{% hint style="info" %}
**AI Act — Article 50**: when a response is generated by the AI assistant, the strict obligation of Art. 50(1) (informing the person that they are interacting with an AI system) does **not** apply, because there is no direct interaction between the AI system and the data subject — a human user reviews, validates and sends the response. It nevertheless remains recommended to inform the data subject as a GDPR best practice (Art. 5(1)(a) fairness). See the [FAQ](/en/features/generalites/ai-assistant/ai-assistant-faq.md#do-i-need-to-inform-data-subjects-that-i-used-ai-to-respond-to-their-requests) for the full analysis.
{% endhint %}

***

### Assets and actors

#### Generate an asset

Quickly generate an asset (software, tool, etc.) in the format expected by Dastra. The assistant will suggest a name, links to the actor's privacy policy, and create an actor as publisher.

1. Click **Create an asset** > **Generate with AI assistant**
2. Enter a description or a privacy policy URL
3. Review and complete the suggested information before validating

***

### Data breaches

#### Generate a post-mortem

From an existing breach record, the assistant generates a structured post-mortem document including a description of the incident, the affected data, and the measures taken.

Access this feature from the editing page of a breach record, in the section dedicated to documentation.

***

### Contracts

#### Extract contract metadata

Import a contract document (PDF or URL) and let the assistant automatically extract its metadata: parties, subject, duration, key clauses, etc.

Access this feature from the **Contracts** module, when creating or editing a contract.

***

### Custom documents and reports

#### Generate a custom document

Enter your own instructions and optionally provide source content. The assistant generates a structured document according to your specifications.

#### Generate a custom report

From the **Custom reporting** module, describe the desired report in natural language. The assistant produces a first version that you can then refine.

***

### AI systems

#### Generate an AI system description

1. Go to the **AI Systems** module
2. Create or open an AI system
3. Click **Generate with AI assistant** in the description field
4. Enter a free description or provide a URL

#### Generate an information notice for an AI system

From an AI system record, click **Generate a notice** to automatically produce the information document intended for users or data subjects.

#### Generate a risk analysis for an AI system

The assistant analyses the fields filled in on the AI system record and produces an assessment of the associated risks.

{% hint style="info" %}
**Beta feature**: to be treated with extra care and validated by an expert before any decision.
{% endhint %}

Once the analysis is generated, click **Print analysis** to export the result as a PDF. This document can be attached to your AI Act compliance file.

<figure><img src="https://2697025545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvBxs22wUMicv9uWp6C-1972196547%2Fuploads%2Fgit-blob-ee31b1298158490215cf34575abbdcbfa243a7ea%2Fgeneralites-ai-assistant-cas-dusage-analysis-print.png?alt=media" alt="AI analysis panel with the Print analysis and Restart analysis buttons"><figcaption><p>The "Print analysis" button exports the analysis result as a PDF</p></figcaption></figure>

***

### Frameworks and controls

#### Suggest controls, requirements and tests

From a compliance framework in the compliance module, the assistant can suggest relevant controls, requirements or tests based on the context of the relevant object (name, description, associated framework).


---

# 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://doc.dastra.eu/en/features/generalites/ai-assistant/ai-assistant-use-cases.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.
