Export Customer List
Export customers from the CRM table with filters applied
npx uiskill install @fan4/export-customer-list{
"id": "crm:customer:export",
"kind": "atomic",
"name": "Export Customer List",
"states": {
"error_handle": {
"if": "@modal(title='Permission Denied')",
"then": "abort_and_report_permission_error"
},
"pre_condition": "current_page == '/customers' && table_not_empty",
"success_criteria": {
"type": "file_download",
"match": "*.xlsx"
}
},
"anchors": {
"trigger": "@button(text='Export', icon='download')",
"container": "@table(name='customer_list')",
"loading_indicator": "@toast(type='loading')"
},
"uiskill": "0.1.0",
"category": "Data Operation",
"parameters": {
"type": "object",
"properties": {
"format": {
"enum": [
"excel",
"csv",
"pdf"
],
"type": "string",
"default": "excel",
"description": "Export file format"
},
"date_range": {
"type": "array",
"items": {
"type": "string",
"format": "date",
"description": "Date in YYYY-MM-DD format"
},
"description": "Date range filter"
}
}
},
"description": "Export customers from the CRM table with filters applied"
}