@elastic/sfdc_find_opportunity
Find Salesforce opportunities by name, account, stage, or ID
RUN SKILL sfdc_find_opportunity()With parameters:
RUN SKILL sfdc_find_opportunity WITH query = 'value', stage = 'value', limit = 0| Name | Type | Default | Description |
|---|---|---|---|
| query | STRING | — | Search query - opportunity name, account name, or Salesforce ID |
| stage | STRING | — | Filter by stage (e.g., |
| limit | INT | — |
-- Using curl
curl -u elastic-admin:elastic-password http://localhost:9200/_escript \
-H "Content-Type: application/json" \
-d '{"query": "RUN SKILL sfdc_find_opportunity()"}'
-- Response
{
"result": [...],
"_meta": {
"execution_id": "abc123",
"duration_ms": 45
}
}