@elastic/sfdc_closing_this_month
Get all opportunities expected to close this month
RUN SKILL sfdc_closing_this_month()With parameters:
RUN SKILL sfdc_closing_this_month WITH owner = 'value', min_probability = 0| Name | Type | Default | Description |
|---|---|---|---|
| owner | STRING | — | Filter by opportunity owner name |
| min_probability | INT | — |
-- 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
}
}