# SurveySparrow

> Bring survey definitions, audience lists and individual responses into feedback reporting.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/survey-sparrow

## Actions

### List contact lists

Read the contact lists available to the connected private app.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "description": "Customer feedback audience",
        "id": 201,
        "name": "Customers"
      }
    ]
  }
}
```

### List survey responses

Read one page of a survey’s responses, answers and completion metadata.

**Inputs**

- Survey ID (`survey_id`, number, required): Survey ID from List surveys.
- Page (`page`, number): Page number, starting at 1. At least 1.
- Limit (`limit`, number): Maximum records to return in one page. From 1 to 200.
- State (`state`, text): State. One of: `started`, `completed`, `all`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "answers": [
          {
            "question": "How was your experience?",
            "question_id": 501,
            "skipped": false
          }
        ],
        "completed": "true",
        "completed_time": "2026-01-02T12:00:00Z",
        "contact_id": 401,
        "id": 301,
        "language": "en",
        "survey_id": 101
      }
    ],
    "has_next_page": false,
    "total_count": 1
  }
}
```

### List surveys

Read one page of surveys; increment page while has_next_page is true.

**Inputs**

- Page (`page`, number): Page number, starting at 1. At least 1.
- Limit (`limit`, number): Maximum records to return in one page. From 1 to 100.
- Archived (`archived`, true/false): Include only archived or only active surveys when set.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "archived": false,
        "id": 101,
        "name": "Customer satisfaction",
        "survey_type": "CSAT"
      }
    ],
    "has_next_page": false
  }
}
```
