☁️

Find Opportunity

@elastic/sfdc_find_opportunity

Find Salesforce opportunities by name, account, stage, or ID

Usage

RUN SKILL sfdc_find_opportunity()

With parameters:

RUN SKILL sfdc_find_opportunity WITH query = 'value', stage = 'value', limit = 0

Parameters

NameTypeDefaultDescription
querySTRINGSearch query - opportunity name, account name, or Salesforce ID
stageSTRINGFilter by stage (e.g.,
limitINT

Returns

matching

Example

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