From salesforce-commerce
Implements Einstein AI for Salesforce Commerce Cloud: recommendations (product-to-product, user-to-product, trending), predictive sort, search ranking, dictionaries, and Data Cloud personalization. For AI-powered storefront features.
How this skill is triggered — by the user, by Claude, or both
Slash command
/salesforce-commerce:sf-einsteinThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Fetch live docs before implementing Einstein AI features.**
Fetch live docs before implementing Einstein AI features.
Recommender Types:
| Type | Description | Typical Placement |
|---|---|---|
| Product-to-Product | Similar or complementary items (cross-sell) | PDP |
| Recently Viewed | User's browsing history | Homepage, category |
| Also Bought | Products frequently purchased together | Cart, PDP |
| Trending | Popular items across all users | Homepage, category |
| Top Sellers | Best-selling products by category/site | Homepage, category |
| Personalized | ML-driven per-user recommendations | Homepage (returning users) |
Recommender Configuration (Business Manager):
Activity Collection:
Einstein activity tracking uses a collect.js library loaded on storefront pages. It automatically captures product views, add-to-cart, purchases, and search events. Configured via Business Manager > Einstein > Activity Tracking.
Warning: The
_etmcbeacon pattern is for Marketing Cloud Einstein, not Commerce Cloud Einstein. Do not confuse the two.
Recommendation Zones:
Personalized category page sorting powered by ML.
| Aspect | Detail |
|---|---|
| Input | User behavior (clicks, purchases, browse history) |
| Output | Per-user product ranking on category pages |
| Fallback | Default sorting for new / anonymous users |
| Config | Per-category toggle in Business Manager |
Search Dictionaries:
| Dictionary Type | Purpose | Example |
|---|---|---|
| Synonyms | Map equivalent terms | sneakers -> running shoes |
| Hypernyms | Broader category terms | iPhone -> smartphone |
| Compound Words | Multi-word phrases | ice cream, swimming pool |
Search Relevance Tuning:
Typeahead Suggestions:
Integration Architecture:
B2C Commerce -> Data Cloud Connector -> Unified Profile
-> Segmentation + ML Models (Einstein)
-> Personalized Recommendations / Content
-> Commerce Storefront (SFRA / PWA Kit)
Key Concepts:
Data Cloud vs Commerce Cloud Einstein:
| Aspect | Commerce Cloud Einstein | Data Cloud Personalization |
|---|---|---|
| Data source | Commerce activity only | Cross-cloud unified profile |
| Setup | Business Manager config | Data Cloud connector + config |
| Segments | Implicit (ML-driven) | Explicit (rule-based + ML) |
| Best for | Product recommendations | Cross-channel personalization |
Zone Placement Strategy:
| Page | Recommended Zones |
|---|---|
| Homepage | Trending + personalized (returning users) |
| PDP | Similar products + complementary items (cross-sell) |
| Cart | Cross-sell + upsell opportunities |
| Category | Predictive sort + trending in category |
| Search Results | Einstein-ranked results |
// Pattern: SFRA recommendation zone
// Fetch live docs for Einstein Recommendations API
var recs = einsteinAPI.getRecommendations(zone, customer);
// Render recs in ISML template
// Pattern: PWA Kit recommendations hook
// Fetch live docs for commerce-sdk-react useRecommendations
const {data} = useRecommendations({recommenderName, products});
// Pattern: Fallback when Einstein unavailable
// Fetch live docs for CacheMgr and fallback strategies
// try Einstein -> catch -> return getTopSellers(zone)
Fetch the Einstein Recommendations API reference and Data Cloud connector docs for exact configuration parameters and SDK versions before implementing.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin salesforce-commerceGuides e-commerce search merchandising: product search relevance tuning with Elasticsearch/Algolia, faceted navigation, collaborative/content-based recommendations, A/B testing, personalization, SEO.
Designs and debugs personalisation and recommendation systems for two-sided trust marketplaces using AWS Personalize. Covers event tracking, schema design, cold start, bias control, and observability.
Provides best practices, UI/UX patterns, and guidance for ecommerce storefronts: checkout, cart, products, navigation, homepage. Integrates Medusa backend; framework-agnostic (Next.js, React, Vue).