# Consent ID Workflow Scenarios

#### 🆕 New User

| Step       | Action                                                              | JENTIS Action                                                                                       | Consent Status   |
| ---------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ---------------- |
| **1**      | User visits your website for the first time *(no existing consent)* | <p><strong>NEW Consent ID created</strong><br>Default Status: <strong>FALSE</strong></p>            | ❌ FALSE          |
| **2**      | User interacts with CMP banner (explicit consent)                   | <p><strong>Consent ID updated</strong><br>✅ Accepted → Status: TRUE<br>❌ Denied → Status: FALSE</p> | ✅ TRUE / ❌ FALSE |
| ✅ **Sync** | JENTIS and CMP consent information are in sync                      |                                                                                                     |                  |

#### 👤 Existing User

| Step       | Action                                                                                                                                                      | JENTIS Action                                                             | Consent Status   |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ---------------- |
| **1**      | User visited your website before JENTIS was installed                                                                                                       | ℹ No information stored *(JENTIS not yet implemented)*                    | –                |
| **2**      | User visits again after JENTIS installation                                                                                                                 | <p><strong>NEW Consent ID created</strong><br>Status applied from CMP</p> | ✅ TRUE / ❌ FALSE |
| ✅ **Sync** | JENTIS and CMP consent information are in sync *(Note: Consent ID timestamp will reflect first visit after JENTIS installation, which may differ from CMP)* |                                                                           |                  |

#### ⚠ Edge Case

| Step          | Action                                                                                                                                                                                                              | JENTIS Action                                                                            | Consent Status   |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------- |
| **1**         | User visits your website for the first time *(no existing consent)*                                                                                                                                                 | <p><strong>NEW Consent ID created</strong><br>Default Status: <strong>FALSE</strong></p> | ❌ FALSE          |
| **2**         | User provides consent via CMP banner                                                                                                                                                                                | Consent ID updated                                                                       | ✅ TRUE / ❌ FALSE |
| **3**         | User deletes CMP cookies/storage                                                                                                                                                                                    | –                                                                                        | –                |
| **4**         | User visits another page and CMP shows banner again                                                                                                                                                                 | **Consent ID remains unchanged**                                                         | Status unchanged |
| **5**         | User interacts again with CMP banner                                                                                                                                                                                | Consent updated accordingly                                                              | ✅ TRUE / ❌ FALSE |
| ⚠ **Warning** | In this case, JENTIS and CMP can become **out of sync** because JENTIS storage is not cleared when CMP storage is deleted *(e.g., due to browser tracking prevention, a do-not-track add-on, or technical issues)*. |                                                                                          |                  |

💡 **Tip:** Using this Consent ID workflow ensures that consent is traceable, even in scenarios where CMP storage might be lost, helping maintain legal compliance and data accuracy.


---

# 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.jentis.com/consent-center/how-jentis-handles-consent/jentis-cmp-connectors/consent-id-workflow-scenarios.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.
