B2C Logging

🌐Community
by salesforcecommercecloud · vlatest · Repository

B2C Logging tracks customer interactions across your Salesforce Commerce Cloud instance for deeper insights and improved personalization strategies.

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-logging npx -- -y @trustedskills/b2c-logging
2

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

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

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

About This Skill

What it does

The b2c-logging skill enables AI agents to capture and analyze detailed operational data from Salesforce Commerce Cloud B2C environments. It provides visibility into system events, errors, and performance metrics essential for troubleshooting and optimization.

When to use it

  • Diagnosing checkout failures or cart abandonment issues in real-time.
  • Monitoring API latency and response times during high-traffic sales events.
  • Auditing user interactions to identify patterns in failed transactions.
  • Generating compliance reports on data access and system modifications.

Key capabilities

  • Aggregates logs from various B2C Cloud components into a unified view.
  • Filters specific log entries by severity, timestamp, or module type.
  • Correlates application events with customer session IDs for traceability.
  • Exports structured log data for integration with external analysis tools.

Example prompts

  • "Summarize all error-level logs from the checkout service in the last 24 hours."
  • "Identify any API timeouts occurring during the peak shopping window between 2 PM and 4 PM."
  • "Show me a timeline of user session ID 'abc-123' including all system interactions and errors."

Tips & gotchas

Ensure your AI agent has appropriate read permissions on the Commerce Cloud instance before querying sensitive operational logs. Be mindful of log volume limits; if data is too extensive, request specific date ranges or filter by error type to maintain performance.

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.