# Data Collection

Data Collection can be used to collect data about a call in an IVR. This data can then be retrieved via queue call pop or viewed historically in the Data Collection Records report. The data collected is also sent in the IVR webhook.&#x20;

### Create Data Collection Set

Configuration | Data Collection Sets

Each data collection record has up to 20 fields that can be populated. By default, these fields are named Data Value 01, Data Value 02, Data Value 03, and so on. We recommend creating a Data Collection Set which gives the fields friendly names for better reference.

### Linking a Data Collection set to an IVR

Queues & IVRs | IVRs | Select an IVR to edit | Edit tab | Data Collection Set

After a data collection set has been selected, the friendly names will appear when selecting a data collection field to populate.

### Configuring an IVR to Populate Data Collection Fields

Queues & IVRs | IVRs | Select an IVR to edit | Designer tab

All IVR blocks that can create variables can also populate data collection fields using these variables. These blocks are DataDip, VoiceInput, Regex, and MultiTone.

Either add or edit one of the above blocks, select the Show Advanced option. A Data Value drop down will appear. One of the available data collection fields can be selected from the list. This will populate the field's value with the contents of the variable the block created.

The contents of default variables (Caller Number, Caller Name, and Scenario Id) can be assigned to a data collection field on the Root State block.

### Viewing the data collected

#### Queue Call Popup

Data collection values can be sent in the call popup URL by using default field names as placeholders enclosed in curly braces. For example: {datavalue01} or {datavalue02} etc. See [Call Popup](/appendix/call-popup.md)

#### Data Collection Records Report

See [Data Collection Records](/reports/data-collection-records.md)

#### IVR Webhook

See [Webhooks](https://cc.docs.landis.cloud/administration/pages/Sz0GRCF1rjfRbBmGDZcs#app.ivrwebhook)


---

# 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://cc.docs.landis.cloud/administration/data-collection.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.
