☁️

Closing This Month

@elastic/sfdc_closing_this_month

Get all opportunities expected to close this month

Usage

RUN SKILL sfdc_closing_this_month()

With parameters:

RUN SKILL sfdc_closing_this_month WITH owner = 'value', min_probability = 0

Parameters

NameTypeDefaultDescription
ownerSTRINGFilter by opportunity owner name
min_probabilityINT

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_closing_this_month()"}'

-- Response
{
  "result": [...],
  "_meta": {
    "execution_id": "abc123",
    "duration_ms": 45
  }
}