Salesforce Einstein · Capability

Salesforce Einstein AI Analytics

Workflow capability combining Einstein Vision and Language APIs for AI-driven analytics workflows. Covers image classification, object detection, sentiment analysis, and intent detection for customer data analytics teams and Salesforce developers building intelligent applications.

Run with Naftiko Artificial IntelligenceComputer VisionImage RecognitionMachine LearningNatural Language ProcessingSalesforce EinsteinSentiment Analysis

What You Can Do

GET
List vision datasets — List all vision datasets.
/v1/vision/datasets
POST
Classify image — Classify an image using a trained model.
/v1/vision/predictions
POST
Analyze sentiment — Analyze text sentiment.
/v1/language/sentiment
POST
Detect intent — Detect intent in text.
/v1/language/intent

MCP Tools

vision-list-datasets

List Einstein Vision image datasets for the account.

read-only idempotent
vision-classify-image

Classify an image using a trained Einstein Vision model.

read-only idempotent
vision-train-model

Train a new Einstein Vision model on an image dataset.

language-analyze-sentiment

Analyze the sentiment (positive/negative/neutral) of a text document.

read-only idempotent
language-detect-intent

Detect the intent expressed in a text document for customer service routing.

read-only idempotent

APIs Used

einstein-vision einstein-language

Capability Spec

ai-analytics.yaml Raw ↑
naftiko: "1.0.0-alpha1"

info:
  label: "Salesforce Einstein AI Analytics"
  description: >-
    Workflow capability combining Einstein Vision and Language APIs for
    AI-driven analytics workflows. Covers image classification, object detection,
    sentiment analysis, and intent detection for customer data analytics teams
    and Salesforce developers building intelligent applications.
  tags:
    - Artificial Intelligence
    - Computer Vision
    - Image Recognition
    - Machine Learning
    - Natural Language Processing
    - Salesforce Einstein
    - Sentiment Analysis
  created: "2026-05-02"
  modified: "2026-05-02"

binds:
  - namespace: env
    keys:
      EINSTEIN_VISION_TOKEN: EINSTEIN_VISION_TOKEN
      EINSTEIN_LANGUAGE_TOKEN: EINSTEIN_LANGUAGE_TOKEN

capability:
  consumes:
    - import: einstein-vision
      location: ./shared/einstein-vision.yaml
    - import: einstein-language
      location: ./shared/einstein-language.yaml

  exposes:
    - type: rest
      port: 8080
      namespace: einstein-ai-analytics-api
      description: "Unified REST API for Salesforce Einstein AI analytics."
      resources:
        - path: /v1/vision/datasets
          name: vision-datasets
          description: "Vision training datasets."
          operations:
            - method: GET
              name: list-vision-datasets
              description: "List all vision datasets."
              call: "einstein-vision.list-datasets"
              outputParameters:
                - type: object
                  mapping: "$."
        - path: /v1/vision/predictions
          name: vision-predictions
          description: "Image classification predictions."
          operations:
            - method: POST
              name: classify-image
              description: "Classify an image using a trained model."
              call: "einstein-vision.predict-image"
              outputParameters:
                - type: object
                  mapping: "$."
        - path: /v1/language/sentiment
          name: sentiment
          description: "Sentiment analysis."
          operations:
            - method: POST
              name: analyze-sentiment
              description: "Analyze text sentiment."
              call: "einstein-language.analyze-sentiment"
              outputParameters:
                - type: object
                  mapping: "$."
        - path: /v1/language/intent
          name: intent
          description: "Intent detection."
          operations:
            - method: POST
              name: detect-intent
              description: "Detect intent in text."
              call: "einstein-language.detect-intent"
              outputParameters:
                - type: object
                  mapping: "$."

    - type: mcp
      port: 9080
      namespace: einstein-ai-analytics-mcp
      transport: http
      description: "MCP server for AI-assisted Salesforce Einstein analytics."
      tools:
        - name: vision-list-datasets
          description: "List Einstein Vision image datasets for the account."
          hints:
            readOnly: true
            idempotent: true
          call: "einstein-vision.list-datasets"
          outputParameters:
            - type: object
              mapping: "$."
        - name: vision-classify-image
          description: "Classify an image using a trained Einstein Vision model."
          hints:
            readOnly: true
            idempotent: true
          call: "einstein-vision.predict-image"
          outputParameters:
            - type: object
              mapping: "$."
        - name: vision-train-model
          description: "Train a new Einstein Vision model on an image dataset."
          hints:
            readOnly: false
            destructive: false
          call: "einstein-vision.train-model"
          outputParameters:
            - type: object
              mapping: "$."
        - name: language-analyze-sentiment
          description: "Analyze the sentiment (positive/negative/neutral) of a text document."
          hints:
            readOnly: true
            idempotent: true
          call: "einstein-language.analyze-sentiment"
          outputParameters:
            - type: object
              mapping: "$."
        - name: language-detect-intent
          description: "Detect the intent expressed in a text document for customer service routing."
          hints:
            readOnly: true
            idempotent: true
          call: "einstein-language.detect-intent"
          outputParameters:
            - type: object
              mapping: "$."