Scenario

A growing e-commerce business has decided to migrate its online store from Shopify to Salesforce Commerce Cloud to leverage its advanced features, scalability, and enterprise capabilities. The migration involves transferring a large product catalog, customer data, and potentially order history. Manually performing this migration is time-consuming, error-prone, and can delay the launch on the new platform. The goal is to use an Agentforce agent powered by ACP to automate and streamline this critical transition.

Actors

  • E-commerce Manager / Migration Specialist
  • Agentforce Agent (powered by ACP)

ACP Components Involved

  • Shopify Connector:
    • shopify_get_all_products (or shopify_get_products_paginated): To extract product details, variants, images, pricing, and inventory.
    • shopify_get_all_customers (or shopify_get_customers_paginated): To extract customer profiles.
    • shopify_get_all_orders (or shopify_get_orders_paginated): (Optional) For historical order data.
  • Commerce Cloud Connector:
    • commerce_cloud_create_product_master: To create master products.
    • commerce_cloud_create_product_variant: To create product variants.
    • commerce_cloud_upload_product_image: To associate images with products.
    • commerce_cloud_set_product_price: To set pricing.
    • commerce_cloud_update_inventory: To set inventory levels.
    • commerce_cloud_create_customer_profile: To create customer accounts.
    • commerce_cloud_import_order: (Optional) To import historical orders.
    • commerce_cloud_get_catalog_structure: To understand target categories for mapping.
  • (Optional) Data Transformation / Mapping Tool (could be part of Agent capabilities or a dedicated ACP tool):
    • map_fields: For mapping Shopify fields to Commerce Cloud attributes.
    • transform_data_value: For simple data transformations (e.g., date formats, value lookups).

(Tool names are illustrative and will depend on the final ACP connector implementation.)

Workflow

  1. Pre-Migration Setup & Configuration:
    • The E-commerce Manager provides the Agentforce agent with API credentials for both Shopify and Commerce Cloud.
    • Mapping rules are defined (e.g., how Shopify product types/tags map to Commerce Cloud categories, how custom fields are handled). This might involve the agent using commerce_cloud_get_catalog_structure to assist the manager.
  2. Product Catalog Extraction (Shopify):
    • The agent uses shopify_get_all_products to retrieve the complete product catalog, including all details, variants, images, pricing, and current inventory levels.
  3. Data Transformation & Mapping (Agent/Tool):
    • The agent processes the extracted Shopify product data according to the defined mapping rules. This might involve restructuring data, mapping field names, and transforming values to be compatible with Commerce Cloud.
  4. Product Catalog Import (Commerce Cloud):
    • For each product, the agent uses:
      • commerce_cloud_create_product_master to create the base product.
      • commerce_cloud_create_product_variant for each variant.
      • commerce_cloud_upload_product_image for all associated images.
      • commerce_cloud_set_product_price for pricing information.
      • commerce_cloud_update_inventory for stock levels.
  5. Customer Data Migration (Optional but Recommended):
    • The agent uses shopify_get_all_customers to extract customer data.
    • After transformation/mapping, commerce_cloud_create_customer_profile is used to create customer accounts in Commerce Cloud. (Considerations for password migration usually involve customers resetting passwords on the new platform for security).
  6. Order History Migration (Optional, often simplified):
    • If required, the agent uses shopify_get_all_orders to extract historical order data.
    • commerce_cloud_import_order is used to load this data, potentially in a simplified format for reference rather than full transactional capability.
  7. Validation and Reporting:
    • Throughout the process, the agent logs successes, failures, and any data that couldn’t be automatically mapped or migrated.
    • A final report is provided to the E-commerce Manager, summarizing the number of products, customers, and orders migrated, along with a list of any items requiring manual review or intervention.

Key Outcomes & Benefits

  • Accelerated Migration Timeline: Significantly reduces the manual effort and time required to move from Shopify to Commerce Cloud.
  • Improved Data Accuracy: Minimizes human error associated with manual data entry and complex VLOOKUPs/spreadsheets.
  • Reduced Risk: Lowers the risk of critical data being missed or incorrectly transferred.
  • Focus on Strategic Launch Activities: Frees up the e-commerce team to focus on merchandising, marketing, and testing on the new Commerce Cloud platform, rather than tedious data migration.
  • Supports Strategic Platform Shift: Directly enables the business goal of transitioning to a more robust and scalable e-commerce platform.
  • Potential for Incremental Migration: ACP could facilitate phased migrations if needed (e.g., migrate a subset of products first).

This use case demonstrates ACP’s power in handling complex, large-scale data movement and transformation between major e-commerce platforms, a critical enabler for businesses looking to upgrade their digital storefronts.