@elastic/sfdc_case_volume_trends
Analyze support case volume trends over time
RUN SKILL sfdc_case_volume_trends()With parameters:
RUN SKILL sfdc_case_volume_trends WITH time_period = 'value', group_by = 'value'| Name | Type | Default | Description |
|---|---|---|---|
| time_period | STRING | — | Time period: last_7_days, last_30_days, last_90_days |
| group_by | STRING | — | Time grouping: day, week, month |
-- Using curl
curl -u elastic-admin:elastic-password http://localhost:9200/_escript \
-H "Content-Type: application/json" \
-d '{"query": "RUN SKILL sfdc_case_volume_trends()"}'
-- Response
{
"result": [...],
"_meta": {
"execution_id": "abc123",
"duration_ms": 45
}
}