# SmartSurvey

> Export survey structure and completed responses for feedback analysis.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/smartsurvey

## Actions

### Get survey

Read survey configuration, status and question counts.

**Inputs**

- Survey ID (`survey_id`, number, required): Survey ID from List surveys.

**Outputs**

- `data` (object): The response from SmartSurvey.

**Example output**

```json
{
  "data": {
    "id": 101,
    "page_count": 1,
    "question_count": 3,
    "responses": 1,
    "status": "open",
    "title": "Product feedback"
  }
}
```

### List survey responses

Read one page of detailed responses, including answer pages. Completed responses are returned by default.

**Inputs**

- Survey ID (`survey_id`, number, required): Survey ID from List surveys.
- Page (`page`, number): Page number, starting at 1. At least 1.
- Page size (`page_size`, number): Maximum records to return in one page. From 1 to 100.
- Include labels (`include_labels`, true/false): Include question and page labels with the answers.

**Outputs**

- `data` (object): The response from SmartSurvey.

**Example output**

```json
{
  "data": {
    "page_index": 1,
    "page_size": 20,
    "pages": 1,
    "records": [
      {
        "date_ended": "2026-01-02T12:01:00Z",
        "date_started": "2026-01-02T12:00:00Z",
        "id": 201,
        "pages": [],
        "status": "completed",
        "survey_id": 101
      }
    ],
    "total": 1
  }
}
```

### List surveys

Read one page of accessible surveys and their response counts.

**Inputs**

- Page (`page`, number): Page number, starting at 1. At least 1.
- Page size (`page_size`, number): Maximum records to return in one page. From 1 to 100.
- Search (`search`, text): Search survey titles or nicknames.

**Outputs**

- `data` (object): The response from SmartSurvey.

**Example output**

```json
{
  "data": {
    "page_index": 1,
    "page_size": 20,
    "pages": 1,
    "records": [
      {
        "id": 101,
        "responses": 1,
        "status": "open",
        "title": "Product feedback"
      }
    ],
    "total": 1
  }
}
```
