> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Survey data export

> Learn how to configure survey submission behavior, collect responses via CSV or HTTP requests, and manage survey data in Kameleoon.

In addition to customizing individual survey elements, you can set global options that apply to the whole survey. The **Survey Settings** tab appears automatically in the Widget Studio when you add at least one survey element to your widget.

## Survey settings tab

Turn on **Collect survey data** to reveal the submission and collection options.

![Survey Settings tab in Widget Studio with Collect survey data on, A button is clicked selected, and Kameleoon as the collection method](https://storage.googleapis.com/kameleoon-storage-documentation/user-manual/images/assets/widgets/create-a-widget-with-the-widget-studio/create-csat-nps-and-surveys/survey-data-export/Capture-decran-2025-05-19-a-11.05.50.png)

The **Survey Settings** tab includes:

### Submission trigger

Define **when** Kameleoon submits the survey:

* **A button is clicked:**
  * Select one **Button** element from your widget.
  * Only one button can act as the submission trigger.
* **The widget is closed:**
  * Kameleoon automatically sends responses when the visitor closes the widget.
* **An answer is clicked:**
  * Kameleoon sends responses when a visitor selects an answer.
  * You can use this option only if the widget contains one of the following elements:
    * Multiple Choice
    * NPS
    * Scale

### Response collection

Select the destination for your survey responses.

#### Kameleoon (csv)

* Store and export survey responses directly from your Kameleoon account.
* To retrieve the responses:
  1. Link the widget to an active campaign.
  2. Open the **Widgets** section.
  3. Click the **three-dots menu** on the widget card.
  4. Select **Export survey data (.csv)**.
* The CSV includes:
  * Response timestamps
  * Visitor code
  * Answers per question
  * Campaign and variation details

#### Externally (HTTP Request)

Route survey responses to a third-party system or your own server.

| Setting | Description |
| - | - |
| **Request name** | Internal identifier used to track request success or failure. |
| **Method** | HTTP method (`GET` or `POST`). |
| **Action URL** | Destination URL that receives the survey responses. |
| **Headers** | Optional custom headers (for example, API keys or media type). |

> [!NOTE]
>
> Use HTTP requests to integrate survey submissions into your CRM, support platform, or analytics pipeline.

## Conditional logic

Survey elements support conditional logic, which lets you display a question only when a visitor selects a specific answer.

To learn how to configure conditional rules, see [Add conditional logic](https://docs.kameleoon.com/user-manual/assets/widgets/create-a-widget-with-the-widget-studio/add-conditional-logic.md).
