Salesforce · Capability

Salesforce — Expression

Salesforce — Expression. 6 operations. Lead operation: Salesforce Expression Set Creation. Self-contained Naftiko capability covering one Salesforce business surface.

Run with Naftiko SalesforceExpression

What You Can Do

POST
Expressionsetcreation — Salesforce Expression Set Creation
/v1/data/v64-0/connect/business-rules/expression-set
GET
Retrieveexpressionsetversiondependencies — Salesforce Retrieve Expression Set Version Dependencies
/v1/data/v64-0/connect/business-rules/expression-set/version/{expressionsetversionid}/dependencies
GET
Expressionsetretrieve — Salesforce Expression Set Retrieve
/v1/data/v64-0/connect/business-rules/expression-set/{expressionsetid}
PATCH
Expressionsetupdate — Salesforce Expression Set Update
/v1/data/v64-0/connect/business-rules/expression-set/{expressionsetid}
DELETE
Expressionsetdelete — Salesforce Expression Set Delete
/v1/data/v64-0/connect/business-rules/expression-set/{expressionsetid}
POST
Expressionsetinvocation — Salesforce Expression Set Invocation
/v1/data/v64-0/connect/business-rules/expressionset/{expressionsetapiname}

MCP Tools

salesforce-expression-set-creation

Salesforce Expression Set Creation

salesforce-retrieve-expression-set-version

Salesforce Retrieve Expression Set Version Dependencies

read-only idempotent
salesforce-expression-set-retrieve

Salesforce Expression Set Retrieve

read-only idempotent
salesforce-expression-set-update

Salesforce Expression Set Update

idempotent
salesforce-expression-set-delete

Salesforce Expression Set Delete

idempotent
salesforce-expression-set-invocation

Salesforce Expression Set Invocation

Capability Spec

