# Refiner

> Combine survey responses with customer attributes for feedback reporting and follow-up.

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

## Actions

### List contacts

Read one page of contacts, their survey attributes and associated accounts. Continue with page_cursor.

**Inputs**

- Page (`page`, number): Page number, starting at 1. At least 1.
- Page length (`page_length`, number): Maximum records to return in one page. From 1 to 1000.
- Page cursor (`page_cursor`, text): Cursor from pagination.next_page_cursor; preferred for large accounts.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "items": [
      {
        "attributes": {},
        "display_name": "Example Reader",
        "email": "reader@example.com",
        "remote_id": "customer_1",
        "uuid": "contact_1"
      }
    ],
    "pagination": {
      "current_page": 1,
      "items_count": 1,
      "last_page": 1,
      "next_page_cursor": "example",
      "page_length": 20
    }
  }
}
```

### List survey responses

Read one page of survey responses and contact context; continue with page_cursor.

**Inputs**

- Page (`page`, number): Page number, starting at 1. At least 1.
- Page length (`page_length`, number): Maximum records to return in one page. From 1 to 1000.
- Page cursor (`page_cursor`, text): Cursor from pagination.next_page_cursor; preferred for large accounts.
- Form uuid (`form_uuid`, text): Optional survey UUID from List surveys.
- Date range start (`date_range_start`, text): Inclusive start date, YYYY-MM-DD.
- Date range end (`date_range_end`, text): End date, YYYY-MM-DD.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "items": [
      {
        "completed_at": "2026-01-02T12:00:00Z",
        "data": {
          "rating": 9
        },
        "form": {
          "name": "Onboarding feedback",
          "uuid": "survey_1"
        },
        "received_at": "2026-01-02T12:00:00Z",
        "uuid": "response_1"
      }
    ],
    "pagination": {
      "current_page": 1,
      "items_count": 1,
      "last_page": 1,
      "next_page_cursor": "example",
      "page_length": 20
    }
  }
}
```

### List surveys

List one page of surveys ordered by name.

**Inputs**

- Page (`page`, number): Page number, starting at 1. At least 1.
- Page length (`page_length`, number): Maximum records to return in one page. From 1 to 1000.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "items": [
      {
        "name": "Onboarding feedback",
        "uuid": "survey_1"
      }
    ],
    "pagination": {
      "current_page": 1,
      "items_count": 1,
      "last_page": 1,
      "next_page_cursor": "example",
      "page_length": 20
    }
  }
}
```
