Export Tasks to CSV
clickup_export_tasks_to_csvExport ClickUp tasks from a list to CSV with pagination, status filters, and custom field selection, so you can download filtered task data for reporting or import.
Instructions
Export tasks from a list to CSV format.
This tool handles pagination, status filtering, and custom field extraction automatically. It fetches detailed task information to include all custom fields in the export.
Args:
list_id (string): The list to export from
statuses (string[], optional): Filter by specific status names. If omitted, exports all tasks
archived (boolean): Include archived tasks (default: false)
include_closed (boolean): Include closed tasks (default: false)
custom_fields (string[], optional): Specific custom field names to include. If omitted, includes all custom fields found
include_standard_fields (boolean): Include standard fields like ID, name, status, etc. (default: true)
add_phone_number_column (boolean): Automatically create a combined 'phone_number' column from phone fields (for ElevenLabs compatibility) (default: false)
Returns: CSV content as text (can be saved to file by client). Includes headers as first row.
Examples:
Use when: "Export all tasks from list 123456 to CSV"
Use when: "Export tasks with status '#1 - phone call' from list 123456"
Use when: "Export leads with specific custom fields to CSV"
Error Handling:
Returns "Error: Resource not found" if list_id is invalid (404)
Returns empty CSV if no tasks match the criteria
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"list_id": "<list_id>"
},
"name": "clickup_export_tasks_to_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | Yes | List ID | |
| archived | No | Include archived tasks | |
| statuses | No | Filter by specific status names. If omitted, exports all tasks | |
| custom_fields | No | Specific custom field names to include. If omitted, includes all custom fields found | |
| include_closed | No | Include closed tasks | |
| add_phone_number_column | No | Automatically create a combined 'phone_number' column from phone fields (for ElevenLabs compatibility) | |
| include_standard_fields | No | Include standard fields like ID, name, status, etc. |