# Privacy Opt-In

Use this action to display a privacy optin request flag to the user. The user will be able to choose to either accept or refuse your privacy terms. A file containing terms may be uploaded as html or pdf.

![](/files/-LfctHyAqss5iAA7eE_j)

### Settings

The action uses the following settings:

| Setting               | Description                                                                                                    | [Parsed](/actions-and-operations/dynamic-parsing.md) |
| --------------------- | -------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| Usage Text            | The text that will be presented to the user detailing your generic privacy acceptance terms.                   | :white\_check\_mark:                                 |
| Privacy Policy Button | The text to be displayed for the full privacy policy content location                                          | :white\_check\_mark:                                 |
| From Url              | The privacy policy will be retrieved from the specified URL.                                                   | :no\_entry:                                          |
| Upload To Storage     | The audio will be retrieved from [your Xenioo Account storage](/basic-concepts/your-account/the-free-plan.md). | :no\_entry:                                          |
| File URL              | The fully qualified URL of the privacy policy                                                                  | :white\_check\_mark:                                 |
| Privacy Flag          | The privacy flag that will be enabled as the user accepts the opt-in                                           | :white\_check\_mark:                                 |
| Accept Button         | The text that will be displayed on the Accept Button                                                           | :white\_check\_mark:                                 |
| Refuse Button         | The text that will be displayed on the Refuse Button                                                           | :white\_check\_mark:                                 |

### Remarks

Xenioo **does not enforce specific actions** usage based on selected privacy flag: it is up to your chatbot design to accomodate for specific user preferences.\
\
Privacy preferences are stored in a very specific runtime area that cannot be accessed by your conversation operators or chatbot runtime. Only this action can alter the value of these preferences.

### Trigger

On User Choice. This action will trigger any child operation as soon as the user accepts or refuse your privacy opt-in proposal.

### Variables

This action does not produce any variable.

### Availability

Channel specific availability follows the table below:

| Channel          | Availability                                           |
| ---------------- | ------------------------------------------------------ |
| Facebook         | Fully Available.                                       |
| WhatsApp         | Fully Available.                                       |
| Telegram         | Fully Available.                                       |
| Web              | Fully Available.                                       |
| Alexa            | **Not Available. Privacy opt-in managed by platform.** |
| Google Assistant | **Not Available. Privacy opt-in managed by platform.** |
| Slack            | Fully Available.                                       |
| API              | Fully Available.                                       |

This action can be used only at [Bot Global level](/actions-and-operations/execution.md#global-and-local-actions) or [Behavior level.](/actions-and-operations/execution.md#global-and-local-actions) Any account can use this action regardless of [subscription level](/basic-concepts/your-account/the-free-plan.md).


---

# 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.xenioo.com/actions-and-operations/privacy/xenioo.bots.actions.privacy.privacyvariableoptinaction.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.
