lenx_create_task
Set up social media monitoring tasks: live tasks run continuously; adhoc tasks collect data within a defined time range. Configure search queries and language.
Instructions
Create a new monitoring task (live or adhoc). Live tasks run continuously; adhoc tasks require a date_range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_type | Yes | Task type: 'live' runs continuously, 'adhoc' requires date_range | |
| task_name | Yes | Task name (1-50 characters) | |
| language | Yes | Language: zh-t (Traditional Chinese), zh-s (Simplified Chinese), en (English) | |
| date_range | No | Required for adhoc tasks: time range for data collection | |
| search_query | Yes | Search query configuration. Example query_layer with nested grouped keywords: [{"in": ["brand_name", "product_name"], "ex": ["competitor_name"]}] Nested OR-group form: [{"in": [["brand_name", "brand_alias"], ["product_series_a", "product_series_b"]], "ex": [["competitor_a", "competitor_b"]]}] |