Salesforce · Capability

Salesforce — Creation

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

Run with Naftiko SalesforceCreation

What You Can Do

POST
Expressionsetcreation — Salesforce Expression Set Creation
/v1/data/v64-0/connect/business-rules/expression-set
POST
Promotionscreation — Salesforce Promotions Creation
/v1/data/v64-0/global-promotions-management/promotions

MCP Tools

salesforce-expression-set-creation

Salesforce Expression Set Creation

salesforce-promotions-creation

Salesforce Promotions Creation

Capability Spec

salesforce-creation.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce — Creation
  description: 'Salesforce — Creation. 2 operations. Lead operation: Salesforce Expression Set Creation. Self-contained Naftiko
    capability covering one Salesforce business surface.'
  tags:
  - Salesforce
  - Creation
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESFORCE_API_KEY: SALESFORCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: salesforce-creation
    baseUri: https://login.salesforce.com
    description: Salesforce — Creation 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-global-promotions-management-promotions
      path: /data/v64.0/global-promotions-management/promotions
      operations:
      - name: promotionscreation
        method: POST
        description: Salesforce Promotions Creation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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-creation-rest
    port: 8080
    description: REST adapter for Salesforce — Creation. 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-creation.expressionsetcreation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/data/v64-0/global-promotions-management/promotions
      name: data-v64-0-global-promotions-management-promotions
      description: REST surface for data-v64.0-global-promotions-management-promotions.
      operations:
      - method: POST
        name: promotionscreation
        description: Salesforce Promotions Creation
        call: salesforce-creation.promotionscreation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: salesforce-creation-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce — Creation. 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-creation.expressionsetcreation
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: salesforce-promotions-creation
      description: Salesforce Promotions Creation
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: salesforce-creation.promotionscreation
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.