b2c-job

Automate B2C job execution, monitoring, and IMPEX via the b2c CLI.

51|16|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-job
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: b2c-job
Source: https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/tree/main/skills/b2c-cli/skills/b2c-job
Command: npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-job

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill simplifies the management of B2C Commerce jobs by enabling one-click execution and continuous monitoring through the b2c CLI.

Core Features & Use Cases

  • Run existing jobs via the b2c job run command to trigger batch processes and data tasks on SFCC instances.
  • Import and export site archives (IMPEX) to move data between environments.
  • Check job status, fetch logs, and wait for completion to ensure transparency and reliability.
  • Support for viewing job history and results across multiple sites and jobs.

Quick Start

Use the b2c CLI to manage jobs:

  • Run a job and return immediately: b2c job run my-custom-job
  • Run a job and wait for completion: b2c job run my-custom-job --wait
  • Import a local directory as a site archive: b2c job import ./my-site-data
  • Export site data: b2c job export
  • Check job status or search for executions: b2c job search

Frequently Asked Questions about b2c-job

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a Salesforce B2C Commerce job and wait for it to finish?

To run a B2C Commerce job and wait for completion, execute the b2c CLI command with the --wait flag. This triggers the job on your SFCC instance and monitors status until it finishes, returning the final result.

Can I import and export site archives using the b2c CLI?

Yes, you can import and export IMPEX site archives using the b2c CLI. Use the import command with a local directory path to load data, and the export command to extract site data between Salesforce B2C Commerce environments.

What is needed to monitor B2C job status and view execution logs?

Monitoring B2C job status and viewing logs requires the b2c CLI installed and configured to connect to your Salesforce B2C Commerce instance. You can then use the job search command to check execution history and fetch logs.

Does the b2c CLI support viewing job history across multiple SFCC sites?

Yes, the b2c CLI supports viewing job history and results across multiple sites and jobs. You can search past executions to track the status of batch processes on your Salesforce B2C Commerce instances.

What is the best way to trigger batch processes on a Salesforce B2C Commerce instance?

The best way to trigger batch processes is using the b2c job run command via the b2c CLI. It automates execution and allows immediate return or continuous monitoring with the --wait flag for reliable data tasks.