Salesforce Automation · Capability

Salesforce Composite API — Graph

Salesforce Composite API — Graph. 1 operations. Lead operation: Execute composite graph request. Self-contained Naftiko capability covering one Salesforce Automation business surface.

Run with Naftiko Salesforce AutomationGraph

What You Can Do

POST
Executecompositegraph — Execute composite graph request
/v1/composite/graph

MCP Tools

execute-composite-graph-request

Execute composite graph request

Capability Spec

salesforce-composite-graph.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce Composite API — Graph
  description: 'Salesforce Composite API — Graph. 1 operations. Lead operation: Execute composite graph request. Self-contained
    Naftiko capability covering one Salesforce Automation business surface.'
  tags:
  - Salesforce Automation
  - Graph
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESFORCE_AUTOMATION_API_KEY: SALESFORCE_AUTOMATION_API_KEY
capability:
  consumes:
  - type: http
    namespace: salesforce-composite-graph
    baseUri: https://{instance}.salesforce.com/services/data/v63.0
    description: Salesforce Composite API — Graph business capability. Self-contained, no shared references.
    resources:
    - name: composite-graph
      path: /composite/graph
      operations:
      - name: executecompositegraph
        method: POST
        description: Execute composite graph request
        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_AUTOMATION_API_KEY}}'
  exposes:
  - type: rest
    namespace: salesforce-composite-graph-rest
    port: 8080
    description: REST adapter for Salesforce Composite API — Graph. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/composite/graph
      name: composite-graph
      description: REST surface for composite-graph.
      operations:
      - method: POST
        name: executecompositegraph
        description: Execute composite graph request
        call: salesforce-composite-graph.executecompositegraph
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: salesforce-composite-graph-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce Composite API — Graph. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: execute-composite-graph-request
      description: Execute composite graph request
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: salesforce-composite-graph.executecompositegraph
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.