Salesforce Automation · Capability

Salesforce Connect REST API (Chatter) — Groups

Salesforce Connect REST API (Chatter) — Groups. 1 operations. Lead operation: List Chatter groups. Self-contained Naftiko capability covering one Salesforce Automation business surface.

Run with Naftiko Salesforce AutomationGroups

What You Can Do

GET
Getgroups — List Chatter groups
/v1/chatter/groups

MCP Tools

list-chatter-groups

List Chatter groups

read-only idempotent

Capability Spec

salesforce-connect-rest-groups.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce Connect REST API (Chatter) — Groups
  description: 'Salesforce Connect REST API (Chatter) — Groups. 1 operations. Lead operation: List Chatter groups. Self-contained
    Naftiko capability covering one Salesforce Automation business surface.'
  tags:
  - Salesforce Automation
  - Groups
  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-connect-rest-groups
    baseUri: https://{instance}.salesforce.com/services/data/v63.0/connect
    description: Salesforce Connect REST API (Chatter) — Groups business capability. Self-contained, no shared references.
    resources:
    - name: chatter-groups
      path: /chatter/groups
      operations:
      - name: getgroups
        method: GET
        description: List Chatter groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: q
          in: query
          type: string
          description: Search term to filter groups
        - name: page
          in: query
          type: string
        - name: pageSize
          in: query
          type: integer
    authentication:
      type: bearer
      token: '{{env.SALESFORCE_AUTOMATION_API_KEY}}'
  exposes:
  - type: rest
    namespace: salesforce-connect-rest-groups-rest
    port: 8080
    description: REST adapter for Salesforce Connect REST API (Chatter) — Groups. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/chatter/groups
      name: chatter-groups
      description: REST surface for chatter-groups.
      operations:
      - method: GET
        name: getgroups
        description: List Chatter groups
        call: salesforce-connect-rest-groups.getgroups
        with:
          q: rest.q
          page: rest.page
          pageSize: rest.pageSize
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: salesforce-connect-rest-groups-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce Connect REST API (Chatter) — Groups. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-chatter-groups
      description: List Chatter groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesforce-connect-rest-groups.getgroups
      with:
        q: tools.q
        page: tools.page
        pageSize: tools.pageSize
      outputParameters:
      - type: object
        mapping: $.