B2C Job

🌐Community
by salesforcecommercecloud · vlatest · Repository

This skill helps you create personalized job recommendations for B2C customers based on their browsing history and preferences, boosting engagement & conversions.

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

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

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

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

About This Skill

What it does

This skill allows AI agents to manage and interact with jobs within Salesforce B2C Commerce instances. It enables running, importing, and exporting site archives using the b2c CLI plugin. The skill facilitates tasks like executing custom job steps, updating search indexes, and managing data exports for various purposes such as development, deployment, or troubleshooting.

When to use it

  • Running existing jobs: Automate the execution of pre-defined B2C Commerce jobs.
  • Importing site archives: Restore a B2C Commerce instance from a local directory or zip file.
  • Exporting site archives: Back up data from a B2C Commerce instance, including metadata, catalogs, and libraries.
  • Updating search indexes: Refresh product search indexes for specific sites.
  • Troubleshooting job failures: Access job logs to diagnose issues with job execution.

Key capabilities

  • Running jobs with options for immediate return or waiting for completion (--wait).
  • Setting timeouts for job execution (--timeout).
  • Passing parameters to standard jobs using the -P flag.
  • Providing raw JSON request bodies for system jobs via --body.
  • Importing site archives from local files and remote locations.
  • Exporting various data units, including metadata, catalogs, libraries, and inventory lists.

Example prompts

  • "Run the my-custom-job job and wait for it to finish."
  • "Export global metadata from the B2C Commerce instance."
  • "Import the site archive located in ./my-site-data without waiting for completion."
  • "Update the product search index for the RefArch site using a custom JSON body."

Tips & gotchas

  • Ensure the b2c CLI plugin is installed globally or use npx @salesforce/b2c-cli to execute commands.
  • For creating new, custom job steps, utilize the b2c:b2c-custom-job-steps skill instead.
  • The --body and -P flags for passing parameters are mutually exclusive; use one or the other.

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
39

🌐 Community

Passed automated security scans.