# Export Zalo Chats to CSV

**Use case:** 

Download accessible conversation summaries and message rows in a spreadsheet-friendly format.

## Input

```json
{
  "exportMode": "conversationBackup",
  "includeMessageText": true,
  "includeAttachmentMetadata": true,
  "accountAlias": "main",
  "reconnectZalo": false,
  "groupIds": [],
  "conversationIds": [],
  "maxGroups": 1,
  "maxMembersPerGroup": 100,
  "maxConversations": 3,
  "maxMessagesPerConversation": 200,
  "listenSeconds": 0
}
```

## Output

```json
{
  "recordType": {
    "label": "Record type",
    "format": "string"
  },
  "messageId": {
    "label": "Message ID",
    "format": "string"
  },
  "threadId": {
    "label": "Thread ID",
    "format": "string"
  },
  "threadType": {
    "label": "Thread type",
    "format": "string"
  },
  "senderId": {
    "label": "Sender ID",
    "format": "string"
  },
  "direction": {
    "label": "Direction",
    "format": "string"
  },
  "sentAt": {
    "label": "Sent at",
    "format": "string"
  },
  "messageType": {
    "label": "Message type",
    "format": "string"
  },
  "text": {
    "label": "Message text",
    "format": "string"
  },
  "attachments": {
    "label": "Attachment metadata",
    "format": "array"
  },
  "recordKey": {
    "label": "Deterministic record key",
    "format": "string"
  },
  "collectedAt": {
    "label": "Collected at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Zalo Exporter - Group Members, Contacts and Chats](https://apify.com/kazkn/zalo-member-profile-exporter) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kazkn/zalo-member-profile-exporter) to learn more, explore other use cases, and run it yourself.