> ## 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.

# Survey data export

In addition to customizing individual survey elements, Kameleoon provides global settings that define how your survey behaves and how responses are handled. The **Survey Settings** tab appears automatically in the Widget Studio when you add at least one survey element to your widget. Use **Survey Settings** to configure how and when Kameleoon submits survey responses and where it collects them.

## Survey Settings tab

<Frame>
  ![](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-décran-2025-05-19-à-11.05.50.png)
</Frame>

When at least one survey element is present in your widget, a new **Survey Settings** tab appears in the sidebar. It includes:

### Submission trigger

Define **when** Kameleoon submits the survey:

* **Button click:**
  * Select one **Button** element from your widget.
  * Only one button can act as the submission trigger.
* **When the widget is closed:**
  * Kameleoon automatically sends responses when the user closes the widget.
* **When an answer is selected:**
  * Kameleoon sends responses as soon as a user selects an answer.
  * This option is only available if the widget contains one of the following elements:
    * Multiple Choice
    * NPS
    * Scale

<Note>
  Select the applicable trigger element, such as a button or a specific answer type, to enable the submission process.
</Note>

### 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-dot** 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

#### HTTP request (external)

Send 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 where the data is sent.                          |
| **Headers**      | Optional custom headers (for example, API keys or content type). |

<Note>
  Use HTTP requests to integrate survey submissions into your CRM, support platform, or analytics pipeline.
</Note>

## Conditional logic

Survey elements support conditional logic, which lets you display a question only if a specific answer is selected.

To learn how to configure conditional rules, see [Create conditional logic in your surveys](./create-conditional-logic-in-your-surveys).