salesforce-expression.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce — Expression
  description: 'Salesforce — Expression. 6 operations. Lead operation: Salesforce Expression Set Creation. Self-contained
    Naftiko capability covering one Salesforce business surface.'
  tags:
  - Salesforce
  - Expression
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESFORCE_API_KEY: SALESFORCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: salesforce-expression
    baseUri: https://login.salesforce.com
    description: Salesforce — Expression business capability. Self-contained, no shared references.
    resources:
    - name: data-v64.0-connect-business-rules-expression-set
      path: /data/v64.0/connect/business-rules/expression-set
      operations:
      - name: expressionsetcreation
        method: POST
        description: Salesforce Expression Set Creation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: data-v64.0-connect-business-rules-expression-set-version-expressionSetVersionId-
      path: /data/v64.0/connect/business-rules/expression-set/version/{expressionSetVersionId}/dependencies
      operations:
      - name: retrieveexpressionsetversiondependencies
        method: GET
        description: Salesforce Retrieve Expression Set Version Dependencies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: expressionSetVersionId
          in: path
          type: string
          description: 'Expression Set Version Id: For Example 9QLHo000000LBjEOAW'
          required: true
    - name: data-v64.0-connect-business-rules-expression-set-expressionSetId
      path: /data/v64.0/connect/business-rules/expression-set/{expressionSetId}
      operations:
      - name: expressionsetretrieve
        method: GET
        description: Salesforce Expression Set Retrieve
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: expressionSetId
          in: path
          type: string
          description: 'Expression Set Id: For Example 9QLHo000000LBjEOAW'
          required: true
      - name: expressionsetupdate
        method: PATCH
        description: Salesforce Expression Set Update
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: expressionSetId
          in: path
          type: string
          description: 'Expression Set Id: For Example 9QLHo000000LBjEOAW'
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: expressionsetdelete
        method: DELETE
        description: Salesforce Expression Set Delete
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: expressionSetId
          in: path
          type: string
          description: 'Expression Set Id: For Example 9QLHo000000LBjEOAW'
          required: true
    - name: data-v64.0-connect-business-rules-expressionset-expressionSetAPIName
      path: /data/v64.0/connect/business-rules/expressionset/{expressionSetAPIName}
      operations:
      - name: expressionsetinvocation
        method: POST
        description: Salesforce Expression Set Invocation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: expressionSetAPIName
          in: path
          type: string
          description: The API name of an expression set is unique within your Salesforce instance.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.SALESFORCE_API_KEY}}'
  exposes:
  - type: rest
    namespace: salesforce-expression-rest
    port: 8080
    description: REST adapter for Salesforce — Expression. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/data/v64-0/connect/business-rules/expression-set
      name: data-v64-0-connect-business-rules-expression-set
      description: REST surface for data-v64.0-connect-business-rules-expression-set.
      operations:
      - method: POST
        name: expressionsetcreation
        description: Salesforce Expression Set Creation
        call: salesforce-expression.expressionsetcreation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/data/v64-0/connect/business-rules/expression-set/version/{expressionsetversionid}/dependencies
      name: data-v64-0-connect-business-rules-expression-set-version-expressionsetversionid
      description: REST surface for data-v64.0-connect-business-rules-expression-set-version-expressionSetVersionId-.
      operations:
      - method: GET
        name: retrieveexpressionsetversiondependencies
        description: Salesforce Retrieve Expression Set Version Dependencies
        call: salesforce-expression.retrieveexpressionsetversiondependencies
        with:
          expressionSetVersionId: rest.expressionSetVersionId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/data/v64-0/connect/business-rules/expression-set/{expressionsetid}
      name: data-v64-0-connect-business-rules-expression-set-expressionsetid
      description: REST surface for data-v64.0-connect-business-rules-expression-set-expressionSetId.
      operations:
      - method: GET
        name: expressionsetretrieve
        description: Salesforce Expression Set Retrieve
        call: salesforce-expression.expressionsetretrieve
        with:
          expressionSetId: rest.expressionSetId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: expressionsetupdate
        description: Salesforce Expression Set Update
        call: salesforce-expression.expressionsetupdate
        with:
          expressionSetId: rest.expressionSetId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: expressionsetdelete
        description: Salesforce Expression Set Delete
        call: salesforce-expression.expressionsetdelete
        with:
          expressionSetId: rest.expressionSetId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/data/v64-0/connect/business-rules/expressionset/{expressionsetapiname}
      name: data-v64-0-connect-business-rules-expressionset-expressionsetapiname
      description: REST surface for data-v64.0-connect-business-rules-expressionset-expressionSetAPIName.
      operations:
      - method: POST
        name: expressionsetinvocation
        description: Salesforce Expression Set Invocation
        call: salesforce-expression.expressionsetinvocation
        with:
          expressionSetAPIName: rest.expressionSetAPIName
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: salesforce-expression-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce — Expression. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: salesforce-expression-set-creation
      description: Salesforce Expression Set Creation
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: salesforce-expression.expressionsetcreation
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-retrieve-expression-set-version
      description: Salesforce Retrieve Expression Set Version Dependencies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-expression.retrieveexpressionsetversiondependencies
      with:
        expressionSetVersionId: tools.expressionSetVersionId
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-expression-set-retrieve
      description: Salesforce Expression Set Retrieve
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-expression.expressionsetretrieve
      with:
        expressionSetId: tools.expressionSetId
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-expression-set-update
      description: Salesforce Expression Set Update
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: salesforce-expression.expressionsetupdate
      with:
        expressionSetId: tools.expressionSetId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-expression-set-delete
      description: Salesforce Expression Set Delete
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: salesforce-expression.expressionsetdelete
      with:
        expressionSetId: tools.expressionSetId
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-expression-set-invocation
      description: Salesforce Expression Set Invocation
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: salesforce-expression.expressionsetinvocation
      with:
        expressionSetAPIName: tools.expressionSetAPIName
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.