Salesloft · Capability

Salesloft — Emails

Salesloft — Emails. 2 operations. Lead operation: Salesloft List Emails. Self-contained Naftiko capability covering one Salesloft business surface.

Run with Naftiko SalesloftEmails

What You Can Do

GET
Get — Salesloft List Emails
/v1/activities/emails
GET
Get — Salesloft Fetch an Email
/v1/activities/emails/{id}

MCP Tools

salesloft-list-emails

Salesloft List Emails

read-only idempotent
salesloft-fetch-email

Salesloft Fetch an Email

read-only idempotent

Capability Spec

salesloft-emails.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesloft — Emails
  description: 'Salesloft — Emails. 2 operations. Lead operation: Salesloft List Emails. Self-contained Naftiko capability
    covering one Salesloft business surface.'
  tags:
  - Salesloft
  - Emails
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESLOFT_API_KEY: SALESLOFT_API_KEY
capability:
  consumes:
  - type: http
    namespace: salesloft-emails
    baseUri: http://{{salesloft_api_base_url}}
    description: Salesloft — Emails business capability. Self-contained, no shared references.
    resources:
    - name: activities-emails
      path: /activities/emails
      operations:
      - name: get
        method: GET
        description: Salesloft List Emails
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ids
          in: query
          type: string
        - name: updated_at[gt]
          in: query
          type: string
        - name: updated_at[gte]
          in: query
          type: string
        - name: updated_at[lt]
          in: query
          type: string
        - name: updated_at[lte]
          in: query
          type: string
        - name: bounced
          in: query
          type: string
        - name: crm_activity_id
          in: query
          type: string
        - name: action_id
          in: query
          type: string
        - name: user_id
          in: query
          type: string
        - name: status
          in: query
          type: string
        - name: cadence_id
          in: query
          type: string
        - name: step_id
          in: query
          type: string
        - name: one_off
          in: query
          type: string
        - name: scoped_fields
          in: query
          type: string
        - name: person_id
          in: query
          type: string
        - name: email_addresses
          in: query
          type: string
        - name: personalization
          in: query
          type: string
        - name: sent_at[gt]
          in: query
          type: string
        - name: sent_at[gte]
          in: query
          type: string
        - name: sent_at[lt]
          in: query
          type: string
        - name: sent_at[lte]
          in: query
          type: string
        - name: email_template_id
          in: query
          type: string
        - name: account_id
          in: query
          type: string
        - name: has_replies
          in: query
          type: string
        - name: has_clicks
          in: query
          type: string
        - name: has_views
          in: query
          type: string
        - name: sort_by
          in: query
          type: string
        - name: sort_direction
          in: query
          type: string
        - name: per_page
          in: query
          type: string
        - name: page
          in: query
          type: string
        - name: include_paging_counts
          in: query
          type: string
        - name: limit_paging_counts
          in: query
          type: string
    - name: activities-emails-id
      path: /activities/emails/{id}
      operations:
      - name: get
        method: GET
        description: Salesloft Fetch an Email
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: scoped_fields
          in: query
          type: string
        - name: id
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.SALESLOFT_API_KEY}}'
  exposes:
  - type: rest
    namespace: salesloft-emails-rest
    port: 8080
    description: REST adapter for Salesloft — Emails. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/activities/emails
      name: activities-emails
      description: REST surface for activities-emails.
      operations:
      - method: GET
        name: get
        description: Salesloft List Emails
        call: salesloft-emails.get
        with:
          ids: rest.ids
          updated_at[gt]: rest.updated_at[gt]
          updated_at[gte]: rest.updated_at[gte]
          updated_at[lt]: rest.updated_at[lt]
          updated_at[lte]: rest.updated_at[lte]
          bounced: rest.bounced
          crm_activity_id: rest.crm_activity_id
          action_id: rest.action_id
          user_id: rest.user_id
          status: rest.status
          cadence_id: rest.cadence_id
          step_id: rest.step_id
          one_off: rest.one_off
          scoped_fields: rest.scoped_fields
          person_id: rest.person_id
          email_addresses: rest.email_addresses
          personalization: rest.personalization
          sent_at[gt]: rest.sent_at[gt]
          sent_at[gte]: rest.sent_at[gte]
          sent_at[lt]: rest.sent_at[lt]
          sent_at[lte]: rest.sent_at[lte]
          email_template_id: rest.email_template_id
          account_id: rest.account_id
          has_replies: rest.has_replies
          has_clicks: rest.has_clicks
          has_views: rest.has_views
          sort_by: rest.sort_by
          sort_direction: rest.sort_direction
          per_page: rest.per_page
          page: rest.page
          include_paging_counts: rest.include_paging_counts
          limit_paging_counts: rest.limit_paging_counts
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/activities/emails/{id}
      name: activities-emails-id
      description: REST surface for activities-emails-id.
      operations:
      - method: GET
        name: get
        description: Salesloft Fetch an Email
        call: salesloft-emails.get
        with:
          scoped_fields: rest.scoped_fields
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: salesloft-emails-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesloft — Emails. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: salesloft-list-emails
      description: Salesloft List Emails
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesloft-emails.get
      with:
        ids: tools.ids
        updated_at[gt]: tools.updated_at[gt]
        updated_at[gte]: tools.updated_at[gte]
        updated_at[lt]: tools.updated_at[lt]
        updated_at[lte]: tools.updated_at[lte]
        bounced: tools.bounced
        crm_activity_id: tools.crm_activity_id
        action_id: tools.action_id
        user_id: tools.user_id
        status: tools.status
        cadence_id: tools.cadence_id
        step_id: tools.step_id
        one_off: tools.one_off
        scoped_fields: tools.scoped_fields
        person_id: tools.person_id
        email_addresses: tools.email_addresses
        personalization: tools.personalization
        sent_at[gt]: tools.sent_at[gt]
        sent_at[gte]: tools.sent_at[gte]
        sent_at[lt]: tools.sent_at[lt]
        sent_at[lte]: tools.sent_at[lte]
        email_template_id: tools.email_template_id
        account_id: tools.account_id
        has_replies: tools.has_replies
        has_clicks: tools.has_clicks
        has_views: tools.has_views
        sort_by: tools.sort_by
        sort_direction: tools.sort_direction
        per_page: tools.per_page
        page: tools.page
        include_paging_counts: tools.include_paging_counts
        limit_paging_counts: tools.limit_paging_counts
      outputParameters:
      - type: object
        mapping: $.
    - name: salesloft-fetch-email
      description: Salesloft Fetch an Email
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesloft-emails.get
      with:
        scoped_fields: tools.scoped_fields
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.