B2C Querying Data

🌐Community
by salesforcecommercecloud · vlatest · Repository

Retrieves customer data and order history from Salesforce Commerce Cloud to inform personalized B2C marketing efforts.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add b2c-querying-data npx -- -y @trustedskills/b2c-querying-data
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "b2c-querying-data": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/b2c-querying-data"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill enables AI agents to retrieve and analyze customer data within the Salesforce Commerce Cloud ecosystem. It allows for dynamic querying of product catalogs, order histories, and customer profiles to support personalized commerce interactions.

When to use it

  • Retrieving real-time inventory levels or product specifications for a specific SKU during a chat session.
  • Fetching a customer's past purchase history to recommend complementary items based on previous behavior.
  • Looking up account details such as shipping addresses or loyalty points before processing a checkout request.
  • Querying order status and tracking information when a user asks about a recent delivery.

Key capabilities

  • Connects directly to Salesforce Commerce Cloud data sources.
  • Supports complex filtering and sorting of B2C commerce entities.
  • Returns structured data ready for natural language generation or API integration.
  • Handles secure authentication for accessing sensitive customer records.

Example prompts

  • "Can you show me the current stock levels for the Nike Air Max 90 in size 10?"
  • "What are the top three products this customer has purchased in the last six months?"
  • "Retrieve the shipping address associated with order number #98765."

Tips & gotchas

Ensure your AI agent is properly authenticated with the necessary Salesforce Commerce Cloud credentials before attempting to query sensitive data. Be mindful of rate limits imposed by the underlying platform when executing frequent or bulk queries.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
salesforcecommercecloud
Installs
31

🌐 Community

Passed automated security scans.