☁️

Case Volume Trends

@elastic/sfdc_case_volume_trends

Analyze support case volume trends over time

Usage

RUN SKILL sfdc_case_volume_trends()

With parameters:

RUN SKILL sfdc_case_volume_trends WITH time_period = 'value', group_by = 'value'

Parameters

NameTypeDefaultDescription
time_periodSTRINGTime period: last_7_days, last_30_days, last_90_days
group_bySTRINGTime grouping: day, week, month

Returns

DOCUMENT— A single document object

Example

-- 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
  }
}